Deck 4: The Relational : Advanced Topics

ملء الشاشة (f)
exit full mode
سؤال
A stored procedure is placed on a client computer.​
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Indexes can increase the efficiency with which data is retrieved from the database.​
سؤال
Access supports stored procedures.​
سؤال
A view is a physical table in the DBMS.
سؤال
One advantage of a view is that different users can view the same data in different ways.​
سؤال
Legal-values integrity is the property that states that no record can exist in the database with a value in the field other than one of the legal values.​
سؤال
The command DEL INDEX CustList; would remove the index named CustList.​
سؤال
To create a view in Access,you simply create and then save a query.​
سؤال
One advantage of using views is that they provide data dependence.​
سؤال
A row-and-column subset ____ consists of a subset of the rows and columns in some individual table.​

A) view​
B) ​trigger
C) ​index
D) ​catalog
سؤال
Referential integrity is specified using the FOREIGN KEY clause in the SELECT command.​
سؤال
In Access,a key symbol appears in the row selector of the field that is the ____ key.​

A) ​index
B) ​catalog
C) ​Foreign
D) ​Primary
سؤال
Information about tables in the database is kept in the system catalog.​
سؤال
The following command will enable Jones to retrieve data from the Customer table,but not to take any other action: GRANT SELECT ON Customer Jones ;​
سؤال
The ____ command will create an application program's or individual user's picture of the database.​

A) ​CREATE INDEX
B) ​SELECT INDEX
C) ​SELECT VIEW
D) ​CREATE VIEW
سؤال
The ____ statement will take away user privileges to the database.​

A) ​SELECT
B) ​INDEX
C) ​DEL
D) ​REVOKE
سؤال
To create an index named RepBal with the keys RepNum and Balance and with the balances listed in descending order,the command is ____.​

A) ​CREATE INDEX RepBal ON Customer (RepNum, Balance) ;
B) ​CREATE INDEX RepBal Customer (RepNum DESC) ;
C) ​CREATE INDEX ON Customer (RepNum, Balance ASC) ;
D) ​CREATE INDEX RepBal ON Customer (RepNum, Balance DESC) ;
سؤال
An individual can use a view to create reports,charts,and other objects that show database data.​
سؤال
Views cannot be used to examine table data.​
سؤال
When you create an index whose key has a single field,you have created what is called a single-column index.​
سؤال
The field or combination of fields on which an index is built is called the ____________________ key.​
سؤال
Essentially,setting the value in a given field to ____ is similar to not entering a value in it at all.​

A) ​N/A
B) ​nil
C) ​null
D) ​0
سؤال
Within relational model systems on both mainframes and personal computers,the main mechanism for increasing the efficiency with which data is retrieved from the database is the ____________________.​
سؤال
A trigger is stored and compiled on the ____.​

A) ​client
B) ​Web
C) ​index
D) ​server
سؤال
In SQL,you use the CHECK clause to enforce ____ integrity.​

A) ​referential
B) ​legal-values
C) ​entity
D) ​catalog
سؤال
​To create the primary key clause for the OrderLine table on the OrderNum and ItemNum fields,the correct statement is ____.

A) ​PRIMARY KEY (OrderLine, OrderNum, ItemNum)
B) ​KEY (OrderNum, ItemNum)
C) ​PRIMARY KEY (OrderNum, ItemNum)
D) ​PRIMARY (OrderNum, ItemNum)
سؤال
A(n)____ is a computer that is connected to a network and has access through the server to the database.​

A) ​client
B) ​view
C) ​index
D) ​trigger
سؤال
____________________ is the prevention of unauthorized access to the database.​
سؤال
A(n)____ is an action that occurs automatically in response to an associated database operation such as an INSERT,UPDATE,or DELETE command.​

A) ​stored procedure
B) ​trigger
C) ​view
D) ​index
سؤال
If you anticipate running a particular query often,you can improve overall performance by saving the query in a special file called a(n)____.​

A) ​index
B) ​stored procedure
C) ​trigger
D) ​view
سؤال
A(n)____________________ index is an index with more than one key field.​
سؤال
​Within an organization,the ____________________ determines the types of access various users can have to the database.
سؤال
In a client/server system,users access the database through ____.​

A) ​triggers
B) ​documenters
C) ​servers
D) ​clients
سؤال
​To create the primary key clause for the Customer table on the CustomerNum field,the correct statement is ____.

A) ​PRIMARY KEY (CustomerNum)
B) ​PRIMARY KEY (Customer, CustomerNum)
C) ​KEY (CustomerNum)
D) ​PRIMARY (CustomerNum)
سؤال
The statement,____,removes the table Smaller from a DBMS.​

A) ​DELETE TABLE Smaller ;
B) ​DROP TABLE Smaller ;
C) ​REMOVE TABLE Smaller ;
D) ​RID TABLE Smaller ;
سؤال
​In a client/server system,the database resides on a computer called the ____.

A) ​index
B) ​documenter
C) ​server
D) ​client
سؤال
Which of the following statement fragments will only allow a CreditLimit of $5,000,$7,500,or $15,000?​

A) ​(CreditLimit IN (5000, 7500, 15000))
B) ​CHECK ((5000, 7500, 15000))
C) ​CHECK (CreditLimit LIKE (5000, 7500, 15000))
D) ​CHECK (CreditLimit IN (5000, 7500, 15000))
سؤال
To insert a new field in a table,the ____ keyword should be used with the ALTER TABLE command.​

A) ​INSERT
B) ​ADD
C) ​INCLUDE
D) ​ALTER
سؤال
The SQL command for deleting the Storehouse field from the Item table is ____.​

A) ​ALTER TABLE Item DELETE Storehouse ;
B) ​ALTER TABLE Item DROP COLUMN Storehouse ;
C) ​ALTER Item DELETE Storehouse ;
D) ​ALTER TABLE DELETE Storehouse ;
سؤال
The CHECK clause can be included in the ____ command.​

A) SELECT TABLE​
B) ​ALTER TABLE
C) ​DROP TABLE
D) ​DELETE TABLE
سؤال
Access has a tool called the ____________________,which allows you to easily print detailed documentation concerning any table,query,report,form,or other object in the database.​
سؤال
Discuss what you can do if you need to change a table's structure in ways that are beyond the capabilities of your DBMS.​
سؤال
The type of field for which you should never allow nulls is the ____________________.​
سؤال
In a system catalog,the ____________________ table contains information about the tables known to SQL.​
سؤال
What are the advantages of having views only contain the fields required by a given user?​
سؤال
In Access,you can restrict the legal values accepted by a field by entering an appropriate ____________________ that data entered in the field must follow.​
سؤال
​Discuss what are validation rules and validation text.
سؤال
Explain what is meant by a null value.Is a null value the same as a value of zero?​
سؤال
​What is the difference between entity integrity and referential integrity?
سؤال
In Access,a(n)____________________ enables you to add logic to table events such as adding,changing,or deleting data​
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: The Relational : Advanced Topics
1
A stored procedure is placed on a client computer.​
False
2
Indexes can increase the efficiency with which data is retrieved from the database.​
True
3
Access supports stored procedures.​
False
4
A view is a physical table in the DBMS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
One advantage of a view is that different users can view the same data in different ways.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Legal-values integrity is the property that states that no record can exist in the database with a value in the field other than one of the legal values.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
The command DEL INDEX CustList; would remove the index named CustList.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
To create a view in Access,you simply create and then save a query.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
One advantage of using views is that they provide data dependence.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
A row-and-column subset ____ consists of a subset of the rows and columns in some individual table.​

A) view​
B) ​trigger
C) ​index
D) ​catalog
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Referential integrity is specified using the FOREIGN KEY clause in the SELECT command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
In Access,a key symbol appears in the row selector of the field that is the ____ key.​

A) ​index
B) ​catalog
C) ​Foreign
D) ​Primary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Information about tables in the database is kept in the system catalog.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The following command will enable Jones to retrieve data from the Customer table,but not to take any other action: GRANT SELECT ON Customer Jones ;​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____ command will create an application program's or individual user's picture of the database.​

A) ​CREATE INDEX
B) ​SELECT INDEX
C) ​SELECT VIEW
D) ​CREATE VIEW
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____ statement will take away user privileges to the database.​

A) ​SELECT
B) ​INDEX
C) ​DEL
D) ​REVOKE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
To create an index named RepBal with the keys RepNum and Balance and with the balances listed in descending order,the command is ____.​

A) ​CREATE INDEX RepBal ON Customer (RepNum, Balance) ;
B) ​CREATE INDEX RepBal Customer (RepNum DESC) ;
C) ​CREATE INDEX ON Customer (RepNum, Balance ASC) ;
D) ​CREATE INDEX RepBal ON Customer (RepNum, Balance DESC) ;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
An individual can use a view to create reports,charts,and other objects that show database data.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Views cannot be used to examine table data.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
When you create an index whose key has a single field,you have created what is called a single-column index.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
The field or combination of fields on which an index is built is called the ____________________ key.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
Essentially,setting the value in a given field to ____ is similar to not entering a value in it at all.​

A) ​N/A
B) ​nil
C) ​null
D) ​0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Within relational model systems on both mainframes and personal computers,the main mechanism for increasing the efficiency with which data is retrieved from the database is the ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
A trigger is stored and compiled on the ____.​

A) ​client
B) ​Web
C) ​index
D) ​server
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
In SQL,you use the CHECK clause to enforce ____ integrity.​

A) ​referential
B) ​legal-values
C) ​entity
D) ​catalog
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
​To create the primary key clause for the OrderLine table on the OrderNum and ItemNum fields,the correct statement is ____.

A) ​PRIMARY KEY (OrderLine, OrderNum, ItemNum)
B) ​KEY (OrderNum, ItemNum)
C) ​PRIMARY KEY (OrderNum, ItemNum)
D) ​PRIMARY (OrderNum, ItemNum)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n)____ is a computer that is connected to a network and has access through the server to the database.​

A) ​client
B) ​view
C) ​index
D) ​trigger
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
____________________ is the prevention of unauthorized access to the database.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
A(n)____ is an action that occurs automatically in response to an associated database operation such as an INSERT,UPDATE,or DELETE command.​

A) ​stored procedure
B) ​trigger
C) ​view
D) ​index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
If you anticipate running a particular query often,you can improve overall performance by saving the query in a special file called a(n)____.​

A) ​index
B) ​stored procedure
C) ​trigger
D) ​view
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
A(n)____________________ index is an index with more than one key field.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
​Within an organization,the ____________________ determines the types of access various users can have to the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
In a client/server system,users access the database through ____.​

A) ​triggers
B) ​documenters
C) ​servers
D) ​clients
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
​To create the primary key clause for the Customer table on the CustomerNum field,the correct statement is ____.

A) ​PRIMARY KEY (CustomerNum)
B) ​PRIMARY KEY (Customer, CustomerNum)
C) ​KEY (CustomerNum)
D) ​PRIMARY (CustomerNum)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
The statement,____,removes the table Smaller from a DBMS.​

A) ​DELETE TABLE Smaller ;
B) ​DROP TABLE Smaller ;
C) ​REMOVE TABLE Smaller ;
D) ​RID TABLE Smaller ;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
​In a client/server system,the database resides on a computer called the ____.

A) ​index
B) ​documenter
C) ​server
D) ​client
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which of the following statement fragments will only allow a CreditLimit of $5,000,$7,500,or $15,000?​

A) ​(CreditLimit IN (5000, 7500, 15000))
B) ​CHECK ((5000, 7500, 15000))
C) ​CHECK (CreditLimit LIKE (5000, 7500, 15000))
D) ​CHECK (CreditLimit IN (5000, 7500, 15000))
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
To insert a new field in a table,the ____ keyword should be used with the ALTER TABLE command.​

A) ​INSERT
B) ​ADD
C) ​INCLUDE
D) ​ALTER
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
The SQL command for deleting the Storehouse field from the Item table is ____.​

A) ​ALTER TABLE Item DELETE Storehouse ;
B) ​ALTER TABLE Item DROP COLUMN Storehouse ;
C) ​ALTER Item DELETE Storehouse ;
D) ​ALTER TABLE DELETE Storehouse ;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The CHECK clause can be included in the ____ command.​

A) SELECT TABLE​
B) ​ALTER TABLE
C) ​DROP TABLE
D) ​DELETE TABLE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Access has a tool called the ____________________,which allows you to easily print detailed documentation concerning any table,query,report,form,or other object in the database.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Discuss what you can do if you need to change a table's structure in ways that are beyond the capabilities of your DBMS.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The type of field for which you should never allow nulls is the ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
In a system catalog,the ____________________ table contains information about the tables known to SQL.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
What are the advantages of having views only contain the fields required by a given user?​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
In Access,you can restrict the legal values accepted by a field by entering an appropriate ____________________ that data entered in the field must follow.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
​Discuss what are validation rules and validation text.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Explain what is meant by a null value.Is a null value the same as a value of zero?​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
​What is the difference between entity integrity and referential integrity?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
In Access,a(n)____________________ enables you to add logic to table events such as adding,changing,or deleting data​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.