Database Revision PDF
Database Revision PDF
Page 1 of 4
C. Tables.
D. Rows.
6. The database schema is written in
A. HLL
B. DML
C. DDL
D. DCL
7. An entity set that does not have sufficient attributes to form a primary key is a
A. Strong entity set.
B. Weak entity set.
C. Simple entity set.
D. Primary entity set.
8. In a Hierarchical model records are organized as
A. Graph.
B. List.
C. Links.
D. Tree.
9. In case of entity integrity, the primary key may be
A. Not Null
B. Null
C. Both Null & not Null.
D. Any value.
10. In tuple relational calculus P1 → P2 is equivalent to
A. ¬P1 ∨ P2
B. P1 ∨ P2
C. P1 ∧ P2
D. P1 ∧ ¬P2
11. Related fields in a database are grouped to form a
A. Data file.
B. Data record.
C. Menu.
D. Bank.
Page 2 of 4
12. The method in which records are physically stored in a specified order according to a key field in
each record is
A. Hash.
B. Direct.
C. Sequential.
D. All of the above.
13. Which one of the following statements is false?
A. The data dictionary is normally maintained by the database administrator.
B. Data elements in the database can be modified by changing the data dictionary.
C. The data dictionary contains the name and description of each data element.
D. The data dictionary is a tool used exclusively by the database administrator.
14. Data independence means
A. Data is defined separately and not included in programs.
B. Programs are not dependent on the physical attributes of data.
C. Programs are not dependent on the logical attributes of data.
D. Both (B) and (C).
15. The statement in SQL which allows to change the definition of a table is
A. Alter.
B. Update.
C. Create.
D. select.
16. Relational Algebra is
A. Data Definition Language.
B. Meta Language
C. Procedural query Language
D. None of the above
17. _________ produces the relation that has attributes of R1 and R2
A. Cartesian product
B. Difference
C. Intersection
D. Product
18. What is a relationship called when it is maintained between two entities?
A. Unary
Page 3 of 4
B. Binary
C. Ternary
D. Quaternary
19. Which of the following is a valid SQL type?
A. CHARACTER
B. NUMERIC
C. FLOAT
D. All of the above
20. Which of the following is a legal expression in SQL?
A. SELECT NULL FROM EMPLOYEE;
B. SELECT NAME FROM EMPLOYEE;
C. SELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;
D. None of the above
Page 4 of 4