Deck 2: Tables and Queries in Relational Databases
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/99
Play
Full screen (f)
Deck 2: Tables and Queries in Relational Databases
1
What is the suggested data type for a street address?
A) Long Text
B) Number
C) OLE Object
D) Short Text
A) Long Text
B) Number
C) OLE Object
D) Short Text
D
2
What table property always necessitates an entry?
A) Required
B) Number
C) AutoNumber
D) Date/Time
A) Required
B) Number
C) AutoNumber
D) Date/Time
C
3
What field property would you use to insure that all the phone numbers looked consistent?
A) Caption
B) Format
C) Default Value
D) Input Mask
A) Caption
B) Format
C) Default Value
D) Input Mask
D
4
What view offers the most flexibility in setting the properties of a field?
A) Datasheet view
B) Page Layout view
C) SQL view
D) Design View
A) Datasheet view
B) Page Layout view
C) SQL view
D) Design View
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
5
"lastName" is an example of ________.
A) camel case
B) Pascal case
C) a typing error
D) a naming convention that is not recommended because of possible compatibility issues
A) camel case
B) Pascal case
C) a typing error
D) a naming convention that is not recommended because of possible compatibility issues
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
6
Where can you not use calculated fields?
A) In a report
B) In a module
C) In a form
D) In a table
A) In a report
B) In a module
C) In a form
D) In a table
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
7
When does the validation rule check the entered data?
A) As soon as it is typed into the field
B) When the user exits the field
C) When the table or form is saved
D) When the table of form is closed
A) As soon as it is typed into the field
B) When the user exits the field
C) When the table or form is saved
D) When the table of form is closed
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
8
What field property increases the speed at which searches can be performed?
A) Indexed
B) Allow Zero Length
C) Required
D) Result Type
A) Indexed
B) Allow Zero Length
C) Required
D) Result Type
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
9
What objects will not use the caption instead of the field names?
A) Macros
B) Datasheets
C) Forms
D) Reports
A) Macros
B) Datasheets
C) Forms
D) Reports
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
10
How many characters can be stored in a field with a Long Text data type?
A) 1,000
B) 12,256
C) Unlimited
D) 64,000
A) 1,000
B) 12,256
C) Unlimited
D) 64,000
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
11
What field property makes up for the limitation of the field naming rules or common practices?
A) Validation Rule
B) Input Mask
C) Format
D) Caption
A) Validation Rule
B) Input Mask
C) Format
D) Caption
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
12
What is not critical when you are first designing a database?
A) What tables you will need
B) What fields you will need
C) What the field names will be
D) What type of data will be stored in each field
A) What tables you will need
B) What fields you will need
C) What the field names will be
D) What type of data will be stored in each field
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
13
The first step to resizing a column in datasheet view is to move the pointer until it looks like a ________.
A) four-headed arrow and then click
B) two-headed arrow and then click
C) thick black line and then click
D) thick green line and then click
A) four-headed arrow and then click
B) two-headed arrow and then click
C) thick black line and then click
D) thick green line and then click
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
14
What is not true about field names?
A) They can be up to 64 characters in length.
B) They should describe the data they will store.
C) They can contain numbers.
D) They can begin with a space.
A) They can be up to 64 characters in length.
B) They should describe the data they will store.
C) They can contain numbers.
D) They can begin with a space.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
15
What is not one of the six guidelines for creating fields?
A) Store data in as large of number of parts as possible
B) Determine the primary keys
C) Link the tables on related fields
D) Think of what needs you might have in the future
A) Store data in as large of number of parts as possible
B) Determine the primary keys
C) Link the tables on related fields
D) Think of what needs you might have in the future
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
16
What field property would you use to automatically enter "PA" in a state field?
A) Format
B) Caption
C) Default Value
D) Start Value
A) Format
B) Caption
C) Default Value
D) Start Value
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
17
What is not true about the hyperlink data type?
A) It can store the URL for a web page
B) It can store the path to a file
C) It lists the hyperlink, but you must press the Ctrl key while you click the hyperlink for it to work
D) It can store the path to a folder
A) It can store the URL for a web page
B) It can store the path to a file
C) It lists the hyperlink, but you must press the Ctrl key while you click the hyperlink for it to work
D) It can store the path to a folder
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
18
What field property forces data to follow certain rules of data entry?
A) Validation Rule
B) Validation Text
C) Format
D) Required
A) Validation Rule
B) Validation Text
C) Format
D) Required
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
19
What field property would allow the user to enter "" into a field with a Short Text data type?
A) Required
B) Indexed
C) Allow Zero Length
D) Allow Null Length
A) Required
B) Indexed
C) Allow Zero Length
D) Allow Null Length
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
20
How many characters can be stored in a field with a Short Text data type?
A) 100
B) 255
C) 500
D) 256
A) 100
B) 255
C) 500
D) 256
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following is not a way to create a multitable query?
A) Modifying an existing query
B) Using the Query Wizard
C) Adding a table in the Relationships window
D) Creating a query from scratch
A) Modifying an existing query
B) Using the Query Wizard
C) Adding a table in the Relationships window
D) Creating a query from scratch
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
22
What is the most common relationship type?
A) Many-to-many
B) One-to-many
C) One-to-one
D) None-to-none (finds records with no matching primary and foreign keys)
A) Many-to-many
B) One-to-many
C) One-to-one
D) None-to-none (finds records with no matching primary and foreign keys)
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
23
When you import data, where can you not store it?
A) New form
B) New table
C) Existing table
D) Linked table
A) New form
B) New table
C) Existing table
D) Linked table
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
24
The query wizard is best used to create what kind of query?
A) Multitable queries
B) Single table queries
C) Advanced queries
D) Basic queries
A) Multitable queries
B) Single table queries
C) Advanced queries
D) Basic queries
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
25
To limit the number of records displayed when a query is run you add ________.
A) sorting
B) criteria
C) less fields
D) less tables
A) sorting
B) criteria
C) less fields
D) less tables
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
26
Which field property helps a user know why an entry error was generated?
A) Validation Text
B) Validation Rule
C) Expression
D) Error Code
A) Validation Text
B) Validation Rule
C) Expression
D) Error Code
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following comparison operators is not valid?
A) <>
B) >=
C) =>
D) <
A) <>
B) >=
C) =>
D) <
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
28
If you add a table with 10 records to a query and add an unrelated table with 4 records to the same query, how many records will display when you run the query?
A) 40
B) 10
C) 4
D) 0 (since the tables are not related)
A) 40
B) 10
C) 4
D) 0 (since the tables are not related)
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
29
Checking the Cascade Delete Related Records checkbox assures that ________.
A) you cannot delete related records if they have more than one foreign key records
B) you cannot delete a primary key record if it has related records
C) all records will be deleted in related tables if you delete the primary key in the primary table
D) all primary keys will be deleted if you delete related records
A) you cannot delete related records if they have more than one foreign key records
B) you cannot delete a primary key record if it has related records
C) all records will be deleted in related tables if you delete the primary key in the primary table
D) all primary keys will be deleted if you delete related records
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
30
Which logical operator would return the fewest records?
A) AND
B) OR
C) NOT
D) NOR
A) AND
B) OR
C) NOT
D) NOR
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
31
When you run a query, it displays in what view?
A) Design
B) Layout
C) Print Preview
D) Datasheet
A) Design
B) Layout
C) Print Preview
D) Datasheet
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
32
Which wildcard character matches a single character in the same position as the wildcard?
A) ?
B) *
C) []
D) [!]
A) ?
B) *
C) []
D) [!]
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
33
What field property helps to make sure that correct data is entered?
A) Validation text
B) Validation rule
C) Format
D) Required
A) Validation text
B) Validation rule
C) Format
D) Required
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
34
If you wanted to add January 16, 1957 as text criteria, how would you enter it?
A) January 16, 1957
B) #January 16, 1957#
C) =January 16, 1957
D) "January 16, 1957"
A) January 16, 1957
B) #January 16, 1957#
C) =January 16, 1957
D) "January 16, 1957"
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
35
What can you not import from one Access database into another Access database?
A) Tables
B) Sheets
C) Forms
D) Reports
A) Tables
B) Sheets
C) Forms
D) Reports
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
36
When you purchase from a store several times this would be an example of what kind of table relationship?
A) Many-to-one (many purchases - one customer)
B) One-to-one (one customer - one store)
C) Many-to-many (many items purchased - many times)
D) One-to-many (one customer - many purchases)
A) Many-to-one (many purchases - one customer)
B) One-to-one (one customer - one store)
C) Many-to-many (many items purchased - many times)
D) One-to-many (one customer - many purchases)
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
37
Enforcing referential integrity assures that ________.
A) you cannot enter a value in the foreign key if there is no corresponding value in the primary key
B) you cannot enter the same value in the foreign key of the same table
C) you cannot leave that field empty
D) you cannot enter invalid or incorrect information
A) you cannot enter a value in the foreign key if there is no corresponding value in the primary key
B) you cannot enter the same value in the foreign key of the same table
C) you cannot leave that field empty
D) you cannot enter invalid or incorrect information
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following would make a good primary key?
A) AutoNumber data type
B) Customer number
C) Number data type
D) Birthday
A) AutoNumber data type
B) Customer number
C) Number data type
D) Birthday
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
39
Which option would this wildcard, "H[!oe]" not display?
A) House
B) Hat
C) His
D) Humming
A) House
B) Hat
C) His
D) Humming
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
40
If you wanted the user to pick from a particular list, what would you pick from the data type drop down list for that field?
A) List
B) Short Text
C) Lookup Wizard
D) Long Text
A) List
B) Short Text
C) Lookup Wizard
D) Long Text
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
41
Use the ________ data type when you do not know how much text space will be required.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
42
You should store data in their ________ parts.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
43
Access uses ________ to speed up the sorting process.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
44
A field's ________ determine how that field functions.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
45
________ view is normally used when you want to change the structure of an object.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
46
Storing duplicate data in more than one table is called data ________.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
47
In query design, the ________ row allows you to set limits on what records are displayed.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
48
The term that can be used in a query to refer to blank cells is ________.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
49
In table relationships, the foreign key of one table cannot be joined to the ________ key of another table.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
50
The ________ field type makes a good primary key.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
51
Use the ________ data type if you need to store a True or False value.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
52
The ________ relationship is used when joining two primary keys.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
53
In table relationships, the primary key is normally joined to a ________ key.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
54
Having common fields is important when you begin to build ________ between the tables.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
55
The ________ key is what guarantees that a record is unique.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
56
The ________ relationship requires a junction table for it to function properly.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
57
To have your table perform mathematical functions automatically you would use a ________ field.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
58
Use the ________ data type when you want to store multiple pictures in your records.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
59
You cannot create a relationship between two tables unless there is at least one ________ key.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
60
You can save time and help prevent errors when you ________ data from another an external source.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
61
The Enforce Referential Integrity box should normally be checked.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
62
Although you can link to external data, it is not recommended.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
63
One way to fix the problem that exists if you add a table with 10 records to a query and add an unrelated table with 4 records to the same query is to add ________ lines if there are common fields.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
64
A person's age is often a field used in table design.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
65
You can easily ________ your data by using a multitable query.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
66
Access does not require that every table has a primary key.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
67
For security purposes you want to have data redundancy in your tables.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
68
A database designer needs to be concerned about what fields might be needed rather than file size.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
69
The primary key can only be a single field.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
70
You can only have one primary key in a table, but you can have several foreign keys.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
71
________ queries allow you to take full advantage of table relationships.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
72
Access provides a wizard for easily importing Excel data into Access.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
73
A good way to know what fields you will need is to think of what reports you might need later.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
74
The ________ sign should be put around dates so that Access knows they are dates.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
75
Access requires that common fields be named exactly the same.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
76
One advantage of establishing relationships between tables is so you can combine fields from more than one table in a query or report.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
77
One way to fix the problem that exists if you add a table with 10 records to a query and add an unrelated table with 4 records to the same query is to add another ________ that does have common fields with both existing tables.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
78
Although you can create calculated fields in a query, most prefer to add them the table instead.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
79
The Cascade Update Related Fields checkbox is irrelevant if the primary key has an AutoNumber field type.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
80
There might be times when you want to add the same field to a query several times.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck