Q.1 Multiple Choice Questions (6 × 1 = 6 Marks)
- Which of the following is not an advantage of DBMS?
- Data redundancy control
- Improved data security
- High maintenance cost
- Data consistency
- Data abstraction in DBMS is mainly used to:
- Hide irrelevant details
- Improve query speed
- Remove duplicate records
- Store backup copies
- In E-R diagrams, a diamond represents:
- Entity
- Attribute
- Relationship
- Primary Key
- Which of the following is a valid relational algebra operation?
- Join
- Sum
- Multiply
- Loop
- Which SQL command is used to remove a table?
- DELETE
- DROP
- REMOVE
- ERASE
- A foreign key is used to:
- Ensure data security
- Maintain referential integrity
- Speed up queries
- Remove redundancy
Q.2 Answer the following (2 × 3 = 6 Marks)
- Explain logical data independence with an example. (3)
- Differentiate between strong entity and weak entity with suitable examples. (3)
Q.3 Answer the following (2 × 4 = 8 Marks)
- Draw and explain a sample E-R diagram for a university database with students, courses, and enrollments. (4)
- Explain integrity and referential constraints in the relational model with suitable SQL examples. (4)