Model Question DBMS
Model Question DBMS
Model Question DBMS
Discuss the main characteristics of the database approach and specify how it differs from traditional
file system.
Explain about different types of integrity constraints?
Draw and Explain in detail about the three-tier schema architecture of DBMS.
Explain entity, attributes and relationship, its types and symbols with example.
Who gave the 12 rules for relational database? Explain all rule with example.
What is Relational algebra in DBMS. Explain with example and its application also.
a) Draw transaction state diagram and describe each state that a transaction goes through during its
execution.
Explain ACID properties and illustrate them through examples?
Normalization provides normal forms? Explain about various normal forms with examples. Describe
lossless join decomposition.
Normalize following relation up to 3NF:
Bank(acno, cust_name, ac_type, bal, int_rate, cust_city, branchId, branch_nm, br_city)
Define Primary key, Foreign key and Composite Key. Give one example.
Define transaction. Draw the transaction state diagram. Explain briefly four codd’s rule in DBMS.
Draw a neat diagram for elucidating the process of Query Processing and Optimization.
Explain three schema architecture in DBMS with the help of suitable diagram.
What are different database schema languages and interfaces. Name two command used in each
database language.
Define concurrency control technique. Discuss the main problems with concurrency control
mechanism. Briefly explain the concurrency control techniques.
Define 2NF. Given a relation R (P, Q, R, S, T) and Functional Dependency set FD = {PQ →
R, S → T }, determine whether the given R is in 2NF? If not convert it into 2 NF. Identify
candidate key by finding closure of PQS+.
Consider the following relational database schema consisting of the four relation schemas:
passenger ( pid, pname, pgender, pcity)
agency ( aid, aname, acity)
flight (fid, fdate, time, src, dest)
booking (pid, aid, fid, fdate)
Answer the following questions using relational algebra queries;
a) Get the complete details of all flights to New Delhi.
b) Get the details about all flights from Chennai to New Delhi.
c) Find the passenger names for passengers who have bookings on at least one flight.
Draw ER diagram for Hospital Management System
(Entity: DOCTOR, PATIENT, HOSPITAL and MEDICAL_RECORD). Consider the attributes for each entity
appropriately. Identify Primary Key and Foreign Key.
Draw an ER diagram of Bank database with 5 entities and 5 attribute for each entity. Specify the
cardinality ratio on each of the relationships existing between entities.
Explain different states of transaction with a neat diagram.
Explain with example:
i) Key constraints ii) Integrity constraints.
Distinguish strong entity set with weak entity set? Draw an ER diagram to illustrate weak entity set?
a) Why concurrency control is needed? Explain the problems that would arise when concurrency
control is not provided by the database system.
b) What is serialization? Explain it.
Create an employee table using the following fields
Let E1 and E2 be two entities in an E/R diagram with simple single-valued attributes. R1 and R2
are two relationships between E1 and E2, where R1 is one1 to-many and R2 is many-to-many. R1
and R2 do not have any attributes of their own. Calculate the minimum number of tables required
to represent this situation in the relational model?
Construct an ER diagram for university registrar’s office. The office maintains data about each class,
including the instructor, the enrollment and the time and place of the class meetings. For each student
class pair a grade is recorded. Determine the entities and relationships