Unit 2: E-R Modeling - Subjective Questions

CAP570 — Advanced Database Techniques • Practice Questions with Detailed Answers

20 questions

1

Define an Entity–Relationship (ER) model. Explain its purpose and describe the major components used in ER modeling.

2

Explain entity types, entity sets, and entity instances with suitable examples.

3

Describe the different types of attributes in an ER model with examples.

4

Explain relationships in ER modeling. Discuss relationship types, relationship sets, and relationship degree.

5

Differentiate between strong entities and weak entities in an ER model. Explain the role of a partial key.

6

Explain the common ER diagram notations used for entities, attributes, relationships, and constraints.

7

Explain cardinality ratios and participation constraints in ER modeling with examples.

8

Compare specialization and generalization in enhanced ER modeling. Include their constraints and an example.

9

Describe the procedure for converting a strong entity type into a relational schema.

10

Explain how a one-to-one relationship is converted into relational schemas. Discuss the choice of foreign key placement.

11

Explain the conversion of one-to-many and many-to-many relationships into relational schemas.

12

Explain how weak entities and ternary relationships are mapped to relational schemas.

13

Define the ACID properties of transactions and explain why they are essential for reliable database systems.

14

Describe how atomicity and durability are implemented in a database management system.

15

Explain consistency and isolation in transactions. How do integrity constraints and concurrency control support these ACID properties?

16

What are domain constraints, key constraints, entity integrity, and referential integrity? Explain each with an example.

17

Define a super key, candidate key, primary key, alternate key, and foreign key. Illustrate their differences using an example.

18

Explain composite keys, surrogate keys, and natural keys. Compare their advantages and disadvantages.

19

Derive a relational schema for a university registration system containing students, courses, departments, instructors, and enrollments. State the keys and constraints.

20

Explain the differences between an ER model and a relational model. Discuss how the ER model supports database design.