Deck 3: 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/97
Play
Full screen (f)
Deck 3: Tables and Queries in Relational Databases
1
"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
A
2
What field property insures that all phone numbers have a consistent look?
A) Caption
B) Format
C) Default Value
D) Input Mask
A) Caption
B) Format
C) Default Value
D) Input Mask
D
3
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
A
4
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 97 flashcards in this deck.
Unlock Deck
k this deck
5
What field property would allow the user to enter two quote marks with nothing between them ("") 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 97 flashcards in this deck.
Unlock Deck
k this deck
6
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 97 flashcards in this deck.
Unlock Deck
k this deck
7
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 97 flashcards in this deck.
Unlock Deck
k this deck
8
What data type assigns the next consecutive number to new records?
A) Number
B) AutoNumber
C) IncreaseNumber
D) Integer
A) Number
B) AutoNumber
C) IncreaseNumber
D) Integer
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
9
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 97 flashcards in this deck.
Unlock Deck
k this deck
10
What option automatically deletes records in related tables that match the primary key?
A) Autodelete Related Records
B) Cascade Update Related Fields
C) Cascade Delete Related Records
D) Delete and Update Related Records
A) Autodelete Related Records
B) Cascade Update Related Fields
C) Cascade Delete Related Records
D) Delete and Update Related Records
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
11
What is not true about data types?
A) It is best to choose Short Text for all fields at first, because they can easily be changed later.
B) Every field is assigned a data type.
C) They determine what operations can be performed on the data.
D) They can be changed after the table has been created.
A) It is best to choose Short Text for all fields at first, because they can easily be changed later.
B) Every field is assigned a data type.
C) They determine what operations can be performed on the data.
D) They can be changed after the table has been created.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
12
What is not true about the Caption property?
A) It allows labels to be more readable than field names.
B) It displays at the column head instead of the field name.
C) It is used in both forms and reports.
D) The Pascal case is preferred in this property.
A) It allows labels to be more readable than field names.
B) It displays at the column head instead of the field name.
C) It is used in both forms and reports.
D) The Pascal case is preferred in this property.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
13
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) The hyperlink becomes active anytime you hover over it.
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) The hyperlink becomes active anytime you hover over it.
D) It can store the path to a folder.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
14
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
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
15
Storing a book's title in more than one table within a database is considered data ________.
A) backup
B) redundancy
C) duplication
D) consistency
A) backup
B) redundancy
C) duplication
D) consistency
Unlock Deck
Unlock for access to all 97 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 97 flashcards in this deck.
Unlock Deck
k this deck
17
If you want the results of a query to display only those records that meet all criteria, you would use the ________ operator.
A) OR
B) NOT
C) AND
D) NOR
A) OR
B) NOT
C) AND
D) NOR
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
18
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 97 flashcards in this deck.
Unlock Deck
k this deck
19
What is not one of the six guidelines for designing tables?
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 97 flashcards in this deck.
Unlock Deck
k this deck
20
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 97 flashcards in this deck.
Unlock Deck
k this deck
21
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 97 flashcards in this deck.
Unlock Deck
k this deck
22
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 97 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following comparison operators is not valid?
A) <>
B) >=
C) =>
D) <
A) <>
B) >=
C) =>
D) <
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
24
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 97 flashcards in this deck.
Unlock Deck
k this deck
25
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 97 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 97 flashcards in this deck.
Unlock Deck
k this deck
27
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 97 flashcards in this deck.
Unlock Deck
k this deck
28
The ________ property provides literal characters that are typed for each entry.
A) Validation Rule
B) Default Value
C) Validation text
D) Input Mask
A) Validation Rule
B) Default Value
C) Validation text
D) Input Mask
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
29
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 97 flashcards in this deck.
Unlock Deck
k this deck
30
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 97 flashcards in this deck.
Unlock Deck
k this deck
31
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 97 flashcards in this deck.
Unlock Deck
k this deck
32
When you purchase from a store several times this would be an example of what kind of table relationship?
A) Many-to-one (many customers - one purchase)
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 customers - one purchase)
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 97 flashcards in this deck.
Unlock Deck
k this deck
33
Which of the following cannot be imported 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 97 flashcards in this deck.
Unlock Deck
k this deck
34
Which of the following would make a good primary key?
A) AutoNumber data type
B) Customer name
C) Number data type
D) Birthday
A) AutoNumber data type
B) Customer name
C) Number data type
D) Birthday
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
35
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 97 flashcards in this deck.
Unlock Deck
k this deck
36
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 97 flashcards in this deck.
Unlock Deck
k this deck
37
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 97 flashcards in this deck.
Unlock Deck
k this deck
38
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 97 flashcards in this deck.
Unlock Deck
k this deck
39
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 97 flashcards in this deck.
Unlock Deck
k this deck
40
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 97 flashcards in this deck.
Unlock Deck
k this deck
41
Although you can link to external data, it is not recommended.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
42
Access requires that common fields be named exactly the same.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
43
Data entered in a query is actually stored in the underlying table(s).
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
44
It is best when designing a query to add all the fields from a table in case you need them later.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
45
The Enforce Referential Integrity box should normally be checked.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
46
In a query, the sort order, when sorting on multiple fields, is determined by the field order from left to right.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
47
You can only have one primary key in a table, but you can have several foreign keys.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
48
For security purposes you want to have data redundancy in your tables.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
49
The primary key can only be a single field.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
50
The Cascade Update Related Fields checkbox is irrelevant if the primary key has an AutoNumber field type.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
51
A database designer needs to be concerned about what fields might be needed rather than file size.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
52
It is best to copy a query if you need a similar query, but with different criteria, rather than to start from scratch.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
53
Although you can create calculated fields in a query, most prefer to add them the table instead.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
54
Access provides a wizard for easily importing Excel data into Access.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
55
The first step in creating a query is selecting the fields you need.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
56
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 97 flashcards in this deck.
Unlock Deck
k this deck
57
The AND operator will give you the most results in a query.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
58
There might be times when you want to add the same field to a query several times.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
59
Access does not require that every table has a primary key.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
60
Logical operators only work with text and numbers, not dates.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
61
Use the ________ data type when you do not know how much text space will be required.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
62
The ________ relationship is used when joining two primary keys.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
63
It is safe to change data in a query since you are only changing a temporary copy of the data, not the underlying data in the table.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
64
When creating a multitable query from scratch only include related tables in your query.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
65
The ________ key is what guarantees that a record is unique.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
66
You can save time and help prevent errors when you ________ data from an external source.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
67
Storing duplicate data in more than one table is called data ________.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
68
When you need a query to return entries based on any of a set of criteria, then you would use the ________ condition.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
69
You should store data in their ________ parts.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
70
A field's ________ determine how that field functions.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
71
Text you add to the criteria row in a query is case sensitive, so be careful or you may get unexpected results.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
72
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 97 flashcards in this deck.
Unlock Deck
k this deck
73
Access uses ________ to speed up the sorting or filtering process.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
74
Use the ________ data type if you need to store a True or False value.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
75
To have your table perform mathematical functions automatically you would use a ________ field.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
76
You cannot create a relationship between two tables unless there is at least one ________ key.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
77
Multitable queries inherit their relationships and you cannot change those in the query. You need to open the Relationships window to make any changes.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
78
Having common fields is important when you begin to build ________ between the tables.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
79
Use the ________ data type when you want to store multiple pictures in your records.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck
80
The ________ field type makes a good primary key.
Unlock Deck
Unlock for access to all 97 flashcards in this deck.
Unlock Deck
k this deck