Deck 2: The Relational Model 1: Introduction, QBE, and Relational Algebra

ملء الشاشة (f)
exit full mode
سؤال
Rows are also called ____.

A)fields
B)tuples
C)columns
D)attributes
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The attributes of an entity become the rows or records in a table.
سؤال
When duplicate column names exist in a database and you need to indicate the column to which you are referring,____.

A)do not use these two tables together
B)do not use the column names in the same statement
C)write the table name only
D)write both the table name and the column name,separated by a period
سؤال
A relation is essentially just a two-dimensional table.
سؤال
A relational database is a collection of relations.
سؤال
The comparison operators are also known as relational operators.
سؤال
In a relation,the order of rows is important.
سؤال
Based on the statement below,which of the following is the primary key? Part (PartNum,Description,OnHand,Class,Warehouse,Price)

A)PartNum
B)Description
C)Class
D)Warehouse
سؤال
A relation is a(n) ____.

A)attribute
B)column
C)field
D)table
سؤال
Access automatically adds double quotation marks around values in the design grid that are formatted as Text fields when you run the query or move the insertion point to another cell in the design grid.
سؤال
In a relation,the order of the columns is immaterial.
سؤال
When a field name contains spaces or SQL reserved words,you must enclose the field name in curly braces ({}).
سؤال
QBE is a visual approach to writing queries.
سؤال
In an OR criterion,the overall criterion is true if either of the individual criteria is true.
سؤال
The ____ key of a table is the column or collection of columns that uniquely identifies a given row in that table.

A)primary
B)secondary
C)foreign
D)minor
سؤال
The concept of grouping means that statistics will be calculated for individual records.
سؤال
A relational database handles entities,attributes,and relationships by storing each entity in its own table.
سؤال
The secondary key provides an important way of distinguishing one row in a table from another.
سؤال
The comparison operators are +,*,%,and /.
سؤال
An unnormalized relation is a table that has more than one row.
سؤال
The compound criteria (conditions) are created by using ____.

A)AND or NOR
B)AND or OR
C)OR or NOT
D)NOT or ONLY
سؤال
If you are sorting records by more than one field,the more important field is called the ____.

A)maximum sort key
B)secondary sort key
C)primary sort key
D)minor sort key
سؤال
The ____ operator is performed by the SUBTRACT command in relational algebra.

A)union
B)intersection
C)product
D)difference
سؤال
Based on the Customer table below,which command lists all information from the table concerning customer 524? CustomerNum CustomerName Street City State Zip
462 Bargains Galore 3829 Central Grove FL 33321
524 Kline's 838 Ridgeland Filmore FL 33336

A)SELECT Customer WHERE CustomerNum=524 GIVING Answer
B)SELECT Customer 524 GIVING Answer
C)SELECT Customer WHERE CustomerNum='524' GIVING Answer
D)SELECT Customer WHERE CustomerName='524' GIVING Answer
سؤال
Which operation will allow you to extract data from more than one table?

A)Select
B)Join
C)Project
D)Merge
سؤال
The relationships between tables are handled through ____________________ columns.
سؤال
You can restrict the output from a join to include only certain columns by using the ____ command.

A)DELETE
B)UNION
C)PROJECT
D)INTERSECT
سؤال
With ____________________,users ask their questions by entering column names and other criteria using an on-screen grid,and data that appears on the screen in tabular form.
سؤال
If each sales rep is related to the many customers he or she represents,and each customer is related to the one sales rep who represents it,then there is a(n) ____________________ relationship between sales reps and customers.
سؤال
The ____ operator is used to concatenate every row in the first table with every row in the second table.

A)union
B)difference
C)product
D)intersection
سؤال
The ____ command within relational algebra includes the word OVER followed by a list of the columns to be included.

A)DELETE
B)PROJECT
C)INTERSECT
D)UNION
سؤال
When a structure satisfies all the properties of a relation except for the first item-in other words,some entries contain repeating groups and thus are not single-valued-it is referred to as a(n) ____________________.
سؤال
A ____ query creates a new table using the query results.

A)make-table
B)new-table
C)create-table
D)merge-table
سؤال
Two tables are considered to be ____ compatible if they have the same number of columns and their corresponding columns represent the same type of data.

A)union
B)intersection
C)difference
D)product
سؤال
A query that changes data is a(n) ____ query.

A)addition
B)update
C)update
D)select
سؤال
Using the product operator,if table A has 4 rows and table B has 4 rows,the number of rows in the product of these two tables is ____.

A)4
B)8
C)16
D)256
سؤال
The ____ command within relational algebra takes a vertical subset of a table.

A)SELECT
B)DELETE
C)PROGRAM
D)PROJECT
سؤال
Columns in a table are often called attributes or ____________________.
سؤال
Count,Sum,Avg,Max,and Min are a few of the built-in statistics or ____ functions that can be used in a query.

A)accumulated
B)aggregate
C)primary
D)allowed
سؤال
The product of two tables is also called the ____ product.

A)Cartesian
B)aggregate
C)Cathode
D)exponential
سؤال
____________________ is a theoretical way of manipulating a relational database.
سؤال
What is the difference between an AND criterion and an OR criterion? How is each criterion created in QBE?
سؤال
In Access,you can add all fields from a table to the design grid by double-clicking the ____________________ in the table's field list.
سؤال
Explain what relational algebra is and how it is used.
سؤال
To find the total of all customers' balances,use the ____________________ function.
سؤال
List at least six of the aggregate functions available in Access. Explain how to use any of these functions in a query.
سؤال
Discuss the difference between the major sort key and the minor sort key.
سؤال
To list the records in a query's results in a particular order,you need to ____________________ the records.
سؤال
Provide a definition for the term relation.
سؤال
In relational algebra,the ____________________ of two tables is table containing all rows that are common in both table A and table B.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: The Relational Model 1: Introduction, QBE, and Relational Algebra
1
Rows are also called ____.

A)fields
B)tuples
C)columns
D)attributes
B
2
The attributes of an entity become the rows or records in a table.
False
3
When duplicate column names exist in a database and you need to indicate the column to which you are referring,____.

A)do not use these two tables together
B)do not use the column names in the same statement
C)write the table name only
D)write both the table name and the column name,separated by a period
D
4
A relation is essentially just a two-dimensional table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
A relational database is a collection of relations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The comparison operators are also known as relational operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
In a relation,the order of rows is important.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Based on the statement below,which of the following is the primary key? Part (PartNum,Description,OnHand,Class,Warehouse,Price)

A)PartNum
B)Description
C)Class
D)Warehouse
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A relation is a(n) ____.

A)attribute
B)column
C)field
D)table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Access automatically adds double quotation marks around values in the design grid that are formatted as Text fields when you run the query or move the insertion point to another cell in the design grid.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
In a relation,the order of the columns is immaterial.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
When a field name contains spaces or SQL reserved words,you must enclose the field name in curly braces ({}).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
QBE is a visual approach to writing queries.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
In an OR criterion,the overall criterion is true if either of the individual criteria is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____ key of a table is the column or collection of columns that uniquely identifies a given row in that table.

A)primary
B)secondary
C)foreign
D)minor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The concept of grouping means that statistics will be calculated for individual records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
A relational database handles entities,attributes,and relationships by storing each entity in its own table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
The secondary key provides an important way of distinguishing one row in a table from another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The comparison operators are +,*,%,and /.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
An unnormalized relation is a table that has more than one row.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
The compound criteria (conditions) are created by using ____.

A)AND or NOR
B)AND or OR
C)OR or NOT
D)NOT or ONLY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
If you are sorting records by more than one field,the more important field is called the ____.

A)maximum sort key
B)secondary sort key
C)primary sort key
D)minor sort key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ____ operator is performed by the SUBTRACT command in relational algebra.

A)union
B)intersection
C)product
D)difference
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Based on the Customer table below,which command lists all information from the table concerning customer 524? CustomerNum CustomerName Street City State Zip
462 Bargains Galore 3829 Central Grove FL 33321
524 Kline's 838 Ridgeland Filmore FL 33336

A)SELECT Customer WHERE CustomerNum=524 GIVING Answer
B)SELECT Customer 524 GIVING Answer
C)SELECT Customer WHERE CustomerNum='524' GIVING Answer
D)SELECT Customer WHERE CustomerName='524' GIVING Answer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which operation will allow you to extract data from more than one table?

A)Select
B)Join
C)Project
D)Merge
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
The relationships between tables are handled through ____________________ columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
You can restrict the output from a join to include only certain columns by using the ____ command.

A)DELETE
B)UNION
C)PROJECT
D)INTERSECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
With ____________________,users ask their questions by entering column names and other criteria using an on-screen grid,and data that appears on the screen in tabular form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
If each sales rep is related to the many customers he or she represents,and each customer is related to the one sales rep who represents it,then there is a(n) ____________________ relationship between sales reps and customers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
The ____ operator is used to concatenate every row in the first table with every row in the second table.

A)union
B)difference
C)product
D)intersection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
The ____ command within relational algebra includes the word OVER followed by a list of the columns to be included.

A)DELETE
B)PROJECT
C)INTERSECT
D)UNION
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
When a structure satisfies all the properties of a relation except for the first item-in other words,some entries contain repeating groups and thus are not single-valued-it is referred to as a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
A ____ query creates a new table using the query results.

A)make-table
B)new-table
C)create-table
D)merge-table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Two tables are considered to be ____ compatible if they have the same number of columns and their corresponding columns represent the same type of data.

A)union
B)intersection
C)difference
D)product
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A query that changes data is a(n) ____ query.

A)addition
B)update
C)update
D)select
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Using the product operator,if table A has 4 rows and table B has 4 rows,the number of rows in the product of these two tables is ____.

A)4
B)8
C)16
D)256
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ____ command within relational algebra takes a vertical subset of a table.

A)SELECT
B)DELETE
C)PROGRAM
D)PROJECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
Columns in a table are often called attributes or ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
Count,Sum,Avg,Max,and Min are a few of the built-in statistics or ____ functions that can be used in a query.

A)accumulated
B)aggregate
C)primary
D)allowed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The product of two tables is also called the ____ product.

A)Cartesian
B)aggregate
C)Cathode
D)exponential
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
____________________ is a theoretical way of manipulating a relational database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
What is the difference between an AND criterion and an OR criterion? How is each criterion created in QBE?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
In Access,you can add all fields from a table to the design grid by double-clicking the ____________________ in the table's field list.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Explain what relational algebra is and how it is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
To find the total of all customers' balances,use the ____________________ function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
List at least six of the aggregate functions available in Access. Explain how to use any of these functions in a query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Discuss the difference between the major sort key and the minor sort key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
To list the records in a query's results in a particular order,you need to ____________________ the records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
Provide a definition for the term relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
In relational algebra,the ____________________ of two tables is table containing all rows that are common in both table A and table B.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.