








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Department of Computer Science and Engineering QUESTION BANK Academic year : Even Sem 2023 Sub name : DBMS Sub Code : B20CI0403 Sem :IV Sec:A/B UNIT- 1 Q. No. Questions Blooms Taxonomy level Course Outcomes Mapped 1 A company keeps track of employee details using database. Outline the main characteristics of the database approach and how it differs from traditional file systems with relevant examples.
2 What is weak entity type? Explain the role of partial key in design of weak entity set.
3 Explain Transactions? L2 CO- 1 4 What are structural Constraints on Relationship types? Explain with Examples.
5 Discuss about Three schema architecture? Why do we need mapping among the schemas?
6 Explain the Datatypes available for specification in relational model. L2 CO- 1
7 Distinguish between entity and attribute. And list various types of attributes with notation and example of each.
8 Consider a company database. Define Attribute and list various types of attribute with ER notation and examples. .
9 Identify the naming conventions used for ER Schema as ER diagrams and also develop ER diagram for Company database model.
10 Consider a company database and Outline its Relationship constraints (Participation and Cardinality ratios) with notations and examples
11 A bank data can be stored in different structures. Define Data Model and outline the main categories of Data Model
12 Define the following: i)Data ii)Database iii)Database Schema iv)Snapshot v)Metadata
13 Consider any real world database and explain the weak entity types (key attribute and relationship) with notations and examples
14 Deisgn the E-R diagram for keep tracking of AIRLINE database. Define Entity,Attribute and list various types of attribute with ER notation and examples.
15 Explain the main phases of database process with the help of a diagram. L2 CO- 1 16 Define Different languages and interfaces provided by DBMS? L1 CO- 1 17 What is Data Independence? Explain Logical & Physical Data Independence.
No. Questions Blooms Taxonomy level Course Outcomes Mapped 1 Define the following: i)Relation ii)Domain iii)Tuple iv)Primary key v)Foreign key
2 Consider the Company database, Appraise the various schema based or explicit constraints that can be applied to a relational model. Defend How these constraints are violated during insert, delete and update operations
3 Summarize the various characteristics of relations that make them different from ordinary tables and files.
4 For any real world application, Illustrate the relational algebra operations Division and Cartesian Product with examples
5 Consider any real world database and illustrate various types of joins with suitable examples
6 Consider the schema for College Database: STUDENT ( USN, SName, Address, Phone, Gender ) SEMSEC ( SSID, Sem, Sec ) CLASS ( USN, SSID ) SUBJECT ( Subcode, Title, Sem, Credits ) IAMARKS ( USN, Subcode, SSID, Test1, Test2, Test3, FinalIA ) Identify and relate the Relation, Foreign key, Domain , Tuple and superkey concept for the above database.
7 In database , we should avoid the usage of cross product. Justify the statement with a solution supported with an operator and its types in relational algebra.
8 Set theory uses Union to combine two sets, Intersection to find difference and Intersection to find common. Same operations can work on database
relations. Illustrate with examples, UNION, DIFFERENCE and INTERSECTION operations in relational algebra. 9 In relational model the operations Select, Project ,Division and Cartesian Product are used to form queries. Explain each with suitable example.
No. Questions Blooms Taxonomy level Course Outcomes Mapped 1 Solve the below queries by using SQL Specify the following queries on the Sailors relational database schema using SQL SAILORS( sid, sname, rating, age) BOATS(bid, bname,color) RESERVES(sid,bid,day)
2 Specify the following queries on the Flight relational database schema using SQL
5 Solve the following queries on the Company relational database schema EMPLOYEE(name,ssn,salary,sex,superssn,address,dno) DEPARTMENT(Dname,Dnumber,MGRSSN) DEPT_LOCATIONS (
Dnumber, Dloc) PROJECT(Pname, Pnumber,Plocation,Dnum) WORKS_ON(ESSN,PNO,Hours) DEPENDENT(ESSN, DEPE_Name, Address,Relationship,sex) I. Retrieve the names of employees who work on all the projects that ‘John Smith’ works on. II. Retrieve the list of project numbers for the projects that involve an employee whose name is ‘smith’ either as a worker or as a manager of the department that controls the project. III. Retrieve the names of the managers with two or more dependents. IV. For each project, list the project name and the total hours (by all employees) spent on that project. V. Retrieve the number of dependents for each employee
Consider the following schema for a Library Database: BOOK (Book_id, Title, Publisher_Name, Pub_Year) BOOK_AUTHORS (Book_id, Author_Name) PUBLISHER (Name, Address, Phone) BOOK_COPIES (Book_id, Branch_id, No-of_Copies) BOOK_LENDING (Book_id, Branch_id, Card_No, Date_Out, Due_Date) LIBRARY_BRANCH (Branch_id, Branch_Name, Address) Make use of SQL queries to
Retrieve details of all books in the library – id, title, name of publisher, authors, number of copies in each branch, etc.
8 Consider the following schema for Order Database: SALESMAN ( Salesman_id, Name, City, Commission ) CUSTOMER ( Customer_id, Cust_Name, City, Grade, Salesman_id ) ORDERS ( Ord_No, Purchase_Amt, Ord_Date, Customer_id, Salesman_id ) Write SQL queries to
9 Consider the schema for Movie Database: ACTOR ( Act_id, Act_Name, Act_Gender ) DIRECTOR ( Dir_id, Dir_Name, Dir_Phone ) MOVIES ( Mov_id, Mov_Title, Mov_Year, Mov_Lang, Dir_id ) MOVIE_CAST ( Act_id, Mov_id, Role ) RATING ( Mov_id, Rev_Stars ) Make use of SQL queries to
2 Outline and briefly explain the informal design guidelines for relational schemas. What happens when the guidelines are violated.
3 “BCNF is stricter version of 3NF “ and sometimes also known as 3.5NF. Explain BCNF in detail.
4 For the relation R(A,B,C,D), the functional dependencies are BC->A, AD->B, CD->B, AC->D. Make use of FDs and Find all the candidate keys.
5 Illustrate with real world relations, Multivalued Dependency in 4 NF and Join Dependency in 5 NF
6 For the relation Registration(rollno, courseid, email), the functional dependencies are (rollno, courseid - > email),( email->rollno). Make use of FDs and Find out the highest normal form, the registration relation satisfies. Explain it.
(^7) Consider the relation EMP_PROJ = {SSN, PNUMBER, HOURS, ENAME, PNAME, PLOCATION} Assume (SSN, PNUMBER} as primary key.
The dependencies are: {SSN, PNUMBER}→HOURS SSN→ENAME PNUMBER→{PNAME, PLOCATION} Normalize the above relation to 3NF. 8 Consider the following relations: Car_sale (car_no, date- sold, salemanno, commission%, discount). Assume a car can be sold by multiple salesman and hence primary key is {car-no, salesman} additional dependencies are: date- sold - > discount salesmanno - > commission i)Is this relation is in 1NF,2NF,3NF? Why or why not? ii)How would you normalize it completely?.
9 Consider the universal relation R = {A, B, C, D, E, F, G, H, I,J} and the set of functional dependencies F = {{A, B} →{C}, {A}→ {D, E}, {B} → {F}, {F} →{G, H},{D}→ {I, J}}. What is the key for R? Decompose R into 2NFand then 3NFrelations.
10 Consider the universal relation R = {A, B, C, D, E, F, G, H, I,J} and the set of functional dependencies F = {{A, B} →{C}, {A}→ {D, E}, {B} → {F}, {F} →{G, H},{D}→{I, J}} Determine whether each decomposition has the lossless join property, with respect to F. Also determine which normal form each relation in the decomposition is in. D1={R1,R2,R3}; R1={A,B,C,D,E}; R2={B,F,G,H} R3={D,I,J}.
Course Coordinator Module Coordinator Director