Sample Questions
Sample Questions
4. What is ER model . Explain with proper example, how ER model can be used while
conceptual data modeling ?
5. Explain concept of key and integrity constrains in RDBMS.
6. A college library management system has different types of users, such as, students,
staff, and teachers. Each user-type has different book transaction privileges. Users can
only view the list of available books that is; users cannot have access to the any type
of data manipulation. The process of book transaction, the number of days, and the
fine-rate is all managed by the library administrator only.
I. For the system described above, draw the ERD
II. Design the normalized database for the library management system mentioned
above.
III. Determine the total data volume required for the system.
7. What are the characteristics of Distributed database systems? Explain the distributed
database system with proper example.
8. How Distributed Database system is different from parallel database systems.
9. Define concept of Data warehousing and data mining. Explain architecture of Data
warehouse.
10. Why transaction manager is required in DBMS? Explain ACID properties of DBMS.
11. Explain the concept of concurrency control in DBMS transaction. How two-phase
locking protocol (2PL) works? Explain with example.
12. Explain different states of Transaction in DBMS.
13. What is query optimization? Why this is so important? Explain query optimization
process with example.
14. Consider the following database schema :
Frequents(kid, store)
Sells(store, candy)
Likes(kid,candy)
Table frequents indicates what candy stores a kid likes to visit. Table Sells shows
which candy each store sells. Table Likes tells which candy a kid likes . Express the
following queries
a) Use SQL to list the stores (in alphabetical order) that sell more than 10
different candies
b) Use SQL to list the kids who liked candies as all sold by the sore
“Starbucks”
15. Write short note on DDL and DML in database
16. A university registar’s office maintains data about the following entities:
• Courses: including course number, title, credits, syllabus
• Courses-Offering : including course number, year, quarter, section number,
timing and class room
• Students: including id, name and program
• Instructor: including id, name, department and tile.
You have to well modal the following relations.
• Students enrolled in course-offerings and grade will be associated with each
enrolment .
• Instructor teach course-offerings.
• Courses are offered by courses-offerings.
• Some courses is prerequisite of other courses.
Construct an ER diagram for registar’s office document all assumptions that you
make about mapping constraints.
17. Why do we need crash recovery is DBMS? Explain with example.
18. Ministry of health and Population is willing to computerize its database. This new
system will be able to tell the population of the country, zone and district and even of
the ward of a specific place. The system will update is data in monthly basis so that
the birth rate and death rate can be easily be seen. Now as an computer engineer,
Design the efficient database schema for the proposed system with appropriate
normalization methods.
19. What is functional dependency ? explain with proper examples.
20. Write short note on :
a. Triggers in SQL
b. Function and procedures in PL-SQL
c. Schema Vs instances
d. Data models