100% found this document useful (2 votes)
882 views2 pages

1st Midterm paperDBMS

This document is the mid-semester exam for a database management systems course. It contains 6 questions across 3 units: 1) The first unit asks about database architecture and data independence, as well as schema vs instance and physical vs logical data independence. 2) The second unit covers relational algebra operators and relational calculus types, as well as join operations and SQL commands. 3) The third unit addresses functional dependencies, normalization, and provides an SQL database schema to write queries for employee and department data including salaries, hire dates, designations, and counts.

Uploaded by

shubh agrawal
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
100% found this document useful (2 votes)
882 views2 pages

1st Midterm paperDBMS

This document is the mid-semester exam for a database management systems course. It contains 6 questions across 3 units: 1) The first unit asks about database architecture and data independence, as well as schema vs instance and physical vs logical data independence. 2) The second unit covers relational algebra operators and relational calculus types, as well as join operations and SQL commands. 3) The third unit addresses functional dependencies, normalization, and provides an SQL database schema to write queries for employee and department data including salaries, hire dates, designations, and counts.

Uploaded by

shubh agrawal
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

Gyan Ganga Institute of Technology & Science, Jabalpur

First Mid-Semester Examination, October 2020

Branch: CS1,2,3 Subject: DBMS


Semester: V Subject Code: CS502
Max. Marks: 60 Time: 2 hours
Attempt all questions. All questions carry equal marks

Unit 1

1. A. Discuss three level architecture of DBMS and explain how it leads to data
independence?

B. Differentiate - a) Schema V/S Instance b) Physical V/S Logical Data Independence

OR
2. A. Explain the various Data models with example?

B. What are the types of integrity constraints? Explain with examples.

Unit 2

3. A. What is relational Algebra? Explain with any two operators.


B. Explain Inner Join and Outer Join with examples
OR
4. A. What is Relational Calculus. Explain the different types.
B. Explain Cross Join and Natural Join by giving appropriate SQL commands.

Unit 3

5. A. Explain functional dependencies and its types with example?


B. Define Normalization and its advantages in Database operations

OR

6. Write SQL Queries for the following SQL Database-


Employees (empno, ename, deptno, desg, sal, comm, mgrcode, hiredate)
Departments (deptno, dname, loc)

a) List Names of Employees along with their Salary and hire date for those employees
who earn between 20000 and 50000
b) List the desg (designations) which are exclusive to dept=20
c) List the employee name along with their department name
d) List all the unique department numbers from the employees table.
e) List count of employees, Maximum Salary and Minimum Salary along with their
department name

You might also like