0% found this document useful (0 votes)
49 views

Database Revision Questions PDF

This document contains questions for a database revision exam. Section A contains 20 multiple choice questions testing concepts like cardinality, relational model terminology, data definition and manipulation languages, database architectures, and integrity constraints. Section B contains longer answer structural questions about security privileges, file organizations, integrity constraints with examples, data independence, mapping relational schemas and entities to tables, and mapping constructs between the ER model and relational model. The exam tests foundational database concepts.

Uploaded by

Jack Brown
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Database Revision Questions PDF

This document contains questions for a database revision exam. Section A contains 20 multiple choice questions testing concepts like cardinality, relational model terminology, data definition and manipulation languages, database architectures, and integrity constraints. Section B contains longer answer structural questions about security privileges, file organizations, integrity constraints with examples, data independence, mapping relational schemas and entities to tables, and mapping constructs between the ER model and relational model. The exam tests foundational database concepts.

Uploaded by

Jack Brown
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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 C. Three levels.
termed as: D. One level.
A. Number of tuples. 5. In a relational model, relations are
B. Number of attributes. termed as
C. Number of tables. A. Tuples.
D. Number of constraints. B. Attributes
2. The view of total database content is C. Tables.
A. Conceptual view. D. Rows.
B. Internal view. 6. The database schema is written in
C. External view. A. HLL
D. Physical View. B. DML
3. DML is provided for C. DDL
A. Description of logical structure of D. DCL
database. 7. An entity set that does not have sufficient
B. Addition of new structures in the attributes to form a primary key is a
database system. A. Strong entity set.
C. Manipulation & processing of B. Weak entity set.
database. C. Simple entity set.
D. Definition of physical structure of D. Primary entity set.
database system. 8. In a Hierarchical model records are
4. Architecture of the database can be organized as
viewed as A. Graph.
A. Two levels. B. List.
B. Four levels. C. Links.

Page 1 of 2
D. Tree. 10. In tuple relational calculus P1 → P2 is
9. In case of entity integrity, the primary equivalent to
key may be A. ¬P1 ∨ P2
A. Not Null B. P1 ∨ P2
B. Null C. P1 ∧ P2
C. Both Null & not Null. D. P1 ∧ ¬P2
D. Any value.
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 marsk)
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 marks)
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 2 of 2

You might also like