SlideShare a Scribd company logo
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
Short type Question: (With chapter)
1. What is the difference between a primary key and a candidate key? [Introduction to database
system]
2. Mention the various categories of Data Model. [ Data Model]
3. Define: Entity Type, Entity Set and Value Set. [ER model]
4. What is the difference between multi valued and derived attributes? [ ER model]
5. Differentiate between procedural and non procedural language with example. [Query language]
6. What is generalization? How it differs from specialization? [ER model]
7. Draw the ER diagram for the following entity sets.
Movies (Title, year, length, film type)
And Stars(name, address) [ER model]
8. What is isolation and concurrent access in DBMS?
9. What do you mean by schema and instances?
10. What is the difference between physical data independence and logical data independence?
11. Differentiate between foreign Key and references. [ER model]
12. Find the tuple calculus representation for the following SQL query :
Select R1.A, R2.B from R1, R2 whereR1.b=R2.a;[Query languages]
13. What is the need of DBMS? [Introduction to database system]
14. What do you mean by data integrity? [Introduction to database system]
15. What is ER model? [ER model]
16. What do you mean by weak entity set? [ ER model]
17. What are the different aggregate functions in SQL? [Query languages]
18. Define query language. [Query Languages]
19. What is the job of DBA? [Database languages]
20. What are the different levels of data abstraction? How those are linked with data dependence?
[Introduction to database system]
21. Define integrity rules and constraints.[ ER model]
22. Give an example of a weak entity set and explain why it is weak. [ER model]
23. What are the differences between Relational algebra and relational calculus? [ Database languages]
24. Write down two DML statements for database recovery and explain it.[Database languages]
25. Let R=(A,B,C,D) and functional dependencies
(1) A->C, (2) AB->D. What is the closure of {A,B} ? [ Database design]
26. What do you mean by multi-valued dependency? [ Database design]
27. Define and differentiate between Natural Join and Inner Join. [ Database design]
28. Consider a multilevel index with fan-out=4 used to index 25 records, draw the structure. (1) A->C,
(2) AB->D. What is the closure of {A, B}? [ Database design]
29. For a relation R(A,B,C,D) with the dependency among numeric field values: 6= 2A + B and 9 = 2E.
Draw the E-R diagram. [ Database design]
30. What is a query tree? Draw the query tree for the following SQL query: Select R1 .A, R2.B from R1,
R2 where R1. b=R2.a; [ Query processing]
31. For, the following set of dependencies :
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
{A -> BC, B-> D,C -> DE, BC ->F} Find primary key of the relation. [ Database design]
32. What do you mean by RAID? [ Database design]
33. What is fully functional dependency? Give an example. [ Database design]
34. What is multivalued dependency? [ Database design]
35. What are the two techniques to prevent deadlock? [Concurrency control]
36. What is meant by Concurrency? [Concurrency control]
37. What do you mean by atomicity? Explain with example. [Transaction processing]
38. What is meant by two phase commit protocol? [Concurrency control]
39. Explain one of the pessimistic concurrency control scheme with example. [Concurrency control]
40. What is the difference between REDO and UNDO operation? [Database recovery]
41. What is mean by concurrency? [Concurrency control]
42. What do you mean by serializability in transaction processing? [Concurrency control]
43. What do you mean by ACID properties of a transaction? [Transaction processing]
44. For the following operations:
T1 : read (x) ;
x=x+10;
write(x);
T2: read(x);
read(x);
For simultaneous execution Which problem can happen? [Transaction processing]
45. What is a timestamp? If TS (Ti)>TS (Tj)then which transaction is younger? Justify. Consider TS (Ti)
is the timestamp of transaction Ti. [Transaction processing]
46. What is serial schedule? [Transaction processing]
47. What is transaction atomicity? [Transaction processing]
48. What is two phase locking? [Concurrency control]
49. What is canonical cover? Explain with example.
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
Long Questions:
1. Define entity, attribute and relationships as used in relational databases. Describe purpose of E-R
Model. Illustrate your answer with an example. [ER model]
2. What are the major components of the relational model? What is simple relational database ?What are
two models in which you can use SQL ? [Data model]
3. What is an object-oriented database? What are its advantages compared „to relational database?
Explain some applications where an object-oriented database may be useful.
[Introduction to database system]
4. Consider the following tables :
A B C
3 7 9
8 6 5
Show the semantics and the output of the following query :
SELECT * FROM S, R WHERE S.A = R.A AND S.B = R.G ; [Database languages]
5. List out the fundamental operators and additional operators in relational algebra.
[Relational algebra]
6. Explain the two conditions needed for the set difference operation (union operation) to be valid.
[Relational algebra]
7. List at least four advantages of using a database management system over a traditional file
management system. Are there any disadvantages of DBMS?[Introduction to database system]
8. What is abstraction? Is it necessary for database system? Explain how database architecture satisfies
abstraction at various levels .[Introduction to database system]
9. Draw the ER diagram for the following relations.
Courses (Number, Room). Is it a weak entity set.
Depts (Name, BOD)
Lab-courses(computer alocation)
Theory-courses (name, faculty_ name) [ER model]
A F G
5 8 1
8 2 6
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
10. Consider the set of relations :
Student(name, roll,mark)
Score(roll,grade)
Details(name,address)
For the following query:
"Find name & address of students scoring grade 'A'," Represent it in relational algebra, tuple calculus,
domain calculus, QBE and SQL. [Query languages] eps to
11. What is a constraint? Describe its types with examples. [ER model]
12. A person can have many cars. A particular brand of car can have many owners. Draw the ER diagram
and convert it to Relational model. [ER model]
13. Draw a network model for the above problem in question 2(a) and explain.[Datamodel]
14. Describe the database architecture and explain the role of different users with respect to that
architecture. [Introduction to database system]
15. Consider the following relations:
EMPLOYEE(empno, name, office, age)
BOOKS(isbn, title, author, publisher)
LOAN(empno, isbn, date)
Write the following quries in relational algebra:
i. Find the name of the employees who have borrowed more than 5
books published by pearson.
ii. Find the name of employees who have borrowed all books published
by pearson
[Database languages]
16. What is database? Explain DBMS system architecture. [Introduction to database system]
17. Draw an ER diagram for banking system. [ER model]
18. Let the following relation schemas be given:
R=(A, B, C)
S=(D, E, F)
Let relations r(R) and s(S) be given. Give an expression in SQL that is equivalent to each of the
following queries:
i. πA(r)
ii. r * s [Query Languages]
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
19. Differentiate between the following terms:
i. Relational and object oriented data models
iii. Data definitions and Data manipulation languages [ Introduction to database system]
20. Write short notes on the following:
A. Network Model
B. RAID
C. 5NF
D. Data warehousing
E. Data mining
F. OLAP
G. OLTP
H. Dependency preservation
21. What is normalization of relation? What is a key attribute in a relation? What is the difference
between 1st Normal Form, 2nd normal form and 3rd normal form? [Database design]
22. State Armstrong‟s axioms. Show that Armstrong‟s axioms are complete. [Query processing]
23. Explain the difference between inner join and outer join. What are the restrictions on using outer join?
Give examples to support your answer. [Query processing]
24. What does the term redundancy mean? Discuss the implications of redundancy in a relational
database. [Database design]
25. Define (i) Primary key, and (ii) Foreign key, Suppose relation R(A,B,C,D,E) has functional
dependencies:
{AB ->C , D ->A, AE ->B, CD -> E, BE ->D}
Find all the candidate keys of R. [Database design]
26. Suppose we have the following relation with given data as:
Roll_no Student_name Subject_code Subject_name Marks
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
101 Aasish S01 English 80
101 Aasish S02 Physics 56
101 Aasish S03 Chemistry 63
102 Sushmita S01 English 90
102 Sushmita S02 Physics 85
102 Sushmita S03 Chemistry 91
To avoid redundancy in the first proposal we have decomposed the relation in to the following relations.
Subject (Roll_no, student_name)
And subject(subject_code, subject_name, marks))
In the second proposal it is decomposed in to the following relations.
Student(Roll_no, Student_name)
Result(Roll_no,subject_code, marks)
Subject(Subject_code, Subject_name)
State whether the decompsition are lossless or lossy. [Database design]
27. What is normalization? Is it necessary for DBMS? Expalin 4NF and 5NF with example. [Database
design]
28. Consider the three relations given below.
Order(order_no, order_date, customer_no )
Order_item(Order_no, item_no, quantity, bill_amount)
Item (item_no, item_name, unit_price) State whether the following relations are in 3NF or not if not
then what steps you should follow to bring those in to 3NF? [5][Database design]
What is query optimization? Write the Heuristic optimization algorithm and solve the query given
below:
Find the names of employees work on project name “NASA” and born after 1956.
Project (project name, Project number, Dept)
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
Employee (Emptied, P_number, DOB, name)
Work on (P_no, Emp_id) [Database design]
29. Let us consider a relation with attributes A, B, C, D, E and F. Suppose that this relation has the FD
AB->, BC->AD, D->E and CF->B . What Is the closure of {A,B} that is {AB}+
[Database design]
30. Consider the following set of data items :
A B C D
A1 1 X1 D1
A2 2 X2 D2
A3 3 X3 D3
A3 3 X3 D3
Represent it in 3NF [Database design]
31. What is the difference between 4NFand BCNF? Describe with examples. [Database design]
32. Write short notes on multivalued dependencies. [Database design]
33. Explain Armstrong‟s axioms with examples. [Database design]
40. What is normalization? Why it is required? Explain the Boyce-Codd normal form with an example.
[Database design]
42. Define transaction. Explain different states of a transaction. Differentiate between chained transaction
and nested transaction. Discuss their advantages and disadvantages. [Data mining]
43. What do you mean by concurrent operations? List two disadvantages of it. Discuss the solutions for
the problem occurs due to concurrency. [Concurrency control]
44. Explain the ACID properties associated with database transaction s. What is the lost update problem?
[Transaction processing]
45. What is collision? Discuss the various collision resolution techniques. [Database recovery]
46. What do you mean by Locking? Explain the Two phase locking with an example.
[Concurrency control]
Branch: MECH1 Sub: DBMS Semester: 3rd
PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH
47. Give an account of various types of database failure and methods to recover data. Explain with
examples. [Database recovery]
48. Describe various locks under concurrency control.[Concurrency control]
49. Define transaction. Explain ACID properties with example. [Transaction processing]
50. What do you mean by a transaction? How can you implement atomicity in transactions? Explain.
[Transaction processing]
51. Describe the concept of serializability with suitable example. [Transaction processing]
52. State the types of database failure and explain the corresponding database recovery technique.
[Database recovery]

More Related Content

PPT
Intro to relational model
PPTX
Relational Data Model Introduction
PPTX
Relational model
PDF
Relational Model - An Introduction
PPT
2 rel-algebra
PPT
9. Object Relational Databases in DBMS
PDF
Chapter 2 Relational Data Model-part1
PPT
Dbms ii mca-ch4-relational model-2013
Intro to relational model
Relational Data Model Introduction
Relational model
Relational Model - An Introduction
2 rel-algebra
9. Object Relational Databases in DBMS
Chapter 2 Relational Data Model-part1
Dbms ii mca-ch4-relational model-2013

What's hot (20)

PPTX
The Relational Model
PPTX
Database Design and Normalization Techniques
PPTX
Relational model
PDF
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
PPTX
The relational data model part[1]
PPT
Relational model
PPT
3. Relational Models in DBMS
PPTX
PPTX
Fundamentals of database system - Relational data model and relational datab...
PPT
Unit 03 dbms
PPTX
RDBMS
PPT
Oodbms ch 20
PPT
PDF
Efficiency of TreeMatch Algorithm in XML Tree Pattern Matching
PPT
Relational algebra.pptx
PPTX
Database : Relational Data Model
DOCX
Database Assignment
PDF
Chapt 1 odbms
PPTX
Relational model
The Relational Model
Database Design and Normalization Techniques
Relational model
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
The relational data model part[1]
Relational model
3. Relational Models in DBMS
Fundamentals of database system - Relational data model and relational datab...
Unit 03 dbms
RDBMS
Oodbms ch 20
Efficiency of TreeMatch Algorithm in XML Tree Pattern Matching
Relational algebra.pptx
Database : Relational Data Model
Database Assignment
Chapt 1 odbms
Relational model
Ad

Viewers also liked (20)

PDF
( Becs 2208 ) database management system
PDF
Expected questions tc
PDF
Progr1
PDF
Rdbms2010
PDF
2011dbms
PDF
Expected questions tc
PDF
Ds using c 2009
PDF
Oops model question
DOCX
Expected questions tc
PDF
2006dbms
PDF
Smqa unit iv
PDF
Smqa unit v
DOCX
Lesson plan proforma progrmming in c
DOCX
Expected Questions TC
PDF
Module wise format oops questions
PPTX
System Programming Unit II
PDF
Data structure using c bcse 3102 pcs 1002
PDF
Expected questions for dbms
DOCX
Lesson plan proforma database management system
PPTX
Loaders ( system programming )
( Becs 2208 ) database management system
Expected questions tc
Progr1
Rdbms2010
2011dbms
Expected questions tc
Ds using c 2009
Oops model question
Expected questions tc
2006dbms
Smqa unit iv
Smqa unit v
Lesson plan proforma progrmming in c
Expected Questions TC
Module wise format oops questions
System Programming Unit II
Data structure using c bcse 3102 pcs 1002
Expected questions for dbms
Lesson plan proforma database management system
Loaders ( system programming )
Ad

Similar to Expected questions for dbms (20)

PDF
dbms 1.pdf
PDF
dbms final.pdf
PDF
Introduction to the Structured Query Language SQL
PPT
Database Technology Teaching Material For Learn
DOCX
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
PPTX
DBMS Module-2 notes for engineering BE vtu
DOCX
SMU MCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
DOCX
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
PDF
Redis Project: Relational databases & Key-Value systems
DOCX
Tcs technical interview questions
PDF
Fp304 DATABASE SYSTEM JUNE 2012
PDF
PDF
Oracle sql tutorial
DOCX
Third AssignmentDescribe in 100 – 200 words an application with .docx
PDF
DBMS Important notes for education suggestion
PDF
Redis project : Relational Databases to Key-Value systems
PPT
Database concepts and Archeticture Ch2 with in class Activities
PDF
Sq lite module3
DOCX
Smu bsc it Spring 2014 solved assignments
dbms 1.pdf
dbms final.pdf
Introduction to the Structured Query Language SQL
Database Technology Teaching Material For Learn
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
DBMS Module-2 notes for engineering BE vtu
SMU MCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
Redis Project: Relational databases & Key-Value systems
Tcs technical interview questions
Fp304 DATABASE SYSTEM JUNE 2012
Oracle sql tutorial
Third AssignmentDescribe in 100 – 200 words an application with .docx
DBMS Important notes for education suggestion
Redis project : Relational Databases to Key-Value systems
Database concepts and Archeticture Ch2 with in class Activities
Sq lite module3
Smu bsc it Spring 2014 solved assignments

More from SANTOSH RATH (15)

PDF
System programming note
DOCX
Operating system notes
PDF
Os notes
PDF
OS ASSIGNMENT 2
PDF
OS ASSIGNMENT-1
PDF
OS ASSIGNMENT 3
PDF
Btech 2nd ds_2008.ppt
PDF
Btech 2nd ds_2007.ppt
PDF
Btech 2nd ds_2005.ppt
PDF
Ds using c 2011
PDF
Co question 2009
PDF
Co question 2008
PDF
Co question 2006
PDF
Co question 2010
DOC
Ds lab manual by s.k.rath
System programming note
Operating system notes
Os notes
OS ASSIGNMENT 2
OS ASSIGNMENT-1
OS ASSIGNMENT 3
Btech 2nd ds_2008.ppt
Btech 2nd ds_2007.ppt
Btech 2nd ds_2005.ppt
Ds using c 2011
Co question 2009
Co question 2008
Co question 2006
Co question 2010
Ds lab manual by s.k.rath

Recently uploaded (20)

PPTX
Welding lecture in detail for understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
Sustainable Sites - Green Building Construction
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
PPT on Performance Review to get promotions
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
additive manufacturing of ss316l using mig welding
PPTX
web development for engineering and engineering
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT 4 Total Quality Management .pptx
Welding lecture in detail for understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
bas. eng. economics group 4 presentation 1.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
573137875-Attendance-Management-System-original
Sustainable Sites - Green Building Construction
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT on Performance Review to get promotions
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
additive manufacturing of ss316l using mig welding
web development for engineering and engineering
Operating System & Kernel Study Guide-1 - converted.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT 4 Total Quality Management .pptx

Expected questions for dbms

  • 1. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH Short type Question: (With chapter) 1. What is the difference between a primary key and a candidate key? [Introduction to database system] 2. Mention the various categories of Data Model. [ Data Model] 3. Define: Entity Type, Entity Set and Value Set. [ER model] 4. What is the difference between multi valued and derived attributes? [ ER model] 5. Differentiate between procedural and non procedural language with example. [Query language] 6. What is generalization? How it differs from specialization? [ER model] 7. Draw the ER diagram for the following entity sets. Movies (Title, year, length, film type) And Stars(name, address) [ER model] 8. What is isolation and concurrent access in DBMS? 9. What do you mean by schema and instances? 10. What is the difference between physical data independence and logical data independence? 11. Differentiate between foreign Key and references. [ER model] 12. Find the tuple calculus representation for the following SQL query : Select R1.A, R2.B from R1, R2 whereR1.b=R2.a;[Query languages] 13. What is the need of DBMS? [Introduction to database system] 14. What do you mean by data integrity? [Introduction to database system] 15. What is ER model? [ER model] 16. What do you mean by weak entity set? [ ER model] 17. What are the different aggregate functions in SQL? [Query languages] 18. Define query language. [Query Languages] 19. What is the job of DBA? [Database languages] 20. What are the different levels of data abstraction? How those are linked with data dependence? [Introduction to database system] 21. Define integrity rules and constraints.[ ER model] 22. Give an example of a weak entity set and explain why it is weak. [ER model] 23. What are the differences between Relational algebra and relational calculus? [ Database languages] 24. Write down two DML statements for database recovery and explain it.[Database languages] 25. Let R=(A,B,C,D) and functional dependencies (1) A->C, (2) AB->D. What is the closure of {A,B} ? [ Database design] 26. What do you mean by multi-valued dependency? [ Database design] 27. Define and differentiate between Natural Join and Inner Join. [ Database design] 28. Consider a multilevel index with fan-out=4 used to index 25 records, draw the structure. (1) A->C, (2) AB->D. What is the closure of {A, B}? [ Database design] 29. For a relation R(A,B,C,D) with the dependency among numeric field values: 6= 2A + B and 9 = 2E. Draw the E-R diagram. [ Database design] 30. What is a query tree? Draw the query tree for the following SQL query: Select R1 .A, R2.B from R1, R2 where R1. b=R2.a; [ Query processing] 31. For, the following set of dependencies :
  • 2. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH {A -> BC, B-> D,C -> DE, BC ->F} Find primary key of the relation. [ Database design] 32. What do you mean by RAID? [ Database design] 33. What is fully functional dependency? Give an example. [ Database design] 34. What is multivalued dependency? [ Database design] 35. What are the two techniques to prevent deadlock? [Concurrency control] 36. What is meant by Concurrency? [Concurrency control] 37. What do you mean by atomicity? Explain with example. [Transaction processing] 38. What is meant by two phase commit protocol? [Concurrency control] 39. Explain one of the pessimistic concurrency control scheme with example. [Concurrency control] 40. What is the difference between REDO and UNDO operation? [Database recovery] 41. What is mean by concurrency? [Concurrency control] 42. What do you mean by serializability in transaction processing? [Concurrency control] 43. What do you mean by ACID properties of a transaction? [Transaction processing] 44. For the following operations: T1 : read (x) ; x=x+10; write(x); T2: read(x); read(x); For simultaneous execution Which problem can happen? [Transaction processing] 45. What is a timestamp? If TS (Ti)>TS (Tj)then which transaction is younger? Justify. Consider TS (Ti) is the timestamp of transaction Ti. [Transaction processing] 46. What is serial schedule? [Transaction processing] 47. What is transaction atomicity? [Transaction processing] 48. What is two phase locking? [Concurrency control] 49. What is canonical cover? Explain with example.
  • 3. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH Long Questions: 1. Define entity, attribute and relationships as used in relational databases. Describe purpose of E-R Model. Illustrate your answer with an example. [ER model] 2. What are the major components of the relational model? What is simple relational database ?What are two models in which you can use SQL ? [Data model] 3. What is an object-oriented database? What are its advantages compared „to relational database? Explain some applications where an object-oriented database may be useful. [Introduction to database system] 4. Consider the following tables : A B C 3 7 9 8 6 5 Show the semantics and the output of the following query : SELECT * FROM S, R WHERE S.A = R.A AND S.B = R.G ; [Database languages] 5. List out the fundamental operators and additional operators in relational algebra. [Relational algebra] 6. Explain the two conditions needed for the set difference operation (union operation) to be valid. [Relational algebra] 7. List at least four advantages of using a database management system over a traditional file management system. Are there any disadvantages of DBMS?[Introduction to database system] 8. What is abstraction? Is it necessary for database system? Explain how database architecture satisfies abstraction at various levels .[Introduction to database system] 9. Draw the ER diagram for the following relations. Courses (Number, Room). Is it a weak entity set. Depts (Name, BOD) Lab-courses(computer alocation) Theory-courses (name, faculty_ name) [ER model] A F G 5 8 1 8 2 6
  • 4. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH 10. Consider the set of relations : Student(name, roll,mark) Score(roll,grade) Details(name,address) For the following query: "Find name & address of students scoring grade 'A'," Represent it in relational algebra, tuple calculus, domain calculus, QBE and SQL. [Query languages] eps to 11. What is a constraint? Describe its types with examples. [ER model] 12. A person can have many cars. A particular brand of car can have many owners. Draw the ER diagram and convert it to Relational model. [ER model] 13. Draw a network model for the above problem in question 2(a) and explain.[Datamodel] 14. Describe the database architecture and explain the role of different users with respect to that architecture. [Introduction to database system] 15. Consider the following relations: EMPLOYEE(empno, name, office, age) BOOKS(isbn, title, author, publisher) LOAN(empno, isbn, date) Write the following quries in relational algebra: i. Find the name of the employees who have borrowed more than 5 books published by pearson. ii. Find the name of employees who have borrowed all books published by pearson [Database languages] 16. What is database? Explain DBMS system architecture. [Introduction to database system] 17. Draw an ER diagram for banking system. [ER model] 18. Let the following relation schemas be given: R=(A, B, C) S=(D, E, F) Let relations r(R) and s(S) be given. Give an expression in SQL that is equivalent to each of the following queries: i. πA(r) ii. r * s [Query Languages]
  • 5. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH 19. Differentiate between the following terms: i. Relational and object oriented data models iii. Data definitions and Data manipulation languages [ Introduction to database system] 20. Write short notes on the following: A. Network Model B. RAID C. 5NF D. Data warehousing E. Data mining F. OLAP G. OLTP H. Dependency preservation 21. What is normalization of relation? What is a key attribute in a relation? What is the difference between 1st Normal Form, 2nd normal form and 3rd normal form? [Database design] 22. State Armstrong‟s axioms. Show that Armstrong‟s axioms are complete. [Query processing] 23. Explain the difference between inner join and outer join. What are the restrictions on using outer join? Give examples to support your answer. [Query processing] 24. What does the term redundancy mean? Discuss the implications of redundancy in a relational database. [Database design] 25. Define (i) Primary key, and (ii) Foreign key, Suppose relation R(A,B,C,D,E) has functional dependencies: {AB ->C , D ->A, AE ->B, CD -> E, BE ->D} Find all the candidate keys of R. [Database design] 26. Suppose we have the following relation with given data as: Roll_no Student_name Subject_code Subject_name Marks
  • 6. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH 101 Aasish S01 English 80 101 Aasish S02 Physics 56 101 Aasish S03 Chemistry 63 102 Sushmita S01 English 90 102 Sushmita S02 Physics 85 102 Sushmita S03 Chemistry 91 To avoid redundancy in the first proposal we have decomposed the relation in to the following relations. Subject (Roll_no, student_name) And subject(subject_code, subject_name, marks)) In the second proposal it is decomposed in to the following relations. Student(Roll_no, Student_name) Result(Roll_no,subject_code, marks) Subject(Subject_code, Subject_name) State whether the decompsition are lossless or lossy. [Database design] 27. What is normalization? Is it necessary for DBMS? Expalin 4NF and 5NF with example. [Database design] 28. Consider the three relations given below. Order(order_no, order_date, customer_no ) Order_item(Order_no, item_no, quantity, bill_amount) Item (item_no, item_name, unit_price) State whether the following relations are in 3NF or not if not then what steps you should follow to bring those in to 3NF? [5][Database design] What is query optimization? Write the Heuristic optimization algorithm and solve the query given below: Find the names of employees work on project name “NASA” and born after 1956. Project (project name, Project number, Dept)
  • 7. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH Employee (Emptied, P_number, DOB, name) Work on (P_no, Emp_id) [Database design] 29. Let us consider a relation with attributes A, B, C, D, E and F. Suppose that this relation has the FD AB->, BC->AD, D->E and CF->B . What Is the closure of {A,B} that is {AB}+ [Database design] 30. Consider the following set of data items : A B C D A1 1 X1 D1 A2 2 X2 D2 A3 3 X3 D3 A3 3 X3 D3 Represent it in 3NF [Database design] 31. What is the difference between 4NFand BCNF? Describe with examples. [Database design] 32. Write short notes on multivalued dependencies. [Database design] 33. Explain Armstrong‟s axioms with examples. [Database design] 40. What is normalization? Why it is required? Explain the Boyce-Codd normal form with an example. [Database design] 42. Define transaction. Explain different states of a transaction. Differentiate between chained transaction and nested transaction. Discuss their advantages and disadvantages. [Data mining] 43. What do you mean by concurrent operations? List two disadvantages of it. Discuss the solutions for the problem occurs due to concurrency. [Concurrency control] 44. Explain the ACID properties associated with database transaction s. What is the lost update problem? [Transaction processing] 45. What is collision? Discuss the various collision resolution techniques. [Database recovery] 46. What do you mean by Locking? Explain the Two phase locking with an example. [Concurrency control]
  • 8. Branch: MECH1 Sub: DBMS Semester: 3rd PREPARED BY: ASST.PRFO.SANTOSH KUMAR RATH 47. Give an account of various types of database failure and methods to recover data. Explain with examples. [Database recovery] 48. Describe various locks under concurrency control.[Concurrency control] 49. Define transaction. Explain ACID properties with example. [Transaction processing] 50. What do you mean by a transaction? How can you implement atomicity in transactions? Explain. [Transaction processing] 51. Describe the concept of serializability with suitable example. [Transaction processing] 52. State the types of database failure and explain the corresponding database recovery technique. [Database recovery]