Skip to content
Previous Year Question Paper

CS-502 - Database Management Systems

December 2025•CSE•SEMESTER-5
December 2025
Max Marks: 70
Duration: 3 Hours
Instructions:

• Attempt any five questions.

• All questions carry equal marks.

Q.1
a)Unit 1

Explain the Database approach and compare it with the traditional file processing system. Discuss advantages of database systems.

b)Unit 1

Explain Data models, schemas, and instances. What is data independence?

Q.2
a)Unit 1

Describe the ER data model. Explain entities, attributes, and relationships with examples.

b)Unit 2

Draw an ER diagram for a library system and transform it into relational tables.

Q.3
a)Unit 2

Explain relational data model concepts: relations, attributes, tuples, domains, and keys.

b)Unit 2

Write SQL queries to : (i) create a table STUDENT(Roll No, Name, Marks), (ii) insert two records (iii) retrieve students with Marks > 60

Q.4
a)Unit 3

Explain normalization and functional dependency. Discuss first, second, and third normal forms.

b)Unit 3

Normalize the relation R(A, B, C, D) with dependencies: A \to B, B \to C, C \to D to the highest normal form.

Q.5
a)Unit 3

Explain query optimization and its importance. Describe heuristic and cost-based optimization.

b)Unit 2

For relations EMP(Eid, Dept) and DEPT(Dept, Dname), write relational algebra expressions to find employee names working in 'Sales'.

Q.6
a)Unit 4

Explain transaction processing and serializability. Differentiate between conflict and view serializability.

b)Unit 4

Determine whether the schedule is conflict serializable: R1(X), W1(X), R2(X), W2(X), R1(Y), W1(Y).

Q.7
a)Unit 4

Explain Concurrency control techniques: locking and time-stamping protocols.

b)Unit 4

Explain Log-based recovery and checkpoints with an example.

Q.8
a)Unit 5

Explain Oracle/MySQL architecture and main memory structures.

b)Unit 5

Write SQL queries to demonstrate: (i) equi-join, (ii) outer join, and (iii) a nested query using EXISTS.