Online Database Test - Database Test 2

Instruction:

  • This is a FREE online test. Beware of scammers who ask for money to attend this test.
  • Total number of questions: 20.
  • Time allotted: 30 minutes.
  • Each question carries 1 mark; there are no negative marks.
  • DO NOT refresh the page.
  • All the best!

Marks : 2/20


Total number of questions
20
Number of answered questions
0
Number of unanswered questions
20
Test Review : View answers and explanation for this test.

1.
Applications are programs that interact directly with the database.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

2.
Which of the following is the original purpose of SQL?
To specify the syntax and semantics of SQL data definition language
To specify the syntax and semantics of SQL manipulation language
To define the data structures
All of the above.
Your Answer: Option
(Not Answered)
Correct Answer: Option

3.
The format SELECT-FROM-WHERE is the fundamental framework of SQL SELECT statements.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

4.
If attributes A and B determine attribute C, then it is also true that:
A → C.
B → C.
(A,B) is a composite determinant.
C is a determinant.
Your Answer: Option
(Not Answered)
Correct Answer: Option

5.
The primary key is selected from the:
composite keys.
determinants.
candidate keys.
foreign keys.
Your Answer: Option
(Not Answered)
Correct Answer: Option

6.
We have normalized a table into BCNF if all candidate keys are determinants.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

7.
A ternary relationship is so called because in contains two entities and one association between them.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

8.
Which of the following data constraints would be used to specify that the value of a cell in one column must be less than the value of a cell in another column in the same row of the same table?
A domain constraint
A range constraint
An intrarelation constraint
An interrelation constraint
Your Answer: Option
(Not Answered)
Correct Answer: Option

9.
The data model produced from the reverse engineering process is a true logical model.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

10.
The left-leaning slash tells Oracle to execute whatever statement is in the buffer.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

11.
Sequences guarantee valid surrogate key values.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

12.
Which of the three possible types of triggers does SQL Server support?
INSTEAD OF only
AFTER only
BEFORE only
INSTEAD OF and AFTER only
Your Answer: Option
(Not Answered)
Correct Answer: Option

13.
Which of the following refers to the SQL Server transaction isolation level which places and holds locks on all rows that are read?
REPEATABLE READ
SERIALIZABLE
READ COMMITTED
READ UNCOMMITTED
Your Answer: Option
(Not Answered)
Correct Answer: Option

14.
Most operational databases can be used for many BI applications.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

15.
A supertype/subtype hierarchy is which of the following?
Each subtype has only one attribute.
Each supertype has only one attribute.
Each subtype has only one supertype.
Each supertype has only one subtype.
Your Answer: Option
(Not Answered)
Correct Answer: Option

16.
The entity integrity rule states that:
no primary key attribute may be null.
no primary key can be composite.
no primary key may be unique.
no primary key may be equal to a value in a foreign key.
Your Answer: Option
(Not Answered)
Correct Answer: Option

17.
A null value is assigned when no other value applies.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

18.
Symmetric multiprocessing (SMP) architectures are useful for situations where data must remain in memory during processing to achieve the desired performance level.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

19.
A method defines the form or protocol of the operation, but not its implementation.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

20.
An aggregation is a stronger form of association relationship and is represented with a solid diamond at the aggregate end.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

*** END OF THE TEST ***
Time Left: 00:29:56
Post your test result / feedback here: