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/ 3
DEPARTMENT OF ARTIFICIAL I NTELLIGENCE AND DATA SCIENCE
Reg No
II Year B.Tech(AIDS) MODEL EXAM - Odd Semester 2024-2025
AD3391-DATABASE DESIGN AND MANAGEMENT
Date: 27.11.2024 Maximum: 100 Marks
Time: 10.00 a.m. – 1.00 p.m. PART-A (10x2=20marks) 1.Define the concept of generalization in ER diagram. 2. Define UML. 3.What is a Candidate key and Super Key. 4.Define Integrity Constraints. 5.Write about Update Anomalies. 6.Define Dependency Preservation. 7.What is ACID properties? 8.What is concurrency Control. 9.Why do we need NOSQL. 10.What is reference type in ODB PART-B(5x13=65) 11.(a)State and explain components involved in Database Environment (Or) (b)Explain in detail about UML Diagrams. 12. (a)Explain in brief about Creating an index and views. (Or) (b)Discuss how NULL are treated in comparison operator in SQL. How are NULLs treated when aggregate functions are applied in an SQL query? How are NULLs If they exist in grouping attributes? 13. (a)Explain in detail about the functional dependencies. Check whether two functional Dependencies Are Equivalent. F={A->C;AC->;D,E->AD;E->H} and G={A->CD;E->AH} (8) (b) Explain the steps involved in Minimal Cover with an example. (7) (Or) (a)What is Decomposition and check whether the given decomposition is lossless or not. R(A,B,C,D,E,F) A->BC,C->A,D->E,F->A,E->D is the decomposition of R1(A,C,D) R2(B,C,D),R3(E,F,D) (8) (b) What are the Properties of Relational Decomposition? (7) 14. (a)Discuss the types of Schedule in detail. (Or) (b). Explain in detail about Two Phase Locking and how does it guarantee Serializability. 15. (a)Explain mapping an EER schema to an ODB schema in detail. (Or) (b)Explain MongoDB data modelling in detail with a real time example. PART-C(1x15=15)
16. (a)Consider the following relations.
Suppliers (sid:integer sanme: string address:string) Parts(pid:integer, pname:string color:string) Catalog(sid:integer pid:integer cost:real) Write SQL statement for the following queries (a)Construct the E-R Diagram for the schema given (b) Find the sids of suppliers who supply some red part or are at No: 1, AnnaSalai. (c) Find the names of suppliers who supply some red part. (d) Find the pids of parts supplied by at least two different suppliers. (e)Find the pids of the most expensive parts supplied by suppliers named Sam. (Or) (b) A car-rental company maintains a database for all vehicles in its current fleet, for all vehicles, it includes the vehicle identification number, license number, manufacturer, model, date of purchase, and color. Special data are included for certain types of vehicles:
• Trucks: cargo capacity.
• Sports cars: horsepower, renter age requirement.