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

Model Question Paper of Data Base Management System

This document contains a model question paper for the subject Database Management Systems. It includes 6 sections with multiple choice and short answer questions. The questions assess different cognitive levels and cover the following topics: [1) database schema architecture and data models; 2) relational algebra operations, normalization, and ER diagrams; 3) SQL queries; 4) constraints, triggers, indexes; 5) views and database recovery operations.] The paper aims to evaluate students' understanding of fundamental database concepts, design, querying, programming and administration.

Uploaded by

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

Model Question Paper of Data Base Management System

This document contains a model question paper for the subject Database Management Systems. It includes 6 sections with multiple choice and short answer questions. The questions assess different cognitive levels and cover the following topics: [1) database schema architecture and data models; 2) relational algebra operations, normalization, and ER diagrams; 3) SQL queries; 4) constraints, triggers, indexes; 5) views and database recovery operations.] The paper aims to evaluate students' understanding of fundamental database concepts, design, querying, programming and administration.

Uploaded by

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

THE NATIONAL INSTITUTE OF ENGINEERING

Department of Computer Science and Engineering


Model Question Paper
Subject: Database Management Systems Subject code: CS5C03 Semester: 5
Time: 3 hrs Max. Marks: 100
Note: Answer all the questions
Q. Cognitive
COs Questions Marks
No. Level

1a L2 Explain the three-schema architecture with a diagram. 10


CO1
1b L2 List and explain the different database models. 8

2a L2 Describe any 4 relational algebra operations along with examples. 8


CO2
2b L2 Define normalization. Explain 2NF and 3NF with an example. 10

Or
Write the ER diagram of Library Management System. Assume suitable
2c L2 entity types, attributes and relationships. Also indicate the cardinality 10
CO2 ratios.
Why constraints are applied on relationships? Explain the 2 types of
2d L2 8
relationship constraints.

Consider the following database schema:


Student (Stuno, Name, Class, Major)
Course (CourseNo, CourseName, Credit, Department)
Section (Sid, CourseNo, Semester, Year, Instructor)
Grade_Report (Stuno, Sid, Grade)
Write SQL queries for the following:
i) Retrieve the names of all the courses taught by Professor Sinha in
3a L3 2012 and 2013. 8
CO3 ii) For each section taught by Professor Sinha, retrieve the
CourseNo,
Semester, Year and number of students who took the section.
iii) Retrieve the names and major departments of all students who
have a grade of A in all their courses.
iv) Retrieve the names of the student and course, which got
maximum of A grades.

3b L2 Define stored procedure. Explain with an example. List its advantages. 10

Or

Define database transaction. Explain the ACID properties of a database


3c L2 CO3 8
transaction.

Page 1 of 2
3d L2 Explain the two-phase locking protocol. 10

Explain how Unique, Primary key and Not Null constraints can be
4a L2 6
applied. Illustrate with examples.
Define Trigger. What caution need to be taken while writing trigger?
4b L2 CO4 6
Also explain how to create a trigger in SQL.
Define indexes. Explain the differences between a balanced binary tree
4c L2 6
index and a B-tree index.

Define view. Explain materialized view and explain the syntax for
5a L2 8
creating views.
CO5
List the major operations involved in database recovery. Explain any two
5b L2 10
operations.

6a L1 CO1 Define main memory databases. 2

6b L1 CO2 Define Ad-hoc databases. 2

Write an example query for the relational schema given in question 3a to


6c L3 CO3 2
generate a sample report.
6d L2 CO4 Explain the costs associated with indexes. 2

With reference to a real-world example and its failure, explain how we


6e L2 CO5 2
can recover from database failure.

Page 2 of 2

You might also like