DBMS Question Bank and Assignment
DBMS Question Bank and Assignment
UNIT 1
1) Define term Database
2) List various advantages of DBMS.
3) Describe three level architecture of DBMS. Explain how it is useful for achieving data
independence.
4) Draw and list different components of Database System structure.
5) List various types of database users.
6) List responsibilities of DBA.
7) List the different types of Data Models. Explain ay Two.
8) Define term entity and entity Set.
9) Differentiate between Strong Entity and Weak Entity.
10) Explain Different types of attributes of an entity with the help of example.
11) Define Relationship Set. Give various constraints of relationship.
12) Draw E-R Diagram for University database consisting 4 entities. 1) Student 2) Department 3)
Class 4) Faculty
13) Construct an E-R diagram for a car-insurance company whose customers own one or more
cars each. Each car has associated with it zero to any number of recorded accidents.
14) List and Explain E-R Diagram Components.
EXTRA QUESTION
1) Write short note on DBMS. (Database Management system)
2) List the characteristics of DBMS.
3) Explain abstraction of DBMS.
4) Draw and discuss Database Model.
5) Discuss term E-R Model
6) Define term Data
UNIT 2
1) List types of Keys in DBMS.
2) Explain the concept of Functional Dependencies.
3) State and explain Codd’s norms for DBMS.
4) Write short note on:
-Domain Integrity-Referential Integrity and its relation with Foreign Key.
5) Define term Data Integrity.
- Super Key
- Primary Key
- Candidate Key
9) List the proper�es of Decomposi�on. Explain loss less join with the help of Example.
11) Define term Normaliza�on. State and explain 2NF and 3NF.
i) A E
ii) BC DF
iii) AC D
iv) A BC
EXTRA QUESTION
1) Define concepts of views along with its operations.
2) Explain advantages of Views.
3) Define term Relational Model.
4) Explain 4NF.
5) Explain 5NF and Join Dependency.
6) Explain 1NF.
7) Explain 2NF.
8) State and Explain 3 NF.
9) Explain concept of functional Dependency.
10) Explain all types of Integrity with the help of example.
11) Explain the term “Referential Integrity” and its relation with foreign key.
12) Write short note on Integrity constraints.
UNIT 3
1) Explain role of SQL with the help of example.
2) Discuss various MySQL data types.
3) Explain DDL commands.
4) Write short note on DML Commands.
5) Differentiate between Data Definition Language and Data Manipulation Language.
6) List various data Definition statements in SQL.
7) Explain CREATE command with the help of example.
8) Justify “Why Domain Integrity is important in Database?”
9) Explain the concept of view along with its operations.
10) List types of Views.
11) What is Natural Join? Give its syntax.
12) Consider the following relations for database that keeps track of student enrolment in
courses and books issued for each course.
STUDENT (SSN, Name, subject, DOB)
COURSE (Course_id, Name, Department)
ENROLL (SSN, Course_id, Semester, Grade)
BOOK (Course_id, Semester, ISBN)
TEXT (ISBN, Title, Publisher, author)
Write any 5 SQL Queries:
1) Write a query to select all courses available in Institute.
2) Find all student details registered for course id 10.
3) Find various book titles and authors
EXTRA QUESTION
1) Define term query.
2) Describe DROP TABLE command of SQL with both the options CASCADE AND RESTRICT.
3) Explain RENAME Command with the help of Example.
4) Explain TRUNCATE Command with the help of Example.
5) Explain the purpose of Foreign Key.
6) List advantages of Views.
7) Explain ‘SELECT’ CLAUSE. Give its syntax.
8) Explain ‘ORDER BY CLAUSE’.
9) Define term Aggregate Function.
10) Discuss term Cartesian product.
11) Explain various types of Outer Join Operations with the help of Example.
12) Consider table students_academic_details with the following columns.
Roll no, student_name, Class, Division, Faculty, Marks_subect1, Marks_subject2,
Marks_subject3. Write the following Queries:
1) Find average marks in each subject faculty wise.
2) Find the number of students in each division of each class.
3) Find sum of all the m1, m2, m3 subject marks.
4) Display the class and the number of students where no>3
5) Find minimum, maximum and average marks of m1, m2 and m3 subject.
UNIT 4
1) Define term stored Procedures.
2) List benefits of Stored Procedures.
3) Describe term Trigger. Explain trigger with example.
4) Differentiate between static and Dynamic SQL.
5) Explain term Transaction Processing in DBMS.
6) Explain detailed architecture of Transaction Management.
7) Discuss the possible causes of Transaction Failure.
8) Explain the transaction processing with the help of state Diagram.
9) Write short note on: Commit and rollback.
EXTRA QUESTION
1) Explain embedded SQL.
2) Explain dynamic SQL.
3) Explain the significance of ACID Properties.
4) Define term View.
5) Define Serializability. Explain conflict and View Serializability.
UNIT 5
1) Define term Concurrency Control. Explain the stamp based Concurrency control.
2) List down all possible Recovery Methods.
3) List the operations to be performed by the system when a checkpoint is to be
taken. What does the recovery system do if there is a crash?
4) Define term Database Backup. Why Database backup is needed? Explain types of
database backup?
5) Define term Recovery. Explain types of Recovery (forward and Backward Recovery).
6) List advantages of Distributed Database systems.
7) List and explain the advantages of NoSQL databases.
8) Differentiate between SQL and No SQL Databases.
9) Write short note on Mobile Database. Also state the functionality required for
Mobile Database.
10) List various benefits of Mobile cloud computing.
EXTRA QUESTION
1) Explain various problems of Concurrent Executions.
2) Explain Concept of Locking. Also discuss the types of Locks.
3) Explain two phase locking protocol and its disadvantages.
4) Define term Deadlock. Explain how Deadlock detection and prevention is done.
5) Explain time stamp based concurrency Control.