Professional Documents
Culture Documents
Enlist and explain the advantages of DBMS over traditional file system. 7 Winter-19
1 Explain advantage of database management system over a file oriented system. 5 7 Winter-18
8 Explain the difference between physical and logical data independence. 1 4 Summer-20
3 Explain the difference between a weak and a strong entity set. 3 3 Winter-17
Differentiate strong entity set and weak entity set. Demonstrate the concept of both
7 Winter-20
using real-time example using E-R diagram.
4 What do you mean by integrity constraints? Discuss various integrity constraints. 1 3 Winter-19
11 Draw E-R diagram for student management system with the necessary assumption. 1 7 Summer-21
S. S. AGRAWAL INSTITUTE OF ENGINEERING & TECHNOLOGY, NAVSARI
3RD SEM /2ND YEAR COMPUTER ENGG. DEPARTMENT
Database Management Systems-3130703
GTU PREVIOUS EXAM ASKED QUESTIONS
(LAST EIGHT PAPERS)
Describe the differences in meaning between the terms relation and relation
2 3 Summer-20
schema.
2
List the type of joins in relational algebra.
1 4 Winter-20
Explain with example
The relational database schema is given below.
employee (person-name, street, city)
works (person-name, company-name, salary)
company (company-name, city)
manages (person-name, manager-name)
Write the relational algebra expressions for the given queries.
3 1.Find the names of all employees who work for First Bank Corporation. 1 4 Winter-19
2.Find the names and cities of residence of all employees who work for First Bank
Corporation.
3.. Find the names, street address, and cities of residence of all employees who work
for First Bank Corporation and earn more than $10,000 per annum.
4. Find the names of all employees in this database who do not work for First Bank
Corporation.
5 1 7 Winter-17
Explain steps of query processing with the help of neat diagram. 7 Summer-18
3 Explain the purpose of sorting with example with reference to query optimization. 1 4 Summer-19
4 Explain the measures of finding out the cost of a query in query processing. 1 4 Summer-19
6 List the techniques to obtain the query cost. Explain any one. 1 7 Winter-20
S. S. AGRAWAL INSTITUTE OF ENGINEERING & TECHNOLOGY, NAVSARI
3RD SEM /2ND YEAR COMPUTER ENGG. DEPARTMENT
Database Management Systems-3130703
GTU PREVIOUS EXAM ASKED QUESTIONS
(LAST FOUR PAPERS)
List and explain ACID properties with respect to Database transaction. 3 Winter-20
What is log based recovery? Explain Immediate database modification technique for
2 5 3 Winter-18
database recovery.
What is log based recovery? Explain Immediate database modification technique for
3 Summer-18
database recovery.
What is log-based recovery? List and explain various fields use in log records for log-
3 Summer-21
based recovery.
What is the use of two-phase locking protocol in concurrency control? Describe the
1 7 Summer-21
two-phase locking protocol in detail.
Explain conflict serializability with the help of suitable example. 3 Winter-19
What is the schedule in truncation? How to identify that the given schedule is
7 Summer-21
conflict serializable? Explain with example.
What is deadlock of transaction? Explain wound wait technique for prevention of
3 Winter-18
deadlock.
What is deadlock of transaction? Explain wound wait technique for prevention of
3 Summer-18
deadlock.
7 Explain various types of LOCKs used in Lock base protocol for concurrency control. 1 3 Winter-17
Define transaction. Explain various states of transaction with suitable diagram. 4 Winter-18
8 Define transaction. Explain various states of transaction with suitable diagram. 3 4 Summer-18
10 What is transaction? What are the functions of commit and rollback? 1 4 Summer-20
2 What is the difference between data security and data integrity? 1 3 Summer-19
Write & explain two rules in the Bell-LaPadula model for mandatory access control. 1 3 Summer-17
3
Describe two rules of mandatory access control. 1 3 Summer-21
List the reason why NULL values introduces might be introduces in database 4 Winter-18
3 2
List reasons why null values might be introduced into the database. 3 Winter-17
Define view. Write syntax to create view .Give an example of view. 3 Summer-18
4 2
Define View. Explain with appropriate example. 4 Winter-17
7 Describe the following SQL functions: (i) Add_months(x,y) (ii) Rtrim() (iii) To_date 1 3 Summer-19
Consider the tables given below. Write the SQL queries for the questions given below:
T1 ( Empno, Ename , Salary, Designation,)
T2 (Empno, Deptno.)
(1) Display all the details of the employee whose salary is lesser
than 10000.
(2) Display the Deptno in which Employees with name starting with letter ‘S’ is
11 1 7 Winter-19
working.
(3) Add a new column Deptname in table T2.
(4) Change the designation of Geeta from ‘Manager’ to ‘Senior Manager’.
(5) Find the total salary of all the employees department wise.
(6) Add Empno as primary key in existing table T1.
(7) Display the Deptno having highest number of employees.
Consider following relations and write SQL queries for given statements.
Assume suitable constrains.
Instructor(ID, Name, Dept_name , Salary)
Teaches(ID, Course_id, Sec_id, Semester(even/odd),Year)
14 1) Write SQL query to create Instructor table. 1 7 Winter-17
2) Find the average salary of the instructors in computer department.
3) Find the number of instructors in each department who teach a course in even
semester of 2016.
4) Find the names of instructor with salary amounts between 30000 and 50000.
What is Data Definition Language? List DDL statements and explain anyone with an
16 1 3 Summer-21
example.
What are the importance of Primary key and Unique key in database? Explain with
17 1 4 Summer-21
example.
S. S. AGRAWAL INSTITUTE OF ENGINEERING & TECHNOLOGY, NAVSARI
3RD SEM /2ND YEAR COMPUTER ENGG. DEPARTMENT
Database Management Systems-3130703
GTU PREVIOUS EXAM ASKED QUESTIONS
(LAST EIGHT PAPERS)
4 What is PL/SQL. Explain the difference between SQL and PL/SQL. 1 3 Winter-19
5 Write a PL/SQL block to print the sum of Numbers from 1 to 100. 1 3 Summer-19
Write a PL/SQL program for inserting even numbers in EVEN table and odd number
6 1 7 Winter-17
in ODD table from number 1 to 50.
7 Write a PL/SQL block to print the given number is prime or not. 1 3 Summer-19
8 Write a PL/SQL block to print the given number is odd or even. 1 4 Summer-20
9 Write a PL/SQL block to print the sum of even numbers from 1 to 50. 1 4 Summer-20