0% found this document useful (0 votes)
12 views2 pages

UCS312_MST-Even-24

This document outlines the details of a mid-semester examination for the Database Management System course at Thapar Institute of Engineering and Technology. It includes instructions for the exam, a list of questions covering various DBMS topics, and guidelines for submission. The exam is scheduled for March 22, 2024, and consists of five questions worth a total of 25 marks.

Uploaded by

iprakashbe23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

UCS312_MST-Even-24

This document outlines the details of a mid-semester examination for the Database Management System course at Thapar Institute of Engineering and Technology. It includes instructions for the exam, a list of questions covering various DBMS topics, and guidelines for submission. The exam is scheduled for March 22, 2024, and consists of five questions worth a total of 25 marks.

Uploaded by

iprakashbe23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll Number: __________________________

Thapar Institute of Engineering and Technology, Patiala


Department of Electrical and Instrumentation Engineering
MID SEMESTER EXAMINATION
B. E. (EEC, EE, EIC) Course Code: ULC501/UCS312
Course Name: Database Management
System
March 22, 2024 Friday, 3.00 – 05.00 pm
Time: 2 Hours, M. Marks: 25 Name of Faculty: Dr. Ravinder Kaur

Note: Attempt all 5 questions. Assume any missing data if required.

Sr. No. Questions Marks CO BL


Q.1 (a) “While discussing about the dependencies in DBMS, it is often said that (2) CO1 L4
logical data independence is more difficult to achieve than physical data
independence” Justify the statement.

(b) Consider an organization, DEF Corporation that relies on manual record- (3) CO1 L1,
keeping and spreadsheets to manage customer information and interactions. L2
They are considering implementing a modern system based on a database
management system (DBMS) for better customer data management and
analysis. List all the key issues that need to be well-thought-out while
moving from traditional file-based systems to modern database
management system? Justify your view in terms of consistency, data
integrity & complexity.

Q.2 (a) Identify the main components in a DBMS and briefly explain the (2) CO1 L1,
functionality of every component. L2

(b) Compare Hierarchical, Network and Relational model in tabular manner.


(3) CO1
Which model is best and why?
L4
Q.3 (a) Give an example SQL statement to create a table with a primary key (2) CO5 L3
constraint, and explain how it ensures entity integrity.

(b) Outline the differences between following terms with example


(3) CO5 L2
i. On Delete Set null and On Delete Set Cascade
ii. Drop and Truncate

Q.4 Consider the following schema given below and write the appropriate (5) CO5 L3
SQL queries
emp (eno, ename, bdate, title, salary, dno)
proj (pno, pname, budget, dno)
dept (dno, dname, mgreno)
workson (eno, pno, resp, hours)

i. Write an SQL query that returns the employees (number and


name only) who have a title of 'EE' or 'SA' and make more
than $35,000.

1
ii. Write an SQL query that returns the employees (name only) in
department 'D1' ordered by decreasing salary.
iii. Write an SQL query that returns the employee name,
department name, and employee title.
iv. Write an SQL query that list name of employees which begins
with the 'A' character.
v. Write an SQL query that returns the project name, department
name, and budget for all projects with a budget < $50,000.

Q.5 (a) Consider an E-R diagram for a hospital with a set of patients and a set of (2) CO2 L4
medical doctors. Construct appropriate tables for the given E-R diagram.

(b) Find the minimum number of tables required to represent the given ER (3) CO2 L4
diagram in relational model. Also, explain how?

-------------------------------------------------------END------------------------------------------------------------

Note: The Students can check their answer sheets on 1st April 2024 at CD 206A from
3:30-4:30pm

You might also like