Ad3381 Set2
Ad3381 Set2
Third Semester
(Regulations 2021)
1. Draw a Database development life cycle for Inventory Management system and draw a ER
diagram for the system using any ERD tools like SqlDBM with all the possible entities and
relationships.
2. Construct the ER diagram for Restaurant Ordering system and specifies entity relationship
like Key attribute, Composite attribute, Multivalued etc…using ERD tools.
3. Develop a EER concept using ERD tools by applying cardinalities for Student-Teacher
relationship using the appropriate Mapping cardinality(hint-Use specialization approach).
4. Create a relational database Schema and apply the Normalization concept in it to get a
optimized structure.
i. Include the constraint as mentioned above and the gender of driver is always 'male'.
ii. Develop a SQL query to list the details of each driver and the number of trips traveled.
Page 1 of 4
i. Specify the primary keys and foreign keys and enter at least five tuples for each
relation.
ii. Update the damage amount for the car with specific regno in the accident with report
number 1025.
iv. Find the total number of people who owned cars that were involved in accidents in the
year 2018.
Find the number of accidents in which cars belonging Wagon R were involved.
7. Consider the following Tables for a bus reservation system application with constraints
ii. Display the passengers who had booked the journey from Mumbai to Chennai on 02-
Feb-2019
iii. List the details of passengers who have traveled more than three times on the same
route.
iv. Create a View that displays the Route No, source, destination and journey date which
moves from Chennai to Delhi.
In the above created procedure, include exceptions to display "No ticket booked on specified
date" for a given journey date
8. Design a database for school website, use staff, student, teacher, parents and management
etc…as an entities and Perform all the DCL and TCL functions in that website.
9. Write a procedure called proc_udate is created and stored in the database. This procedure
when called in PL/SQL block updates the qty_on_hand in the product_master table it also
updates the order_status in the sales_order table.
Page 2 of 4
10. Create a Procedure for Placement and Training cell.
Placed(regno, companyID,minSal)
i. List the students who are eligible for recruitment in a particular company.
ii. Display the student who has been placed with highest salary
11. An Electricity Board charges the following rates to domestic users to discourage large
consumption of energy:
For the first 1 - 200 units { 1 - 100 units = Rs. 1.00, 101 - 200 units = Rs.1.50 }
From 201 - 500 units{ 1 - 200 units = Rs. 2.00 and 201 - 500 units = Rs. 3.00 }
Above 500 units{ 1 - 200 = Rs. 3.50, 201- 500 unit = Rs. 4.60 &above 500 unit Rs.6.60}
Write a PL/SQL program to read the connection_id of users and number of units consumed,
display the charges with names.
i. Develop a Trigger to ensure the product to be Pen , Eraser, Pencil during insertion
ii. Develop a PL/SQL Function to calculate the total cost of ordered product.
13. Develop a EER concept using ERD tools by applying mapping cardinalities for each relation
using bottom-up approach (generalization).
14. Write a PL/SQL function to calculate the income tax for the given employee:
Conditions:
Page 3 of 4
15. Develop the following applications using back end(e.g Oracle) and front end (e.g Netbeans,
Visual studio) Tool.
16. Develop the following applications using Oracle as a back end using back end(e.g Oracle)
and front end (e.g Netbeans, Visual studio) Tool.
17. Draw an Use case diagram, class diagram , sequence diagram, Activity diagram for Stock
Management system using Rational rose or StarUML
18. Create Use case diagram, object diagram , sequence diagram, deployment diagram for Car
Rental Service using Rational rose or StarUML
19. Construct a table for library Management systems which extracts the features of UDTs and
Inheritance.(Hint-Primary key, Foreign key, Candidate key)
20. Develop an ER model for Agriculture Management Systems and perform EER to ODB
mapping
Page 4 of 4