0% found this document useful (0 votes)
61 views15 pages

DBMS QP

The document appears to be a question bank for a Database Management Systems exam. It contains 127 multiple choice questions covering topics related to database concepts, models, architecture, languages, transactions, concurrency control and recovery techniques.
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)
61 views15 pages

DBMS QP

The document appears to be a question bank for a Database Management Systems exam. It contains 127 multiple choice questions covering topics related to database concepts, models, architecture, languages, transactions, concurrency control and recovery techniques.
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/ 15

Sri Ramakrishna Institute of Technology

(An Autonomous Institution)


Pachapalayam, Perur Chettipalayam, Coimbatore – 641010

Course Code UITC005


Course Name Database Management Systems
Semester IV
Programme Second Year B.Tech IT
Regulations R2017

PART-A
Q.No. Question Marks
1 Define database management system. 2
2 What is a data model? 2
3 List the applications of DBMS. 2
4 What is DBMS? 2
5 What are the disadvantages of file processing system? 2
6 What are the advantages of using a DBMS? 2
7 Give the levels of data abstraction? 2
8 Define instance. 2
9 Define Physical schema 2
10 Mention the actors on scene. 2
11 What is conceptual schema? 2
12 What is storage manager? 2
13 What are the components of storage manager? 2
14 What is the purpose of storage manager? 2
15 What is a data dictionary? 2
16 What is an entity relationship model? 2
17 What are attributes? Give examples. 2
18 What is relationship? Give examples 2
19 Define the term Relationship set. 2
20 Define single valued. 2
21 What are stored attributes? 2
22 What are composite attributes? 2
23 Define null values 2
24 Define Entity type . 2
25 What is meant by the degree of relationship set? 2
26 Define Key attribute. 2
27 Define weak and strong entity sets? 2
28 What does the cardinality ratio specify? 2
29 List the disadvantages of relational database system 2
30 Write short notes on relational model 2
31 Define tuple. 2
32 Define the term relation. 2
33 Define tuple variable 2
34 What is a primary key? 2
35 What is a super key? 2
36 List the table modification commands in SQL? 2
37 Who is a DBA? 2
What is Physical level? 2
38
39 What is logical level? 2
40 Describe the three levels of data abstraction? 2
What are the different types of schemas? 2
41
What is an entity-relationship model? 2
42
What is the use of grant command?
43
44 What is a semi structured data model? 2
45 What is Meta data? 2
Define Relational Database. 2
46
47 What is projection operation? 2
What are different access types in DML ? 2
48
What is a procedural DML? 2
49
What is declarative DML? 2
50
What is relationship set? 2
51
52 What is entity set? 2
What is week entity? 2
53
54 Define Cartesian product. 2
55 Difference between strong and weak entity set. 2
56 What are the situations when DBVMS should not be used? 2
How DBMS provides users with a considerable degree of data 2
57 independence?
58 Define Query language. 2
59 What are the built in data types of SQL? 2
60 Define Key. 2
61 What are the ACID properties? 2
62 What are two pitfalls (problem) of lock-based protocols? 2
63 What is transaction? 2
64 What are the two statements regarding transaction? 2
65 What is conflict serializability? 2
66 What is recovery management component? 2
67 When is a transaction rolled back? 2
68 What are the states of transaction? 2
69 List out the statements associated with a database transaction? 2
70 What is a shadow copy scheme? 2
71 Give the reasons for allowing concurrency? 2
72 What is average response time? 2
73 What are the two types of serializability? 2
74 Define lock. 2
75 Define deadlock. 2
76 List the phases of two phase locking protocol 2
77 Define upgrade. 2
78 What is shrinking phase? 2
79 What are the two methods for dealing deadlock problem? 2
80 What is a recovery scheme? 2
81 What is candidate key? 2
82 What is Foreign key? 2
83 What is meant by log-based recovery? 2
Differentiate strict two phase locking protocol and rigorous two phase 2
84 locking protocol.
85 What is strict two phase locking protocol? 2
86 What is rigorous two phase locking protocol? 2
87 What are the advantages of indexed sequential file? 2
88 What is meant by Database constraints? 2
89 What is the use of truncate command?
90 What is meant by indices? 2
91 What is meant by Mobile database? 2
92 Define XML. 2
93 Define NoSQL. 2
94 List the types of constraints used in dbms. 2
95 What is Atomicity?give example. 2
96 list the levels of Data Abstraction 2
97 Define Data Abstraction. 2
98 Define Data Independence 2
99 What is consistency with example? 2
100 List the components of E-R model. 2
101 What are the disadvantages of indexed sequential file? 2
102 What is Isolation with example? 2
103 What is meant by Entity set? 2
104 What is Durability with example? 2
105 What is growing phase? 2
106 Define Relational Model. 2
107 Define Network Model. 2
108 Define Hierarchical Model. 2
109 Define DDL. 2
110 Define DML. 2
111 Define Query 2
112 List the role of DBA. 2
113 List the different types of database-system users. 2
114 Write about the role of Transaction manager. 2
115 Write about the role of Storage manager. 2
116 Define Attributes. 2
117 Define Mapping Constraints. 2
118 List the types of mapping constraints. 2
119 What is Existence Dependencies? 2
120 What is mapping cardinalities? 2
121 Define Generalization. 2
122 Define Specialization. 2
123 Define Relational Algebra 2
124 List the expressions of relational algebra 2
125 List the possible operations in Relational Algebra 2
126 Define Aggregate Functions 2
127 Define Nested Sub queries 2
128 Define Integrity Constraints. 2
129 Define Referential Integrity. 2
130 Define Triggers. 2
131 List the conditions of triggers 2
132 Define Functional Dependency. 2
133 List the pitfalls in Relational Database Design. 2
134 Define normalization. 2
135 List the properties of decomposition. 2
136 Define First Normal Form 2
137 Define Second Normal Form 2
138 Define BCNF 2
139 Define third Normal Form. 2
140 Define Fourth Normal Form. 2
141 Define 5NF or Join Dependencies. 2
142 List the different types of constraints? 2
143 What is primary key constraints? 2
144 What is foreign key constraints? 2
145 Define file organization 2
146 Define Hash indices? 2
147 Define dense index? 2
148 Define sparse index? 2
149 What is B+ -tree index structure? 2
150 Define Static Hashing. 2
151 Define Query processing. 2
152 Define Query optimization 2
153 What is unique constraints? 2
154 What is Default constraints? 2
155 List the types of data model used. 2
156 What is rollback? 2
157 Define Schema. 2
158 Define Logical schema 2
159 Define Multivalued attributes. 2
160 Define Derived attributes. 2
161 Define Value set. 2
What are the responsibilities of DBA? 2
162
163 What is Application programmers? 2
164 What is Sophisticated Users? 2
165 What is Specialized user? 2
166 What is Naïve users? 2
167 List the types of attributes 2
168 What is Simple attributes? Give examples. 2
169 What is Composite attributes? Give examples 2
170 What is Single-valued attributes? Give examples 2
171 What is multi valued attributes? Give examples 2
172 What is Null attributes? Give examples 2
173 What is Derived attributes? Give examples 2
174 What is Lossless join? 2
175 What is Dependency Preservation? 2
176 What is Lossy Join? 2
177 What is Authorization and integrity manager? 2
178 What is File manager? 2
179 What is Buffer manager? 2
180 What is Null constraints? 2
181 Define relational calculus. 2
182 What are the types of relational calculus? 2
183 Define upgrade. 2
184 What is the use of joins? 2
185 What is the role of end users? 2
186 What is the role of database designer? 2
187 What is partial dependency with example? 2
188 What is transitive dependency with example? 2
189 List the built-in aggregate functions. 2
190 Define B Tree. 2
191 Define DCL. 2
192 Define TCL. 2
193 What is Query optimizer? 2
194 What is Query evaluation plan? 2
195 What are the different types of joins? 2
196 What are the types of roles in TCL? 2
197 What is meant by Grant and Revoke? 2
198 What are the different types of commands used in DDL? 2
What is Tuple relational Calculus with example. 2
199
What is Domain relational calculus with example. 2
200

PART-B
Q.No. Question Marks
1 With a neat diagram, explain the structure of a DBMS? 10
Draw an E-R diagram for a small marketing company database, assuming 10
2 your own data requirements
3 Explain the architecture of DBMS 10
4 Compare File systems with database systems. 10
What is meant by Relational calculus? Query examples for tuple and 10
5 domain relational calculus?
6 Explain all types of data models. 10
7 Explain E-R Model concept and extended E-R model. 10
8 Define relational algebra. With suitable example. 10
9 Explain the Roles of data base administrator and the details of aggregate 10
function queries.
With relevant examples discuss the following in SQL . i. DDL ii. DML 10
10 iii. DCL iv. Views
Construct an ER diagram for a car insurance company that has a set of 10
customers, each of whom owns one/more cars. Each car has associated
11 with it zero to any number of recorded accidents.
Explain the 3 schema architecture of DBMS. Why do we need mappings 10
12 between different schema levels
Consider the following tables: 10
Employee (Emp_no, Name, Emp_city)
eCompany (Emp_no, Company_name, Salary)
i.Write a SQL query to display Employee name and company name.
ii.Write a SQL query to display employee name, employee city ,company
name and salary of all the employees whose salary >10000
13 iii.Write a query to display all the employees working in ‘XYZ’ company.
14 Explain various DML commands with neat syntax. 10
15 Describe in detail about the architecture of a DBMS. 10
16 What is data integrity? Explain the types of integrity constraints. 10
17 Explain 1NF, 2NF, 3NF and BCNF with suitable example 10
What are the pitfalls in relational database design? With a suitable 10
example, explain the role of functional dependency in the process of
18 normalization.
Construct an E-R diagram for a car-insurance company whose customers 10
own one or more cars each. Each car has associated with it zero to any
19 number of recorded accidents. State any assumptions you make.
What is aggregation in an ER model? Develop an ER diagram using 10
aggregation that captures the following information :
Employees work for projects. An employee working for a particular
project uses various machinery. A unnecessary attributes. State any
20 options you make. Also discuss about the ER diagram you have designed.
With relevant examples discuss the various operations in Relational 10
21 Algebras.
Define a functional dependency. List and discuss the six inference rules 10
22 for functional dependencies. Give relevant examples.
23 Explain the three different groups of data models with examples. 10
Discuss Join Dependencies and Fifth Normal Form, and explain why 10
24 5NF?
25 Describe in detail about the various types of integrity constraints. 10
26 What are the relational algebra operations supported in SQL? 10
27 Define class Hierarchies and Aggregation? 10
28 Explain the strength and weakness of the Triggers mechanism. 10
29 Consider the following relational schema 10
Employee (empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan(empno, isbn,date)
Write the following queries in relational algebra.
a. Find the names of employees who have borrowed a book Published by
McGraw-Hill.
b. Find the names of employees who have borrowed all books Published
by McGraw-Hill.
c. Find the names of employees who have borrowed more than five
different books published by McGraw-Hill.
d.For each publisher, find the names of employees who have borrowed
More than five books of that publisher.
30 What is meant by Selection and projection used in Relational algebra? 10
31 How we made lossless and loss-join in relational model? 10
32 What is a view? How can it be created? Explain with an example. 10
Discuss in detail the operators SELECT, PROJECT, UNION with suitable 10
33 examples.
Diagrammatically illustrate and discuss the steps involved in processing a 10
34 query.
35 Give briefly about Query evaluations cost & Selection operation. 10
36 How does a DBMS represent a relational query evaluation plan? 10
Consider the database given by the following schemes. 10
Customer (Cust_No, Sales_ Person_No ,City)
Sales_ Person(Sales_ Person_No ,Sales_ Person_Name, Common_Prec,
Year_of_Hire)
Give an expression in SQL for each of the following queries:
a.Display the list of all customers by Cust_No with the city in which each
is located.
b.Select Cust No, city from Customer
37 c.List the names of the sales persons who have accounts in Delhi.
Write short notes on the following: 10
Data Manipulation Language (DML),
Data Definition Language (DDL)
Transaction Control Language (TCS),
38 Data Control Language (DCL)
Consider the employee database, where the primary keys are Underlined. 10
employee(empname,street,city)
works(empname,companyname,salary)
company(companyname,city)
manages(empname,management)
Give an expression in the relational algebra for each request.
Find the names of all employees who work for First Bank Corporation.
Find the names, street addresses and cities of residence of all employees
who work for First Bank Corporation and earn more than 200000 per
annum.
Find the names of all employees in this database who live in the same city
as the company for which they work.
Find the names of all employees who earn more than every employees of
39 small Bank Corporation.
40 Explain 4NF, 5NF and BCNF with suitable example. 10
What are the pitfalls in relational database design? With a suitable 10
41 example.
42 Explain the role of functional dependency in the process of normalization. 10
43 What is normalization? Explain all Normal forms. 10
44 Write about decomposition preservation algorithm for all FD’s. 10
45 Explain functional dependency concepts. 10
46 Explain 2NF and 3NF in detail. 10
47 Define BCNF. How does it differ from 3NF. 10
48 Explain the ACID properties of a transaction. 10
49 Describe about testing of Serializability. 10
50 What are different types of schedules are acceptable for recoverability. 10
Discuss on strict, two-phase locking protocol and time stamp-based 10
51 protocol.
52 Describe shadow paging recovery techniques. 10
53 How can you implement atomicity in transactions? Explain. 10
How concurrency is performed? Explain the protocol that is used to 10
54 aintain the concurrency concept
Draw an E-R diagram for school management system, assuming your own 10
55 data requirements.
56 Explain the concepts of serializability. 10
57 Explain two-phase locking protocol. 10
58 Describe about the deadlock prevention schemes. 10
59 What is Transaction state and explain its ACID properties? 10
60 Discuss about two phase locking and commit protocol 10
61 Explain various recovery techniques during transaction in detail. 10
How can we achieve concurrency control achieved in DBMS through 10
62 Serializability?
Explain the following protocols for concurrency control 10
63 i) Lock based protocols
64 What is concurrency control? how is it implemented in DBMS? 10
65 Write short notes on shadow paging. 10
66 Describe static hashing and dynamic hashing. 10
67 Describe the different types of file organization? 10
Explain using a sketch of each of them with their advantages and 10
68 disadvantages of file organization.
Describe the structure of B+ tree and give the algorithm for search in the 10
69 B+ tree with example.
70 Explain the architecture of mobile database with neat sketch. 10
71 Describe the different method of implementing variable length records. 10
72 Explain the various indexing schemes used in database environment. 10
Draw an E-R diagram for hostel management system, assuming your own 10
73 data requirements.
74 Explain static and dynamic Hashing Techniques? 10
75 Briefly describe about B+ tree index file structure. 10
76 What are the steps involved in Query processing? 10
77 How would you estimate the cost of query in query processing? 10
78 Discuss selection operation techniques. 10
79 Explain structure of file indices. 10
80 Explain different properties of indexes in detail. 10
81 With a neat diagram explain the steps involved in query process. 10
82 Explain in detail about B+ tree index files. 10
What is deadlock? Explain the various approaches used to recover from 10
83 deadlock.
84 Give XML representation of bank management system 10
85 explain about Document Type Definition and XML schema. 10
86 Explain the architecture of mobile databases. 10
Consider the following relational schema 10
Employee (empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan(empno, isbn,date)
Write the following queries in relational algebra.
a. Find the names of employees who have borrowed a book Published by
McGraw-Hill.
b. Find the names of employees who have borrowed all books Published
87 by McGraw-Hill.
Draw an E-R diagram for banking system, assuming your own data 10
88 requirements.
Draw an E-R diagram for hospital management system, assuming your 10
89 own data requirements.
Draw an E-R diagram for employee management system, assuming your 10
90 own data requirements.
Draw an E-R diagram for payroll management system, assuming your 10
91 own data requirements.
Draw an E-R diagram for ticket reservation system, assuming your own 10
92 data requirements.
93 Explain Relational calculus and its types with example. 10
With relevant example queries, discuss the following in SQL. 10
94 i. DCL ii. Views
95 Explain in detail about relational model and E-R model with examples. 10
Explain in detail about Hierarchical model and Network model with 10
96 examples.
97 Explain in detail about Query Optimization. 10
Draw an E-R diagram for library management system, assuming your own 10
98 data requirements.
Draw an E-R diagram for university database, assuming your own data 10
99 requirements.
Draw an E-R diagram for store management system, assuming your own 10
100 data requirements.

PART-C
Q.N Question Mar
o. ks
Create the following tables with the mapping given below. 15
a. stu_details (reg_no, stu_name, DOB, address, city)
b. mark_details (reg_no, mark1, mark2, mark3, total)
(i).Display only those rows whose total ranges between 250 and 300.
(ii). Drop the table mark_details.
(iii). Delete the row whose reg_no=161.
1 (iv). Display all details whose names begins with 'a'.
2 Create the following tables with the mapping given below. 15
a. emp_details (emp_no, emp_name, DOB, address, doj, mobile_no,
dept_no, salary).
b. dept_details (dept_no, dept_name, location).
(i) Truncate the table dept_details.
(ii) Display the structure of the table emp_details.
(iii) Convert the first letter of emp_name into capitals.
(iv) Display the emp_namegetting highest salary
What is Database Management System? Discuss about the structure and 15
3 components of DBMS .
Discuss the advantages of using database management systems over file 15
4 processing systems.
5 What is Views?Explain the different types of views with example queries. 15
What is Data abstraction?Describe the different levels of data abstraction 15
6 with neat diagram.
7 Describe about the classification of data models. 15
What is DDL? Discuss the various commands used in DDL.Give example 15
8 for each.
What is DML? Discuss the various commands used in DML.Give example 15
9 for each.
What is DCL? Discuss the various commands used in DCL with example 15
10 for each.
What is TCL? Discuss the various commands used in TCL with example for 15
11 each.
12 Explain in detail about three schema architecture of DBMS with neat sketch. 15
Explain the system structure of a database management system and its 15
13 components with neat diagram.
What is Database users? Explain the categories of database users available 15
14 in dbms.
Create the following tables with the mapping given below. 15
a. book (book_name,author,price,quantity).
b. customer (Cust_id, Cust_name, Addr, ph_no,pan_no)
(i) Truncate the table customer.
(ii) List the author of the book which one have the price of 200.
(iii).List the price of the book which one is between the price of 175 & 250.
(iv).Retrieve all the details from the table book whose author name start
15 with K.
Explain the various functionalities and responsibilities of Database 15
16 Administrators.
What is Attributes?Explain the different types of attributes with example for 15
17 each.
Describe about the various types of constraints used in database with 15
18 example for each.
Discuss in briefly about the types of mapping cardinalities with suitable 15
19 example.
What is the use of keys?Discuss the various keys used in dbms with suitable 15
20 example.
21 Differentiate between primary key and foreign key. 15
Describe about the various types of cardinality constraints used in database 15
22 with example for each.
Explain about the Extended E-R model and their types with suitable 15
23 example.
24 Explain about the following with suitable example and also its anomalies. 15
i. First normal form
ii. Second normal form
iii.Third normal form
25 Describe the concept of serializable schedule with suitable example. 15
Explain about the following with suitable example and also its anomalies. 15
i. Fourth normal form
ii. Boyce codd normal form
26 iii.Fifth normal form
Create the following tables with the mapping given below. 15
a. stu_details (reg_no, stu_name, DOB, address, city)
b. mark_details (reg_no, mark1, mark2, mark3, total)
(i)Find out the name of all students.
(ii)List all the student detail that who are all located in Chennai.
27 iii) Drop the table mark_details.
Describe about the set different, Cartesian product and rename operations in 15
28 relational algebra. Explain with suitable example.
Describe about the select, project and union operations in relational algebra. 15
29 Explain with suitable example.
30 Describe about the various types of outer join with examples. 15
31 Explain normalization and its types with suitable examples. 15
Explain about the various fundamental operations of relational algebra with 15
32 suitable example.
Explain the following with suitable example of relational algebra. 15
i.Set intersection
ii.Natural Join
iii.Division operation
33 iv.Assignment operation
34 Draw an E-R diagram for Online course registration with your requirements. 15
35 Discuss about the anomalies and its types with example. 15
36 Describe about the properties to preserve the integrity of data in database. 15
3.Create the following tables with the mapping given below. 15
a. Customer (Cust_id, Cust_name, Addr, ph_no,pan_no)
b. Loan (Loan_id, Amount, Interest, Cust_id,branch)
(i)Display the entire loan relation in descending order of the amount.
(ii)Find the names of all branches in loan relation.
(iii)Find all customer id's for loan's with loan amount between 5000 and
37 15000
Explain about the various aggregate functions and operations with suitable 15
38 example.
Create the following table with the mapping given below. 15
book(book_name,author_name,price,quantity).
(i)Write a query to find out the minimum quantity of books available in the
table book.
(ii)Write a query to find the total price of all the books present in the table.
39 (iii)Write a query to find the average amount of all the books.
Draw an E-R diagram for Online Exam Registration with your own 15
40 requirements.
Describe the different types of operations used to modified the content of 15
41 the database with examples.
Create the following table with the mapping given below. 15
a. studentdetails (reg_no, stu_name, DOB, address, city)
b. markdetails (reg_no, mark1, mark2, mark3, total)
(i)Find out the name of all students along with their total marks.
(ii)Change the mark1 as ‘98’ from ‘79’ and alter the total for a particular
student.
42 (iii) Delete all the records and its memory space from the table student.
43 Draw an E-R diragram for Online book store with your own requirments. 15
44 Explain about the different method of implementing variable length records. 15
45 Discuss about the states of transaction in detail with examples. 15
46 Describe in detail about the various file organizations with examples. 15
Create the following table with the mapping given below. 15
Product_master(product_name,product_no,purchase_prize,sell_prize,profit,
quantity,balance)
(i)Change the purchase_prize into 551 for the product_no pd3.
(ii)Delete all products from product_master where the Quantity is equal to
40.
(iii)Find the product no & product name of the product which have a
47 purchase amount equal to Rs.5500.
Consider the insurance database given below. 15
PERSON(driver_id, name, address) CAR(regno, model,year )
ACCIDENT(report_number,accd_date,location) OWNS(driver_id,regno)
PARTICIPATED(driver_id,regno,report_number,damage_amount)
Create the above tables by properly specifying the primary keys and foreign
keys and enter at least six tuples for each relation.
ii. Update the damage amount for the car with specific regno in the accident
with report number 12 to 500
iv. Find the total number of people who owned cars that were involved in
48 accidents in the year 2019.
Draw an E-R diagram for Online railway ticket reservation system, 15
49 assuming your own data requirements.
50 Explain about the properties of transaction with relevant examples. 15
51 Describe in detail about the various types of indexing with examples. 15
52 Discuss about the different types of techniques for hashing. 15
53 With neat sketch ,explain the mobile database. 15
54 Draw an E-R diagram for ATM system with your own requirements. 15
55 Describe in detail about the types of primary index with examples. 15
Create the following tables with the mapping given below. 15
Phone_book(ph_no,name,door_no,street,place).
(i)Display all names along withph_no.
56 (ii)Add a column pin_no
With relevant examples discuss the following in relational calculus. 15
57 i.Tuple relational calculus ii.Domain relational calculus
58 Describe in detail about the multilevel index with examples. 15
Create the following tables with the mapping given below. emp_details 15
(emp_no, emp_name, DOB, address, doj, mobile_no, salary).
(i)Add a column dept_no(department number).
(ii)Drop the column salary by altering the table.
59 (iii)Rename the table as’Employee’.
60 Describe in detail about the primary and secondary indexing with examples. 15
What is the need of Integrity constraints? Explain about the types of 15
61 integrity constraints with examples.
.Create the following table with the mapping given below. 15
Product_master(product_name,product_no,purchase_prize,sell_prize,profit,
quantity,balance)
(i)Change the purchase_prize into 551 for the product_no pd3.
(ii)Delete all products from product_master where the Quantity is equal to
40.
(iii)Find the product no & product name of the product which have a
62 purchase amount equal to Rs.5500.
Construct an E-R diagram for a hospital with a set of patients and a set of 15
medical doctors. Associate with each patient a log of the various tests and
63 examinations conducted.
Consider the insurance database given below. 15
PERSON(driver_id, name, address) CAR(regno, model,year )
ACCIDENT(report_number,accd_date,location) OWNS(driver_id,regno)
PARTICIPATED(driver_id,regno,report_number,damage_amount)
i. Create the above tables by properly specifying the primary keys and
foreign keys and enter at least five tuples for each relation.
64 ii. Add a new accident to the database.
How the non-serial schedule is equivalent to serial schedule? Explain with 15
65 examples.
Describe the structure of B tree and give the algorithm for search in the B 15
66 tree with example.
67 Describe in detail about the dense and sparse index with examples. 15
A university registrar’s office maintains data about the following entities: 15
(a) courses, including number, title, credits, syllabus, and prerequisites;
(b) course offerings,including coursenumber, year, semester, sectionnumber,
instructor(s), timings, and classroom;
(c) students, including student-id, name, and program; and
(d) instructors, including identification number, name, department, and title.
Further, the enrollment of students in courses and grades awarded to
students in each course they are enrolled for must be appropriately
68 modelled. Construct an E-R diagram for the registrar’s office.
Consider the employee database, where the primary keys are Underlined. 15
employee(empname,street,city)
works(empname,companyname,salary)
company(companyname,city)
manages(empname,management)
Give an expression in the relational algebra for each request.
1) Find the names of all employees who work for State Bank Corporation.
2) Find the names, street addresses and cities of residence of all employees
who work for State Bank Corporation and earn more than 150000 per
69 annum.
How the concurrent schedule is not equivalent to serial schedule? Explain 15
70 with examples.
71 Create the following table with the mapping given below. 15
a. stu_details (reg_no, stu_name, DOB, address, city)
b. mark_details (reg_no, mark1, mark2, mark3, total)
(i) Find the name of the student whose reg_no is’150’.
(ii)Display the details of a particular student whose name is ‘BALA’.
(iii)Rename the table mark_details as ’academics’.
What is serializability? Explain different forms of serializability with 15
72 example
73 Describe about insertion,deletion and update anomalies with examples. 15
74 Explain about the conflict serializability with relevant schedules. 15
Design an E-R diagram for keeping track of the exploits of your favourite 15
sports team.You should store the matchesplayed,the scoresin eachmatch, the
players in each match and individual player statistics for each match.
75 Summary statistics should be modeled as derived attributes
76 Discuss the following: i.Document Type Definition ii. XML schema. 15
Create the following tables with the mapping given below. 15
a. evaluation(reg_no,name, mark1, mark2, mark3, total)
b.dept_details (dept_no, dept_name, location).
(i) Using alter command drop the column location from the table
dept_details.
(ii) Display all dept_name along withdept_no.
77 (iii)Drop the table dept_details.
78 Construct the XML representation of ATM management system 15
Consider the following relational schema 15
Employee (empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan(empno, isbn,date)
Write the following queries in relational algebra.
a. Find the names of employees who have borrowed a book Published by
Wiley.
b. Find the names of employees who have borrowed all books Published by
79 Wiley.
Draw an E-R diagram for student details management system, assuming 15
80 your own data requirements.
81 Examine about the view serializability with suitable schedules. 15
Draw an E-R diagram for Online Air reservation system, assuming your 15
82 own data requirements.
Explain the structure of B+ tree and algorithm for search operation with 15
83 suitable example.
Draw an E-R diagram for Internet banking system, assuming your own data 15
84 requirements.
Create the following table with the mapping given below. 15
Customers(Cust_id, Cust_name, place, ph_no,pan_no).
i.Alter the table to add a column pin_no.
ii.Display the details of customer who are all living in coimbatore.
85 iii.Display the customer name whose first letter is ‘N’.
Draw an E-R diagram for Online railway ticket reservation system, 15
86 assuming your own data requirements.
Discuss about the various problems involved in concurrency control with 15
87 suitable example.
Draw an E-R diagram for Online bus ticket reservation system, assuming 15
88 your own data requirements.
89 Explain about cascading rollback and cascadeless schedule with examples. 15
90 Explain about the lock based protocol and its types. 15
Create the following table with the mapping given below. 15
employee (emp_no, emp_name, DOB, address, doj, mobile_no, dept_no,
salary).
(i)List all employees which starts with either D or G.
(ii)Display the names and dob of all employees who were born in Feburary.
91 (iii)List out the employee names whose salary is greater than 15000.
92 Describe about the concept of recoverability with examples. 15
Create the following table with the mapping given below. 15
emp_details (emp_no, emp_name, DOB, address, doj, mobile_no, dept_no,
salary).
(i)List all employees which starts with either B or C.
(ii)Display the names and DOB of all employees who were born in May.
93 (iii)List out the employee names whose salary is greater than 15000.
94 Illustrate about the properties of a transaction. 15
With neat block diagram, discuss the various steps involved in query 15
95 processing.
Create the following table with the mapping given below. 15
a.Product(product_name,purchase_prize,sell_prize,profit,quantity,balance)
b. Customer (Cust_id, Cust_name, Addr, ph_no,pan_no).
(i)Display all the customer names along with their address.
96 (ii)Drop the table customer.
97 Describe about the two phase locking protocol with example. 15
98 Explain about the concurrency control protocol with example. 15
99 Describe about the steps included in Query Optimization. 15
Create the following table with the mapping given below. 15
a.Admin(employee_salary, development _cost, fund_amount,
turn_over,bonus)
b. Emp_details (emp_no, emp_name, DOB, address, doj, mobile_no,
dept_no, salary).
(i) Calculate the total and average salary amount of the admin table.
(ii) Display total salary spent for employees.
100 (iii) Display total fund_amount.

You might also like