0% found this document useful (0 votes)
4 views5 pages

Key Questions

The document outlines a comprehensive curriculum for a course on Database Management Systems (DBMS) at Dr. Ambedkar Institute of Technology. It includes various units covering topics such as database characteristics, advantages of DBMS, data independence, ER diagrams, SQL operations, normalization, and transaction management. Additionally, it provides practical scenarios and exercises for students to design and implement databases for different systems.

Uploaded by

rksuravistudy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

Key Questions

The document outlines a comprehensive curriculum for a course on Database Management Systems (DBMS) at Dr. Ambedkar Institute of Technology. It includes various units covering topics such as database characteristics, advantages of DBMS, data independence, ER diagrams, SQL operations, normalization, and transaction management. Additionally, it provides practical scenarios and exercises for students to design and implement databases for different systems.

Uploaded by

rksuravistudy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Dr.

Ambedkar Institute of Technology, Bengaluru-560056

Department of MCA

RDBMS-22MCA15

Unit-I

Note: Queries and Scenarios are only samples


1. Discuss on the characteristics of database approach.

2. Identify the advantages of Database Management Systems.

3. Justify the advantages of DBMS over File System.

4. Justify the significance of the role of actors and workers in a DBMS environment.

5. Define the types of Data independence. Explain the 3-schema architecture.

6. Show that the 3-schema architecture helps to achieve data independence.

7. Explain the various Database Languages.

8. Illustrate the different types of user interfaces provided by DBMS environment.

9. With a neat figure, demonstrate the components of Database System Environment.

10. Illustrate the different classifications of DBMS.

11. Illustrate the following

Entity types, Entity sets Attributes and Keys Relationship types, Relationship Sets, Roles and
Structural Constraints Weak Entity Types.

12. Illustrate the different types of attributes.

13. Demonstrate participation constraints.

14. Define cardinality ratio.

15. Demonstrate the implementation of a weak entity.

16. Illustrate the degree of relationship.

17. Construct an ER diagram for a Hospital Management System. Identify all the components
associated with the system.

18. Represent the ER structure for a Railway Reservation System. Identify all the components
associated with the system.

19. Design an ER diagram for a HR Management System. Represent Entities and weak entity,
attributes and key attributes, cardinality ratio, Relationships, participation constraints.

20. Construct an ER diagram for a Library Management System. Identify Entities and weak entity,
attributes and key attributes, cardinality ratio, Relationships, participation constraints.

21. Consider a multi-speciality hospital with a number of departments, rooms, doctors, nurses, and other
staff working in the hospital. Patients with different kinds of ailments come to the hospital and are
treated by multiple doctors. Some patients are admitted as in-patients if required. Design and
develop a database for the hospital to maintain the records of various departments, rooms, and
doctors in the hospital. Also maintain records of the regular patients, patients admitted in the
hospital, the treatment provided, and the concerned doctors.
22. Design and develop a database to maintain the details of different trains, train status, and
passengers. The record of train includes its number, name, source, destination, and days on which it
is available, whereas record of train status includes dates for which tickets can be booked, total
number of seats available, and number of seats already booked.

23. Develop an ER structure for a company. The employee data to contain the name, id, job title and the
department they are assigned to. The employees can have multiple job titles and can be assigned to
more than one department. Each department has an id and an address and there can be multiple
departments in a city.

Unit_- II

1. With an example highlight the significance of keys.


2. Discuss on the significance of referential key (foreign key).

3. Design appropriate schemas and illustrate the following operations using relational algebra.
i. Selection and projection
ii. Union and Intersection
iii. Minus and Division
iv. Left outer join and right outer join
v. Cross product and join
4. Demonstrate the process of mapping ER structures to relations.

5. Consider the following schemas and apply joins:


Doctor(docid,docname,specialization,experience,dob)

Patient(pid,pname,docid,roomno)

Staff(staffid,sname,designation)

Room(roomno,staffid,wardname)

i. Fetch the detail of patients in room number A-506.


ii. Fetch the specialization of all doctors with experience more than 15 years.
iii. Study left join, right join and full outer join to fetch the details of doctors and patients.
iv. Compare inner join and cross product between staff and room.
v. Demonstrate self join using any of the above schemas

6. Demonstrate the process of ER- to -relational mapping


7. Illustrate the different types of joins.

Unit-III

1. Discuss on the data types of SQL.

2. Discuss on the various constraints in SQL. (primary, unique, foreign, domain, Not Null)

3. Illustrate the significance of referential keys.

5. Consider the following relational tables:

Doctor(docid,docname,specialization,experience,dob)

Patient(pid,pname,docid,roomno)

Staff(staffed,sname,designation)

Room(roomno,incharge,wardname)

6. Consider the following schemas of Question number 4.a and demonstrate the following tasks

 Table creation
 Modify the structure of tables
 . Implementation of cascade
operations
 Implementation of referential key
 Implementation of cascade operations
 Dropping an existing column and table

7. Consider the following schemas of Question number 4.a and and write queries to

 Fetch the available ward names.


 Fetch the details of all doctors.
 Find the total number of patients.
 Find the number of patients in room no 41.
 Find the total number of patients in each room.
 Fetch the details of the highest experienced doctor.
 Fetch the details of the room and the staff in charge.
 Find the doctor who has the maximum experience.
Find the second highest experienced doctor.
 Find the doctors who have experience less than the average experience of all doctors.
 Find the doctor with highest experience from each specialization.
 Find the count of doctors of each specialization other than ‘neuro’.
 Find the maximum experience of doctors of each specialization which ends with ‘ology’.
 Find the year of birth of all doctors.
 Find the average experience of all doctors born after year 2000 from each specialization.
 Find the doctors who were born in the same month as doctor id=1.
 Find the count of doctors of each specialization starting with ‘E’ and having an experience of
more than 10.
 Fetch the details of the doctors who has at least 1 patient.
 Find the doctors who do not have any patient.
 Find the patients who are treated by Dr. Anil.
 Find the number of patients treated by Dr. Anil.
 Find the average experience of doctors treating the patient ‘Balaji’.
 Fetch the details of all the doctors and patients who are treated by a doctor.
 Find the name of the doctor and patient who is treated by the doctor born after year 2000.
 Find the name of the patient,doctor and the specialization of the doctor treating the patient.
 Find the total number of patients treated by Dr.Bajaj;
 Find the names of the patients who are being treated by Dr.Bajaj.
 Find the average experience of the doctors who are treating the patient Deepak.
 Count the total number of patients who are being supervised by the room in charge named
‘Angel’.
 Fetch the details of the patients admitted and doctors treating the patients.
 Find the number of patients in each room.
 Find the doctors who are born on the same month as Dr.Bajaj.

8. Justify with illustration that Views act as virtual tables.

9. Illustrate the different types of joins in SQL.

10. Consider the following schemas:

Branch(Brno, brname,braddress,brhead)

Department(deptno, dname, brno, head_of_department,location)

Employee(Eno, Ename, Deptno, designation, date_of_birth, date_of_joining)

Project(projid,projname,deptno,proj_head,budget,date_of_start,duration)

 Create view to select the project details along with details of the department handling the
project.
 Update the view to change the details of the department.
 Create a view to display the employee with the details of the department and project handled
by the employee.
 Update the above view to insert a new project.
 Delete an existing project from the view.

11. To the schema discussed in Q.No. 10

 Apply joining operations to illustrate left and right outer to fetch the details of the employees
and departments.
 Fetch the name of the employee and department which is headed by a person who has
experience more than an average experience of all heads.
 Find the project details of the employees who are working on the same project handled by
employee number 10.
 Implement self join to find the employees who are born on the same month as employee
“Chandru”.
 Find the name of the employee and department handling the same projects of “Rajesh”.
 Find the project which has the third maximum budget and also handed by “Ravi”.
 Find the employees who are born on the same year as the head of the department number 22.
 Fetch the name of the department which is headed by the one with experience more than the
average experience of all employees.

Unit-IV

1. Identify the informal guidelines while designing relational schemas.

2. Define Functional Dependency. Illustrate 1NF, 2NF, 3NF.

3. Apply the informal guidelines and construct a normalized relational database model for a Project
Management System, Hospital Management System, Employee Management System, Railway
Reservation System, Library Management System.

4. Design a relational database of a company that delivers various products to its customers. The
Company employs personnel who are either temporary or permanent. The company has various
departments headed by a manager. The company has projects that are handled by identified
employees of different departments and each project is headed by a project manager. Each
employee works in some department. An employee may possess a number of skills. Every manager
(including the MD) is an employee. A department may participate in none/one/many projects. At
least one department participates in a project. An employee may be engaged in none/one/many
projects. Project teams consist of at least one member.

For the above scenario

 Analyse the data required.


 Normalize the attributes.
 Create the logical data model (ER diagrams)

5. Illustrate BCNF for a relation.

6. Define multi-valued dependency. Demonstrate the normalization process for tables with multi-
valued dependencies.

Unit-V

1. Signify the ACID properties in RDBMS.

2. Demonstrate the simple transaction model.

3. Define serializability. Illustrate serializable schedule over a set of committed transactions.

4. Examine the significance of various locking techniques to control concurrent operations.

5. Justify the significance of 2-phase locking protocols.


6. Identify the features of MongoDB.

7. List out the various datatypes implemented in MongoDB,

8. Demonstrate the CRUD operations in MongoDB.

You might also like