Page 1 out of 9. Viewing questions 1-15 out of 127
Question 1
Consider the following relations shown in the exhibit. Which of the following SQL statements would return the Customers2 relation from the Customers relation?
A.
SELECT * FROM Customers WHERE Satisfaction_Rate <= 80 OR Satisfaction_Rate >= 90;
B.
SELECT * FROM Customers WHERE Satisfaction_Rate IN (80 AND 90);
C.
SELECT * FROM Customers WHERE Satisfaction_Rate >= 80 AND Satisfaction_Rate <= 89;
D.
SELECT * FROM Customers WHERE Satisfaction_Rate BETWEEN (80, 90);
Answer:
C
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 2
What is the highest normal form of the relation(s) shown in the exhibit?
A.
No normal form
B.
Second normal form
C.
First normal form
D.
Third normal form
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 3
Your company must choose which type of database to use for a new project. Which of the following lists three characteristics of file-based database systems?
A.
Repetition of data, application program flexibility, and data centralization
B.
Incompatibility of files, tabular data structures, and data dependence
C.
Separation of data, repetition of data, and data independence
D.
Application program inflexibility, data dependence, and separation of data
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 4
Consider the following relational algebraic expression as well as the Dept1_Parts and Dept2_Parts relations shown in the exhibit: Which of the following relations would result from the given relational algebraic expression? A. B . C. D.
Answer:
C
User Votes:
Discussions
0/ 1000
Question 5
Which statement best describes a procedural data manipulation language command?
A.
It contains a query language for retrieving data.
B.
It can be used only to manipulate data through a SQL interface.
C.
The user is not required to know how the underlying data structures are implemented.
D.
It requires that the user know how the underlying data structures are implemented.
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 6
Consider the Recreation relation shown in the exhibit. You need to apply a SQL statement to the Recreation relation that will return the following data: Which SQL statement applied to the Recreation relation will return this data?
A.
SELECT Activity FROM Recreation;
B.
SELECT DISTINCT Activity FROM Recreation;
C.
SELECT Activity FROM Recreation WHERE NOT LIKE Activity;
D.
SELECT Activity FROM Recreation WHERE DISTINCT Activity;
Answer:
B
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 7
Consider the following database information: domain s_id: integer domain grd: fixed length character string length 1 STUDENT_GRADE( Student_Number: s_id NOT NULL Grade: grd ) Primary Key Student_Number During which phase of the database design process would this information be developed?
A.
Logical
B.
Physical
C.
Conceptual
D.
Implementation
Answer:
A
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 8
In a relational database, which term describes a single table consisting of rows and columns?
A.
Entity
B.
Matrix
C.
Relation
D.
Data dictionary
Answer:
C
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 9
Which pair of relational algebraic operations requires union compatibility?
A.
Projection and Cartesian product
B.
Selection and projection
C.
Intersection and difference
D.
Cartesian product and intersection
Answer:
C
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 10
What is the highest normal form of the relation(s) shown in the exhibit?
A.
Second normal form
B.
First normal form
C.
Boyce-Codd normal form
D.
Third normal form
Answer:
A
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 11
Which relational algebraic operation is used to select specific columns (attributes) from a relation?
A.
Union
B.
Difference
C.
Projection
D.
Intersection
Answer:
C
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 12
Your enterprise has created a database and database application. The testing phase for the project has started. Which of the following best describes white-box testing of the projects software?
A.
The database designer tests the software because he or she is able to make necessary changes to the underlying code for the software.
B.
A user who has no knowledge of the softwares underlying code tests the software.
C.
Someone other than the database designer tests the software. This person has no access to the underlying code and attempts to use the software only in ways not considered by the software designers.
D.
A person tests the software and submits suggestions to the software's underlying code. This person is someone other than the database designer, but has access to the softwares underlying code.
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 13
Which security technique limits access by unauthorized users to parts of an enterprise database?
A.
Views
B.
Concurrency
C.
Locking
D.
Integrity controls
Answer:
A
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 14
Which of the following ACID properties requires that a transaction be executed in its entirety or not all?
A.
Durability
B.
Consistency
C.
Isolation
D.
Atomicity
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Question 15
Consider the relations shown in the exhibit. Which of the following SQL statements would enter data from the Customers relation into the Atlanta_Customers relation?
A.
INSERT INTO Atlanta_Customers VALUES( SELECT * FROM Customer s WHERE Sales_Office = Atlanta);
B.
INSERT INTO Atlanta_Customers SELECT * FROM Customers WHERE Sales_Office = Atlanta;
C.
INSERT INTO Atlanta_Customers SELECT Cust_No, Cust_Name, Satisfaction_Rate, Sales_Rep_No FROM Customers WHERE Sales_Office = Atlanta;
D.
INSERT INTO Atlanta_Customers SELECT Cust_No, Cust_Name, Sales_Office, Sales_Rep_No FROM Customers WHERE Sales_Office = Atlanta;