0% found this document useful (0 votes)
94 views4 pages

Database Revision PDF

This document contains a 20 question multiple choice quiz on database revision topics taught by instructor Abang Tanyi Alain. The quiz covers relational model concepts like cardinality, views, DML, architecture levels, relations, schemas, entity sets, keys, tuple relational calculus, data records, storage methods, data dictionaries, and data independence. It also includes a 6 question structural section asking about security privileges, file structures, integrity constraints, data independence, table definitions, and mapping ER model constructs to relations.

Uploaded by

Jack Brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views4 pages

Database Revision PDF

This document contains a 20 question multiple choice quiz on database revision topics taught by instructor Abang Tanyi Alain. The quiz covers relational model concepts like cardinality, views, DML, architecture levels, relations, schemas, entity sets, keys, tuple relational calculus, data records, storage methods, data dictionaries, and data independence. It also includes a 6 question structural section asking about security privileges, file structures, integrity constraints, data independence, table definitions, and mapping ER model constructs to relations.

Uploaded by

Jack Brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE REVISION QUESTIONS

CITEC SOFTWARE ENGINEERING LEVEL II


INSTRUCTOR: ABANG TANYI ALAIN
Choose the correct or best alternative in the following:
SECTION A: MCQ (20 marks)
Each question carries 2 marks.
1. In the relational modes, cardinality is termed as:
A. Number of tuples.
B. Number of attributes.
C. Number of tables.
D. Number of constraints.
2. The view of total database content is
A. Conceptual view.
B. Internal view.
C. External view.
D. Physical View.
3. DML is provided for
A. Description of logical structure of database.
B. Addition of new structures in the database system.
C. Manipulation & processing of database.
D. Definition of physical structure of database system.
4. Architecture of the database can be viewed as
A. Two levels.
B. Four levels.
C. Three levels.
D. One level.
5. In a relational model, relations are termed as
A. Tuples.
B. Attributes

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

SECTION B: Structural (15 marks)


1. Describe the GRANT function and explain, how it relates to security. Privileges may be granted?
How are they revoked? (2 marks)
2. Explain (a) Heap file (b) Sorted file. Also discuss their advantages and disadvantages. (3 marks)
3. Explain the integrity constraints: Not Null, Unique, Primary Key with an example each.
Is the combination ‘Not Null, Primary Key’ a valid combination? Justify. (4 marks)
4. What is data independence? Explain the difference between physical and logical data
independence. (2.5 marks)
5. Consider the following relational schemas: (1.5 mark)
EMPLOYEE (EMPLOYEE_NAME, STREET, CITY)
WORKS (EMPLOYEE_NAME, COMPANYNAME, SALARY)
COMPANY (COMPANY_NAME, CITY)
Specify the table definitions in SQL.
6. Discuss the correspondence between the E-R model construct and the relation model construct.
Show how each E-R model construct can be mapped to the relational model using the
suitable example? (2 marks)

Page 4 of 4

You might also like