Deck 2: The Relational : Introduction, QBE, and Relational Algebra
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 2: The Relational : Introduction, QBE, and Relational Algebra
1
A column whose value uniquely identifies a given row in the table is the secondary key.
False
2
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
A) primary
B) secondary
C) foreign
D) minor
A
3
The concept of grouping means that statistics will be calculated for individual records.
False
4
QBE is a visual approach to writing queries.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
The attributes of an entity become the fields or columns in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
An unnormalized relation is a table that has more than one row.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Based on the statement below,which of the following is the primary key? Rep (RepNum,LastName,FirstName,Street,City,State,PostalCode Commission,Rate)
A) RepNum
B) LastName
C) FirstName
D) State
A) RepNum
B) LastName
C) FirstName
D) State
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
The comparison operators are also known as relational operators.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
In an AND criterion,the overall criterion is true if either of the individual criteria is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
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 both the table name and the column name, separated by a period
D) write the table name only
A) do not use these two tables together
B) do not use the column names in the same statement
C) write both the table name and the column name, separated by a period
D) write the table name only
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
A relational database is a collection of relations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
In a relation,the order of the columns is important.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Access automatically adds double quotation marks around values in the design grid that are formatted as Short Text fields when you run the query or move the insertion point to another cell in the design grid.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
Each column in a table should have a unique name,and entries in each column should all "match" this column name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
In a relation,the order of rows is important.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
A query is a question represented in a way that the DBMS can recognize and process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
Rows are also called ____.
A) fields
B) columns
C) tuples
D) attributes
A) fields
B) columns
C) tuples
D) attributes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
A relation is a(n)____.
A) attribute
B) column
C) field
D) table
A) attribute
B) column
C) field
D) table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
A relational database handles entities,attributes,and relationships by storing each entity in its own table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The comparison operators are +,*,%,and /.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which operation will allow you to extract data from more than one table?
A) Select
B) Merge
C) Project
D) Join
A) Select
B) Merge
C) Project
D) Join
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
If you are sorting records by more than one field,the more important field is called the ____.
A) primary sort key
B) secondary sort key
C) maximum sort key
D) minor sort key
A) primary sort key
B) secondary sort key
C) maximum sort key
D) minor sort key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
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
24
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
A) DELETE
B) PROJECT
C) INTERSECT
D) UNION
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
The compound criteria (conditions)are created by using ____.
A) AND, OR
B) AND, NOR
C) OR, NOT
D) NOT, ONLY
A) AND, OR
B) AND, NOR
C) OR, NOT
D) NOT, ONLY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
A query that changes data is a(n)____ query.
A) addition
B) update
C) update
D) select
A) addition
B) update
C) update
D) select
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
A) DELETE
B) UNION
C) PROJECT
D) INTERSECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
The product of two tables is also called the ____ product.
A) Cartesian
B) aggregate
C) Cathode
D) exponential
A) Cartesian
B) aggregate
C) Cathode
D) exponential
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
A(n)____________________ database is a collection of tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Based on the Customer table below,which command lists all information from the table concerning customer 260? CustomerNum CustomerName Street City State PostalCode
126 Toys Galore 28 Laketon St. Fulton CA 90085
260 Brookings Direct 452 Columbus Dr. Grove CA 90092
A) SELECT Customer 260 GIVING Answer
B) SELECT Customer WHERE CustomerNum=260 GIVING Answer
C) SELECT Customer WHERE Customernum='260' GIVING Answer
D) SELECT Customer WHERE CustomerName='260' GIVING Answer
126 Toys Galore 28 Laketon St. Fulton CA 90085
260 Brookings Direct 452 Columbus Dr. Grove CA 90092
A) SELECT Customer 260 GIVING Answer
B) SELECT Customer WHERE CustomerNum=260 GIVING Answer
C) SELECT Customer WHERE Customernum='260' GIVING Answer
D) SELECT Customer WHERE CustomerName='260' GIVING Answer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
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) union
B) intersection
C) difference
D) product
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
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) allowed
C) primary
D) aggregate
A) accumulated
B) allowed
C) primary
D) aggregate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
Multiple entries in tables are often called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Columns in a table are often called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
The relationships between tables are handled through ____________________ columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____ command within relational algebra takes a vertical subset of a table.
A) SELECT
B) DELETE
C) PROGRAM
D) PROJECT
A) SELECT
B) DELETE
C) PROGRAM
D) PROJECT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
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
A) 4
B) 8
C) 16
D) 256
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
The ____ operation is performed by the SUBTRACT command in relational algebra.
A) union
B) difference
C) product
D) intersection
A) union
B) difference
C) product
D) intersection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
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
A) union
B) difference
C) product
D) intersection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
A ____ query creates a new table using the query results.
A) new-table
B) make-table
C) create-table
D) merge-table
A) new-table
B) make-table
C) create-table
D) merge-table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Explain what relational algebra is and how it is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Conditions that data must satisfy are called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n)____________________ field is a field that is the result of a calculation using one or more existing fields.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
The field on which records are sorted is called the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
____________________ is a theoretical way of manipulating a relational database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Provide a definition for the term relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
What is the difference between an AND criterion and an OR criterion? How is each criterion created in QBE?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
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
49
To list the records in a query's results in a particular order,you need to ____________________ the records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
Discuss the difference between the major sort key and the minor sort key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck