Database Management System: Important Questions Unit-1
Database Management System: Important Questions Unit-1
1. Describe the three-schema architecture. Why do we need mappings between schema levels?
2. Consider following relational schema:
Student (s_no, s_name, s_address, class), Teacher (t_name, t_address, dept, specialization)
Lecture_schedule (day, time, room_no, class, subject), attendance (data, subject, s_no)
Draw E-R diagram. Identify the relationships and also indicate mapping cardinalities.
3. Discuss the main characteristics of database approach and how it differs from traditional file
system.
4. When is the concept of a weak entity type used in data modeling? Define the terms owner
entity type, weak entity type, identifying relationship type and partial key.
5. What is the difference between specialization and generalization? Why we do not display the
difference in schema diagram?
6. What is the Data Model? Explain Data independence with suitable diagram.
7. Explain Super key, Candidate key, Primary key and Partial key with example.
8. Describe Generalization, Specialization with example and reduce it into tables (Record need
not require).
9. Draw the E-R Diagram of registration process of the student in a particular course, convert
the ER diagram into tables also (Records need not require).
10. Explain all database languages in detail with examples.
11. Explain the differences between physical level, conceptual level and view level of data
abstraction.
1 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
12. Draw an E-R diagram for a small marketing companydatabase, assuming your own data
requirements.
13. What do vou mean by a key to the relation ? Explain the differences between super key,
candidate key and primary key.
2 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
1. Define Relational calculus and their types. Explain it with suitable examples.
2. Discuss Join and types with suitable example.
3. What do you mean by referential integrity? Explain the concept of foreign key with a suitable
example?
4. What are the differences in Cartesian product and natural join operations? Explain with a
suitable example.
5. Discuss the entity integrity and referential integrity constraints. Why each is considered
important?
6. What is union compatibility? Why do union, intersection and difference operations require
that the relations on which they applied be union compatible?
7. Explain tuple relational calculus and domain relational calculus by taking suitable example.
8. With an example show how a referential integrity can be implemented
9. Explain embedded SQL and dynamic SQL in detail.
10. What are the relational algebra operations supported in SQL? Write the SQL statement for
each operation.
11. Consider the following relation. The Primary key is Rollno, Isbn, Student(RollNo, Name,
Branch), Book(Isbn, Title, Author, Publisher) Issue(Rollno, Isbn, date_of_issue). Write the
query in Relational algebra and SQL of the following)
a. List the Roll Number and Name of All CSE Branch Student.
b. Find the name of students who have issued a book of publication ‘BPB’.
3 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
c. List the title and author of all books which are issued by a student name started with
a.
d. List the title of all books issued on or before 20/09/2012.
e. List the name of student who will read the book of author named ‘Sanjeev’.
12. Give the following queries in the relational algebra using the relational schema:
student(id, name),
enrolled(id, code) *.
subject(code, lecturer)
a. What are the names of students enrolled in cs3020?
b. Which subjects is Hector taking?
c. Who teaches cs1500?
d. Who teaches cs1500 or cs3020?
e. Who teaches at least two different subjects?
f. What are the names of students in cs1500 or cs307? _
g. What are the names of students in both cs1500 and cs1200?
4 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
5 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
6 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
7 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
9. What is log based recovery? Explain the difference between deferred and immediate database
modification. How checkpoint reduce the overheads in database modification?
10. Explain the role of check pointing in detail
11. Discuss about the deadlock prevention schemes.
12. What are schedules ? What are differences between conflict serialzabilty and view
serialzability ? Explain with suitable example what are cascadeless and recoverable schedules
?
13. What are distributed databases ? List advantages and disadvantages of data replication and
data Fragmentation. Explain with a suitable example. what are differences in replication and
fragmentation transparency.
14. What do you mean by multiple granularities ? How it is implemented in transaction system ?
8 University Academy
Amrapali Castle Chi-V, Greater Noida, Uttar Pradesh -201310
Email: [email protected], Website: www.universityacademy.in,
YouTube: www.youtube.com/c/UniversityAcademy
9 University Academy