DBMS Question Bank
DBMS Question Bank
UNIT -1
1. Which of the following is NOT a limitation of the file processing system?
a. Data redundancy
b. Data inconsistency
c. High security
d. Lack of data sharing
Answer: c) High security
2. What is the primary purpose of a Database Management System (DBMS)?
a. Storing files efficiently
b. Reducing data redundancy and ensuring data integrity
c. Providing high-speed networking
d. Encrypting all user data
Answer: b) Reducing data redundancy and ensuring data integrity
3. Which component of a DBMS is responsible for query processing and optimization?
a. Storage Manager
b. Query Processor
c. Transaction Manager
d. Buffer Manager
Answer: b) Query Processor
4. The Three-Schema Architecture consists of which of the following layers?
a. Internal, Conceptual, External
b. Physical, Logical, Virtual
c. User, Application, Data
d. Front-end, Middle-tier, Back-end
Answer: a) Internal, Conceptual, External
5. What is the primary focus of a physical data model?
a) User interaction with data
b) Internal storage structures and access methods
c) Logical relationships between data entities
d) Defining business rules
Answer: b) Internal storage structures and access methods
6. Which of the following is an example of an implementation (representational) data
model?
a) ER Model
b) File System Model
c) Relational Model
d) Object-Oriented Model
Answer: c) Relational Model
7. The ER model is an example of which type of data model?
a) Physical Data Model
b) Logical Data Model
c) Implementation Data Model
d) Conceptual Data Model
Answer: d) Conceptual Data Model
8. Which of the following is NOT a component of an Entity-Relationship (ER) Model?
a. Entity Set
b. Relationship Set
c. Data Dictionary
d. Attributes
Answer: c) Data Dictionary
9. In an ER model, a weak entity set is identified by:
a. A primary key
b. A discriminator attribute
c. A foreign key and a primary key of a strong entity
d. Its own unique attributes
Answer: c) A foreign key and a primary key of a strong entity
10. What is the primary purpose of an ER model?
a) To define the physical storage structure of a database
b) To design a database at the conceptual level
c) To execute SQL queries
d) To manage transactions in a database
Answer: b) To design a database at the conceptual level
11. In an ER diagram, which component represents an entity?
a) Rectangle
b) Diamond
c) Oval
d) Line
Answer: a) Rectangle
12. Which of the following is an example of a weak entity?
a) Employee
b) Order
c) Payment
d) Dependent
Answer: d) Dependent
13. Which of the following is a characteristic of a strong entity?
a) It depends on another entity for its existence
b) It does not require a primary key
c) It has a primary key that uniquely identifies each instance
d) It is represented by a diamond in an ER diagram
Answer: c) It has a primary key that uniquely identifies each instance
14. Which type of attribute can have multiple values for a single entity?
a) Simple Attribute
b) Composite Attribute
c) Multivalued Attribute
d) Derived Attribute
Answer: c) Multivalued Attribute
15. In Chen ER notation, what type of line is used to represent a weak entity’s
relationship with a strong entity?
a) Solid line
b) Double line
c) Dashed line
d) Bold line
Answer: b) Double line
UNIT-2
16. Which of the following is NOT a feature of the relational model?
a) Tables (relations)
b) Hierarchical structure
c) Attributes (columns)
d) Tuples (rows)
Answer: b) Hierarchical structure
17. Which key uniquely identifies a tuple in a relational database?
a) Foreign Key
b) Candidate Key
c) Super Key
d) Primary Key
Answer: d) Primary Key
18. Which of the following best describes a primary key?
a) A key that uniquely identifies a record in a table
b) A key that allows NULL values
c) A key that creates redundancy in a table
d) A key used only for foreign references
Answer: a) A key that uniquely identifies a record in a table
19. If an entity has a composite attribute (e.g., Full Name = First Name + Last Name),
how is it represented in the relational model?
a) As a single column
b) As multiple columns for each sub-attribute
c) As a separate table
d) As a foreign key
Answer: b) As multiple columns for each sub-attribute
20. How are multi-valued attributes handled in the relational model?
a) By storing them as separate columns in the same table
b) By creating separate tables to store the multiple values, with foreign keys linking them
to the original table.
c) By using a composite key in the main table
d) By ignoring the attribute during conversion
Answer: b) By creating separate tables to store the multiple values, with foreign keys
linking them to the original table.
21. How are weak entities converted into the relational model?
a) By creating a separate table and assigning a primary key
b) By adding a foreign key referencing the owner entity and a partial key
c) By merging it with the owner entity
8-Marks Questions
UNIT-1
1. Describe the purpose of a DBMS and its key functionalities.
2. Explain the Three-Schema Architecture of DBMS with a neat diagram.
3. Discuss different types of database users and their roles in a DBMS environment.
16-Marks Questions
UNIT-1
1. Explain the limitations of the file processing system in detail. How does a DBMS
overcome these limitations?
2. Explain the architecture of DBMS in detail.
3. Explain the concepts of entities, relationships, and attributes in the ER model.
4. Draw an ER diagram for a university database system with entities like Student, Course,
Instructor, and Department.
UNIT-2
5. Convert an ER diagram into a relational model.
6. Given Relations:
Student (Student_ID, Name, Age, Address)
Course (Course_ID, Title, Credits)
Instructor (Instructor_ID, Name, Department)
Enrolls (Student_ID, Course_ID) → (Represents students enrolled in courses)
Teaches (Instructor_ID, Course_ID) → (Represents instructors teaching courses)