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

ملء الشاشة (f)
exit full mode
سؤال
A relational database handles entities, attributes, and relationships by storing each entity in its own row.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In an AND criterion, the overall criterion is true if either of the individual criteria is true.
سؤال
The concept of grouping means that statistics will be calculated for individual records.
سؤال
In the Access Query window, the upper portion of the window contains the design grid.
سؤال
A relational database is a collection of tables.
سؤال
The primary key of a table is the row or rows that uniquely identify a given column in that table.
سؤال
In relational database shorthand, the structure of a relational database is written with the name of the table followed by the columns in the table listed within parentheses.
سؤال
The field on which records are sorted is called the composite primary key.
سؤال
A column whose value uniquely identifies a given row in the table is the secondary key.
سؤال
The relational operators are +, *, %, and /.
سؤال
To select data from more than one table at the same time, you need to perform a make-table query.
سؤال
Which term is another word for a row in a table?

A) tuple
B) field
C) group
D) relation
سؤال
What uniquely identifies a row in a table?

A) attribute
B) column
C) primary key
D) field
سؤال
The attributes of an entity become the fields or columns in a table.
سؤال
Which of the following is NOT true about a relation in a two-dimensional table?

A) The entries in the table are single-valued.
B) All values in a column are values of the same attribute.
C) Two or more columns can share the same name.
D) The order of rows is immaterial.
سؤال
How do you refer to a column named State in a table named Client?

A) State.Client
B) State(Client)
C) Client.State
D) Client(State)
سؤال
In Access, a parameter query allows you to enter criterion when you run the query.
سؤال
In a relation, the order of rows is important.
سؤال
Which of the following is the column or collection of columns that uniquely identifies a given row in that table?

A) primary key
B) secondary key
C) foreign key
D) minor key
سؤال
A query is a question represented in a way that the DBMS can recognize and process.
سؤال
Which command creates a table containing all rows that are in either or both of two tables?

A) UNION
B) SUBTRACT
C) JOIN
D) INTERSECT
سؤال
Which operation is performed by the SUBTRACT command in relational algebra?

A) union
B) difference
C) product
D) intersection
سؤال
The relationships between tables are implemented through common ____________________.
سؤال
Which command contains all rows that are common in two tables?

A) UNION
B) SUBTRACT
C) JOIN
D) INTERSECT
سؤال
The compound criteria (conditions) are created by using which of the following two keywords?

A) AND, OR
B) AND, NOR
C) OR, NOT
D) NOT, ONLY
سؤال
A(n) ____________________ database is a collection of tables.
سؤال
Based on the table below, which command creates a new table named CustState containing the fields CustomerNum and State??Customer (CustomerNum, CustomerName, Street, City, State, PostalCode)

A) JOIN Customer WITH (CustomerNum, State) GIVING CustState
B) PROJECT Customer OVER (CustomerNum, State) GIVING CustState
C) SELECT Customer OVER (CustomerNum, State) GIVING CustState
D) MAKE-TABLE CustState FROM Customer WITH (CustomerNum, State)
سؤال
Which operation will allow you to extract data from more than one table?

A) Select
B) Merge
C) Project
D) Join
سؤال
Based on the tables below, which command creates a new table named CustSales that combines the Customer and SalesPerson tables based on SalesPersonNum??Customer (CustomerNum, CustomerName, Street, City, State, PostalCode, SalesPersonNum)?SalesPerson (SalesPersonNum, LastName, FirstName)

A) PROJECT Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum MAKING CustSales
B) UNION Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum MAKING CustSales
C) SELECT Customer SalesPerson JOIN Customer.SalesPersonNum=SalesPerson.SalesPersonNum GIVING CustSales
D) JOIN Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum GIVING CustSales
سؤال
Multiple entries in tables are often called ____________________.
سؤال
When some of the entries in a structure contain repeating groups and thus are not single-valued, the structure is called a(n) ____________________.
سؤال
Which of the following is true if two tables have the same number of columns and their corresponding columns represent the same type of data?

A) They are union compatible.
B) They are intersection compatible.
C) They are difference compatible.
D) They are product compatible.
سؤال
In relational algebra, what command causes only certain columns to be included in the new table?

A) SELECT
B) DELETE
C) PROGRAM
D) PROJECT
سؤال
Which 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
سؤال
What type of query changes data?

A) addition
B) update
C) update
D) select
سؤال
A ______________ primary key is composed of more than one column so that the row is unique.
سؤال
Based on the table below, which command lists all information from the table concerning the customer with CustomerNum 260? Customer (CustomerNum, CustomerName, Street, City, State, PostalCode)

A) SELECT Customer 260 RESULTS Answer
B) SELECT Customer WHERE CustomerNum=260 GIVING Answer
C) SELECT Customer GIVING Answer WHERE CustomerNum='260'
D) SELECT Customer WHERE CustomerNum='260' RESULTS Answer
سؤال
If you are sorting records by more than one field, which field is the more important field?

A) primary sort key
B) secondary sort key
C) maximum sort key
D) minor sort key
سؤال
What type of query creates a new table using the query results?

A) new-table
B) make-table
C) create-table
D) merge-table
سؤال
What type of functions are Count, Sum, Avg, Max, and Min?

A) accumulation
B) allowed
C) primary
D) aggregate
سؤال
Discuss the difference between the major sort key and the minor sort key.
سؤال
A(n) ______________ query makes a specified change to all records satisfying the criteria in the query.
سؤال
List the six properties that define a relation in a two-dimensional table.
سؤال
What is the difference between an AND criterion and an OR criterion?
سؤال
List at least six of the aggregate functions available in Access.
سؤال
To list the records in a query's results in a particular order, you need to ____________________ the records.
سؤال
When both criteria must be true for the compound criterion to be true, the _______________ operator is being used.
سؤال
Explain what relational algebra is and how it is used.
سؤال
A query ___________________ is a DBMS component that analyzes queries and attempts to determine the most efficient way to execute a given query.
سؤال
A ____________________ query in Access allows you to enter criterion when you run the query, as opposed to placing it in the design grid.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
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
A relational database handles entities, attributes, and relationships by storing each entity in its own row.
False
2
In an AND criterion, the overall criterion is true if either of the individual criteria is true.
False
3
The concept of grouping means that statistics will be calculated for individual records.
False
4
In the Access Query window, the upper portion of the window contains the design grid.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
A relational database is a collection of tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The primary key of a table is the row or rows that uniquely identify a given column in that table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
In relational database shorthand, the structure of a relational database is written with the name of the table followed by the columns in the table listed within parentheses.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
The field on which records are sorted is called the composite primary key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A column whose value uniquely identifies a given row in the table is the secondary key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The relational operators are +, *, %, and /.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
To select data from more than one table at the same time, you need to perform a make-table query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which term is another word for a row in a table?

A) tuple
B) field
C) group
D) relation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
What uniquely identifies a row in a table?

A) attribute
B) column
C) primary key
D) field
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The attributes of an entity become the fields or columns in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following is NOT true about a relation in a two-dimensional table?

A) The entries in the table are single-valued.
B) All values in a column are values of the same attribute.
C) Two or more columns can share the same name.
D) The order of rows is immaterial.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
How do you refer to a column named State in a table named Client?

A) State.Client
B) State(Client)
C) Client.State
D) Client(State)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
In Access, a parameter query allows you to enter criterion when you run the query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
In a relation, the order of rows is important.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is the column or collection of columns that uniquely identifies a given row in that table?

A) primary key
B) secondary key
C) foreign key
D) minor key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
A query is a question represented in a way that the DBMS can recognize and process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which command creates a table containing all rows that are in either or both of two tables?

A) UNION
B) SUBTRACT
C) JOIN
D) INTERSECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which operation is performed by the SUBTRACT command in relational algebra?

A) union
B) difference
C) product
D) intersection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
The relationships between tables are implemented through common ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which command contains all rows that are common in two tables?

A) UNION
B) SUBTRACT
C) JOIN
D) INTERSECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
The compound criteria (conditions) are created by using which of the following two keywords?

A) AND, OR
B) AND, NOR
C) OR, NOT
D) NOT, ONLY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
A(n) ____________________ database is a collection of tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Based on the table below, which command creates a new table named CustState containing the fields CustomerNum and State??Customer (CustomerNum, CustomerName, Street, City, State, PostalCode)

A) JOIN Customer WITH (CustomerNum, State) GIVING CustState
B) PROJECT Customer OVER (CustomerNum, State) GIVING CustState
C) SELECT Customer OVER (CustomerNum, State) GIVING CustState
D) MAKE-TABLE CustState FROM Customer WITH (CustomerNum, State)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which operation will allow you to extract data from more than one table?

A) Select
B) Merge
C) Project
D) Join
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Based on the tables below, which command creates a new table named CustSales that combines the Customer and SalesPerson tables based on SalesPersonNum??Customer (CustomerNum, CustomerName, Street, City, State, PostalCode, SalesPersonNum)?SalesPerson (SalesPersonNum, LastName, FirstName)

A) PROJECT Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum MAKING CustSales
B) UNION Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum MAKING CustSales
C) SELECT Customer SalesPerson JOIN Customer.SalesPersonNum=SalesPerson.SalesPersonNum GIVING CustSales
D) JOIN Customer SalesPerson WHERE Customer.SalesPersonNum=SalesPerson.SalesPersonNum GIVING CustSales
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Multiple entries in tables are often called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
When some of the entries in a structure contain repeating groups and thus are not single-valued, the structure is called a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which of the following is true if two tables have the same number of columns and their corresponding columns represent the same type of data?

A) They are union compatible.
B) They are intersection compatible.
C) They are difference compatible.
D) They are product compatible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
In relational algebra, what command causes only certain columns to be included in the new table?

A) SELECT
B) DELETE
C) PROGRAM
D) PROJECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which 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
35
What type of query changes data?

A) addition
B) update
C) update
D) select
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
A ______________ primary key is composed of more than one column so that the row is unique.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Based on the table below, which command lists all information from the table concerning the customer with CustomerNum 260? Customer (CustomerNum, CustomerName, Street, City, State, PostalCode)

A) SELECT Customer 260 RESULTS Answer
B) SELECT Customer WHERE CustomerNum=260 GIVING Answer
C) SELECT Customer GIVING Answer WHERE CustomerNum='260'
D) SELECT Customer WHERE CustomerNum='260' RESULTS Answer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
If you are sorting records by more than one field, which field is the more important field?

A) primary sort key
B) secondary sort key
C) maximum sort key
D) minor sort key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
What type of query creates a new table using the query results?

A) new-table
B) make-table
C) create-table
D) merge-table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
What type of functions are Count, Sum, Avg, Max, and Min?

A) accumulation
B) allowed
C) primary
D) aggregate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Discuss the difference between the major sort key and the minor sort key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
A(n) ______________ query makes a specified change to all records satisfying the criteria in the query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
List the six properties that define a relation in a two-dimensional table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
What is the difference between an AND criterion and an OR criterion?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
List at least six of the aggregate functions available in Access.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
To list the records in a query's results in a particular order, you need to ____________________ the records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
When both criteria must be true for the compound criterion to be true, the _______________ operator is being used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Explain what relational algebra is and how it is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
A query ___________________ is a DBMS component that analyzes queries and attempts to determine the most efficient way to execute a given query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
A ____________________ query in Access allows you to enter criterion when you run the query, as opposed to placing it in the design grid.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.