Dbms Que Bank - Unit1 and 2 Updated
Dbms Que Bank - Unit1 and 2 Updated
1. Draw the overall Database System Structure. Explain Storage manager, transaction manager
and query processor in detail (Or) Draw and explain architecture of DBMS
2. Explain with suitable example what physical data independence is? Also Explain its importance.
3. Define DBMS. Explain advantages of DBMS over file system.
4. Describe the different Levels of data abstraction
5. Elaborate the need of database views. Also explain the situations where in the view created are
updatable views
6. For the database system to be usable, it must retrieve data efficiently. The need of efficiency
has led designers to use complex data structures to represent data in the database. Developers
hide this complexity from the database system users through several levels of abstraction.
Explain those levels of abstraction in detail.
7. Explain data structure of Relational Database.
8. What is relational algebra? List and explain fundamental and additional relational algebra
operations.
9. Write a note on Extended Operators of Relational Algebra with examples.
10. What is meant by mapping cardinality? Explain different types of Cardinalities for a binary
relationship with example.
11. Explain the concept of specialization and generalization in E-R model using suitable example.
12. Explain with example how E-R diagram are converted into tables.
13. A weak entity set can always be made into strong entity set by adding to its attributes; the
primary key attributes of its identifying entity set. Outline what sort of redundancy will result
if we do so while converting into tables.
14. Draw and explain E-R diagram for Hospital Management System (5M)
15. Draw ER diagram for University enterprise.
16. Draw the ER diagram for the college ERP system.
17. A university registrar’s office maintains data about the following entities:
• courses, including number, title, credits, syllabus, and prerequisites,
• course offerings, including course number, year, semester, section number,
• instructor(s), timings, and classroom,
• Students, including student-id, name, and program; and
• instructors, including identification number, name, department and title Further, the
enrollment of students in courses and grades awarded to students in each course they are
enrolled for must be appropriately modelled.
18. Construct an E-R diagram for the registrar’s office. Document all assumptions that you make
about the mapping constraints. b) Construct appropriate tables for E-R diagram designed with
above Requirements.
19. Translate the following Entity-Relationship diagram to Relational Tables.
20. Consider a database used to record the marks that students get in different exams of different
course offerings. Construct an E-R diagram that models exams as entities, and uses a ternary
relationship, for the above database
21. Construct an alternative E-R diagram for above requirements given in {Q20} (a) that uses only a
binary relationship between students and course offerings. Make sure that only one
relationship exists between a particular student and course-offering pair, yet you can represent
the marks that a student gets in different exams of a course offering. (REFER QUE 20)
22. Assume we have the following application that models soccer teams, the games they play, and
the players in each team. In the design, we want to capture the following :
• We have a set of teams, each team has an ID (unique identifier), name, main stadium, and to
which city this team belongs
• Each team has many players, and each player belongs to one team. Each player has a number
(unique identifier), name, DoB, start year, and shirt number that he uses.
• Teams play matches, in each match there is a host team and a guest team. The match takes
place in the stadium of the host team
• For each match we need to keep track of the following: ° The date on which the game is
played ° The final result of the match ° The players participated in the match. For each player,
how many goals he scored, whether or not he took yellow card, and whether or not he took red
card. ° During the match, one player may substitute another player. We want to capture this
substitution and the time at which it took place.
• Each match has exactly three referees. For each referee we have an ID (unique identifier),
name, DoB, years of experience. One referee is the main referee and the other two are
assistant referee.
Design an ER diagram to capture the above requirements. State any assumptions you have that
affects your design
23. While reducing E-R Model into tables, whether the table to be created for relationship or not is
depend on mapping cardinality between entity sets i.e decisions needs to be taken considering
mapping cardinality is one to one, one to many, many to one or many to many. Explain in detail
the decision taken during the above situations
Unit-II
1. Explain the concept of Referential Integrity Constraint and Entity Integrity Constraint with
example.
2. Explain the distinctions among the primary key, candidate key and super key.
3. Any database to be good relational database system, Codd’s have proposed 12 rules, explain
any 5 rules proposed by Codd with example.
4. What is the impact of insert, update and delete anomaly in the design of database? How
normalization is used to remove these anomalies?
5. Explain What is meant by repetition of information and inability to represent information.
Explain why each of these may indicate bad relational database design?
6. Explain different features of good relational database design
7. What is normalization? What is the need of normalized database?
8. Explain what is normalisation? Explain with example requirements of third normal form and
second normal form?
9. Explain 3NF and BCNF and also enlist their difference.
10. Consider a table having structure Student (Roll_no, Branch_code, Marks_obtained,
Exam_name, Total_marks)
Note following points:
i) Composite Primary key for student table is (Roll_no,Branch_code)
ii) Branch_code column stores the code of branch for which students have taken
admission.
iii) Exam_name attribute is depend on both Roll_no & Branch_code
Total_marks attribute is depend on Exam_name attribute Considering above requirement state
whether the table created is in Third Normal form or not? Why? If not in Third normal for
propose the database design for above requirements which is in Third Normal
11. Explain why Database normalization is required for good relational database design? Explain
with example requirements of Second Normal Form.
12. Explain in brief with suitable example Full functional dependency & partial dependency.
13. Explain what is meant by repetition of information and inability to represent information.
Explain why each of these properties may indicate a bad relational database design.
14. Distinguish between Super key, Candidate key and Primary key.
15. Explain with example the concept of referential integrity constrain t(e.g. foreign key in SQL).
Also discuss the situations when referential integrity constraint is getting violated by insert,
update and delete operations on table.
16. One of the rule designed by CODD’s for good relational database management system is
integrity independence, which states that all integrity constraints can be independently
modified without the need of any change in the application. Justify the significance of rule in
relational database management system.
17. How Data Integrity Problem is handled with DBMS? Also list and explain different types of
constraints.
18. Convert table in Normal forms (1 NF, 2NF, and 3 NF )
SID = Student ID, S_Name= Student Name, CID = Course ID, C_Name = Course Name,
Grade = Student’s Grade in Course Faculty, F_Name = Faculty Name, F_Phone = Faculty Phone
Stud = {SID, S_Name, CID, C_Name,Grade, F_Name, F_Phone}
Functional Dependencies are:
SID → S_name
SID and CID → Grade CID → C_name
CID → F_Name
F_Name → F_phone
SID CID S_name C_name Grade F_Name F_phone
***************************
Q6) Consider following schema: account (acct-no, branch - name, balance) Depositor (cust_name,
acct - no) borrower (cust_name, loan-no) loan (loan - no, branch - name, amount) Write following
queries using SQL (any 2)
i) Find names of all customers who have a loan at the Redwood branch.
ii) Find all customers who are having an account and loan or both.