DBE Model Questions
DBE Model Questions
Define data model. Describe the different record based data models with suitable
examples
Define DBMS. Discuss the advantages of database system over traditional file
processing system
Draw and explain the three schema architecture in database design. Write the
importance of data abstraction in DBMS.
Explain about different types of database integrity constraints?
Draw the ER diagram for the following descriptions
A Company contains several Departments. Each Department have several Locations.
Departments are identified by a department name, Department no and Department
Locations. Managers control a particular department. Each Department is associated
with number of projects. Each of which has a unique
name, a unique number, and a single location. Employees are identified by name, id,
address, dob, phone no, date_of_joining and years of experience. We will keep track
of the direct supervisor of each employee (who is another employee). An employee
belongs to only one department but can work on several project. We also keep track
of number of hours worked by an employee on a single project. Each employee has
dependent. Dependents have D_name, Gender, and relationship.
Compare and contrast Generalization with Specialization. Draw suitable diagrams for
each of them
Convert the following ER Model into equivalent relational model.
Solve the following queries by using Relational Algebra and SQL
Suppliers (Sno, Sname, City)
Parts (Pno, Pname, Pcolour)
Supply (Sno, Pno, Quantity)
Find the names of suppliers who supply Red part
Find the names of suppliers who supply some red or green parts
From the following database schema:
Employee (eid, ename)
Assigned_to (pnum, enum)
Project (pnum, pname, supervisor)
Solve the Queries using Relational Algebra:
i) Retrieve the details of employees who work on ‘Database’ project.
ii) Retrieve the details of employees who work on project number C353.
iii) Retrieve the employee number of employees who work on all projects.
iv) Retrieve the employee number of employees who do not work on project number
C453.
Explain all the DDL and DML commands of SQL
Outline the features of SQL. Explain different DDL and DML operations with
suitable examples.
Compare Relational Algebra with Relational Calculus. Discuss about Join
operations with examples.
What are the advantages of outer join in relational algebra. Explain different outer
join operations with suitable examples
Explain the steps to find minimal cover. Find the minimal cover for the following set
of functional dependencies of R (A B C D). F: (A->B, C->B, D->ABC, AC->D)
State Normalization. Discuss the different normal forms with examples (up to BCNF)
Explain all the inference rules to infer additional functional dependencies from the
given set of functional dependencies. Consider the relation R (A B C D E F G H I J)
and the set of functional dependencies F=- {AB->C, BD->EF, AD->GH, A->I, H-
>J}. Find the key for R. Decompose R up to 3NF.
Test whether the two given sets of functional dependencies are equivalent or
not?
R (ABCDE)
F= {A->BC, AB->C, D->AC, D->E}; G= {A->BC, D->AE}.
Define Read and Write operations in a transaction. Draw and explain the state
transition diagram of a transaction.
Differentiate between serial and non-serial schedule in transaction. Briefly explain the
different problems that occurs due to concurrent execution of transactions with
examples
Q. Consider R(A,B,C,D,E) with the FD Set F(A->B, A->C, DE->C, DE->B, C->D):
Relation R is decomposed into R1(A,B,C), R2(B,C,D,E) and R3(A,E). Check whether
decomposition is dependency preserving or not.
F = {A → B, B → C, and C → D}.
F = {A → B, B → C, and C → D}.
F = {A → B, B → C}.
A→B,C→D
Is the decomposition of R into R1(A, B) and R2(C, D) lossless?
P→Q
Q→R
R→S
S→T
Decomposition:
R1(P, Q)
R2(Q, R)
R3(R, S)
R4(S, T)
U → VW
V→X
W→Y
Decompose R into:
R1(U, V, W)
R2(V, X)
R3(W, Y)
A → BC
CD → E
E→A
Decomposition:
R1(A, B, C)
R2(C, D, E)