0% found this document useful (0 votes)
286 views

DBMS Previous

1. The document provides sample questions from previous years' DBMS exams covering topics such as ER diagrams, relational algebra, transaction management, normalization, and XML. 2. It includes questions asking to differentiate between concepts like strong/weak entities, primary/candidate keys; explain topics such as ACID properties, concurrency control techniques, and XML structure; and solve problems involving SQL queries and schema design. 3. Sample questions ask to draw ER diagrams for examples like a banking system, design normalized database schemas, and explain relational algebra operations and transaction processing concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
286 views

DBMS Previous

1. The document provides sample questions from previous years' DBMS exams covering topics such as ER diagrams, relational algebra, transaction management, normalization, and XML. 2. It includes questions asking to differentiate between concepts like strong/weak entities, primary/candidate keys; explain topics such as ACID properties, concurrency control techniques, and XML structure; and solve problems involving SQL queries and schema design. 3. Sample questions ask to draw ER diagrams for examples like a banking system, design normalized database schemas, and explain relational algebra operations and transaction processing concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

DBMS

SECTION-A

(2019)
1. Answer briefly :
1. Differentiate between Strong and Weak entity sets. How are they represented in an
ER Diagram?
2. What do you mean by a Data Base instance and a Data Base schema?
3. What is DDL in SQL? List the different DDL commands used in SQL.
4. Explain the Cartesian Product operation in Relational Algebra.
5. What is a Database View and how does it help in Database Security?
6. Differentiate between char and varchar2 data types in oracle.
7. What do you mean by integrity of data? List any two integrity constraints.
8. What is Two-Phase Locking?
9. What is Data Farming?
10. What are NoSQL Databases?
(2018)
1. a) What is force writing?
b) What is logging?
c) What are check points?
d) What is log based recovery techniques?
e) What is transaction? Explain with examples f) Explain importance of 5th normal
form?
g) What are various classification of DBMS?
h) What are weak entities?
i) What is foreign key?
j) What is logical data independence?
(2018 -B)
1. a) What is DBMS?
b) What are different types of database users?
c) What do you mean by open database connectivity?
d) What is the difference between primary key and candidate key?
e) Write the syntax of query representation in calculus.
f) What is functional Dependency?
g) What is the full form of XML? Write its application.
h) Discuss the different transaction states.
i) Define data Farming.
j) What is OLAP
(2018) DEC
1. Answer briefly :
a) What is Data Independence of DBMS?
b) What is SQL Dependency?
c) Write a short note on relational algebra.
d) Explain why 4NF is more desirable than BCNF with the help of an example.
e) What are Triggers?
f) Define Embedded SQL.
g) What are applets in XML?
h) How XQuery is used in XML?
i) What is difference between SQL and NoSQL?
j) What is meant by transaction management?
(2017)
1. Write short notes on :
1. Differentiate between Database Administrator and Database Manager.
2. Which DML operations are constrained when you use “with check option” while
creating a view?
3. What is DML in SQL? List the different DML commands used in SQL.
4. What is meant by Multi Valued Dependency?
5. What are NoSQL databases'?
6. What do you mean by single-valued and multi-valued attributes?
7. What is Server side scripting?
8. What is the purpose of check constraint?
9. What is Two-Phase Locking?
10. What are Object-Relational Databases?

(2017) DEC cse/it


1.
i What are the benefit of data base. Explain
ii What do you understand by Attribute and Key. Explain
iii What is atomicity of transaction.
iv What do you understand by Relationship . Explain
v What are the features of DCL
vi Give example using SQL for the Retrieval with a subquery with same table involved
vii What is the major difference of data base approach and file approach.
viii Give example using SQL for the Retrieval with a subquery with interblock reference
ix What are the security need of data base.
x What is the client/ Server Architecture
(2017) cse/it
1. Write briefly :
a. What are the various types of keys?
b. What is DBMS? What are the disadvantages of using a DBMS?
c. What is a view? What are the various types of views?
d. What is shadow paging?
e. Explain briefly various kinds of privileges.
f. What is granularity of a data item?
g. Why do we need concurrency control?
h. What is serializability of schedule?
i. What is a transaction?
j. Difference between relation calculus and relational algebra.
(2017) DEC
1. a) Distinguish between disjoint and overlapping constraints?
b) Which DML operations are constrained when you use 'with check option' while
creating a view?
c) Differentiate between Database Administrator and Database Manager.
d) What is DML in SQL? List the different DML commands used in SQL.
e) What is meant by Functional Dependency?
f) What is Server side scripting?
g) What is a Database View and how does it help in Database Security?
h) What do you mean by single-valued and multi-valued attributes?
i) What is the purpose of Foreign Key constraint?
j) What is Data Farming?
(2016)
1. Write briefly :
a) Give the usage of rename operation with an example.
b) With an example explain what a derived attribute is?
c) List the SQL statements used for transaction control.
d) Define functional dependency.
e) What do you mean by weak entity sets?
f) Define Physical schema and Logical schema.
g) Differentiate between procedural and non procedural language.
h) Define integrity constraints.
i) Give various symbols used in E.R. diagram.
j) Describe statistical database security.
(2016) DEC
1. Write briefly :
a. What are entities? Give examples?
b. What is functional dependency? Give an example.
c. Mention the ACID properties of transaction.
d. What is the difference between data mining and data warehouse?
e. Data integrity can be improved by which of the following means :
A) Adding indexes
B) Entering appropriate terms into the data dictionary
C) Incorporating business rules when defining the data
D) Using inheritance.
f. What are JDBC and ODBC? Give at-least one difference?
g. What is hashing?
h. What is the difference between sparse index and dense index?
i. What is difference between table and a view? Give the syntax of creating both in
SQL.
j. Explain the structure of XML data.
​SECTION-B

(2019)
​2. List various advantages of Data Base approach over Traditional File system
approach.
3. What is ER Diagram? What are the symbols used in it? Design and Draw an ER
diagram for a banking system.
4. Explain the different set operations used in SQL.
5. Discuss the Shadow Paging Recovery Technique. Under what circumstances does it
not require a log?
6. What are Multimedia Databases? How data is stored and indexed in Multimedia
Databases?
(2018)
2. Explain with the help of examples ACID properties in DBMS?
3. Explain by taking some examples difference between the terms serial schedule and
serializable schedule?
4. Explain two phase locking protocols? Explain with example.
5. Solve the following on the given data base [using SQL]:
S (Sno, Sname, City, status)
P (Pno, Pname, color, weight)
SP(Sno, Pno , qty)
a) Get supplier number who supplies maximum quantities?
b) Get total quantity supplied by S1?
[you can make assumptions if needed]
6. Discuss the architecture of DBMS in brief
(2018 -B)
2. Consider the following database schema for supplier-parts-projects database
(suppliers(Sno) supply parts(Pno) to projects(Jno)):
Supplier(Sno,Sname,date_of_Birth,birth_place)
Parts(Pno,Pname,color,weight,city)
Project(Jno,Jname,city)
Shipment(Sno,Pno,Jno,qty)
Draw the E-R model. Also specify: the different entities, cardinalities and degrees of the
relationships in the above model. Write the applications of E-R model.

3. Consider the database schema given in Q 2, write queries/statements in SQL to:


a) Create a Supplier Table.
b) Retrieve the minimum quantity supplied by each Sno.
c) Add a new constraint on parts color: color should be pink.
d) Retrieve the supplier nos (Sno) of the suppliers who were born in Amritsar.
e) Display the total qty supplied by supplier ‘Hari’.

4. Normalize the following database upto 3NF:


Student (course_code, CName, TeacherName, Rollno, SName, Sys_used, Hrly_rate,
Total_ Hrs) Also, explain the delete and update anomalies of 1NF, 2NF and 3NF. How
these can be rectified. [Assumptions: each student studies number of courses, Only one
system is assigned to each student. Cname, Sname stands for Course name and
student name respectively].

5. Explain structure of XML document with suitable example.

6. Why concurrency control is needed in database system? Explain, any One


concurrency control technique?

(2018) DEC
2. Give the introduction of database interfaces. What are its types?
3. What is an ER-diagram? Construct an ER diagram by taking a suitable example.
4. What is relational model? How the data and relationships are represented in tables in
relational models?
5. What are different types of normalization? Also explain the difference between BCNF
and 3NF briefly.
6. How OLAP is used to extract and view data in warehousing?
(2017)
2.Describe the three-level architecture of DBMS.
3. What is Relational Calculus? What is the difference between tuple relational calculus
and domain relational calculus? Explain with the help of suitable examples.
4. Explain the schema of XML document with the help of an example.
5. Discuss briefly about mobile database and multimedia database.
6. What are Data warehouses'? Explain the meaning of Extraction, Transformation and
Load in perspective of Data warehouses.
(2017) DEC cse/it
2. What is the architecture of a data base. Explain with example
3. What are the various advantages of data bases over the file system
4. Explain the role of DBA in a data base environment
5. How is a relationship between entities indicated in an E-R diagram, and what is its
function?
6. What is a weak entity, and how is it represented in an E-R diagram? given an
example.
(2017) cse/it
2.Draw an ER diagram for library management system which has student, teacher,
books, inventory, and requirement? Clearly highlight entities, relationship, primary key,
and foreign key?
3. Discuss validation concurrency control technique.
4. Explain why do we need to recover a database with example.
5. How do we deal with constraint violation?
6. Define normalization, structural constraints, interfaces and scheduling.
(2017) DEC
2. What is ER Diagram? What are the symbols used in it? Design and Draw an ER
diagram for a banking system.
3. What is Relational Calculus? What is the difference between tuple relational calculus
and domain relational calculus? Explain with the help of suitable examples.
4. Explain the schema of XML document with the help of an example.
5. Discuss briefly about Spatial and Geographic databases.
6. Discus the Shadow Paging Recovery Technique. Under what circumstances does it
not require a log?

(2016)
2. Explain the need of normalization in database.
3. Discuss the various disadvantages in the file system and explain how it can be
overcome by the database system.
4. What is E-R model? What is the use of E-R model? Draw any E-R diagram of your
choice. Specify different entities, their attributes, cardinalities and degrees of the
relationships in the E-R model.
5. What do you mean by deadlock? How it can be removed?
6. What is the purpose of RAID? Which level of the RAID is best? Why?

(2016) DEC
2. Design an ER diagram for an IT training group database that will meet the information
needs for its training program. Clearly indicate the entities, relationships and the key
constraints. The description of the environment is as follows :

The Company has 12 instructors and can handle upto 100 trainees for each training
session. The company offers 5 advanced technology courses, each of which is taught
by a team of 2 or more instructors. Each instructor is assigned to a maximum of two
teaching teams or may be assigned to do research. Each trainee undertakes one
advanced technology course per training session. (5)

3. a) What is data independence? Describe its different types with example. (2)
b) Explain QBE. What is the relationship between QBE and SQL? (3)

4. What is a relational model? Explain primary key, candidate key and foreign key with
examples. Describe other database constraints with example. (5)

5. a) What is concurrency control? Explain. (2)


b) Why is a B+ tree a better structure than a B-tree for implementation of an indexed
sequential file? Explain this with an example. (3)

6. a) Briefly explain various query optimization techniques with example. (2)


b) Explain the following in terms of providing security for a database :
authorization;views;backup and recovery;integrity;encryption;RAID
SECTION-C

(2019)
7. Explain XML with the help of an example.
8. What do you mean by Normalization? What do you mean by Multi-valued and Join
Dependency. Also Explain 4th and 5th Normal forms with the help of examples.
9. Discus the architecture of Data Warehousing? What are the different challenges in
maintaining these? Discus any two applications of Data Warehouses.
(2018)
7. Draw an ER diagram for the following application from the manufacturing industry:
a) Each supplier has a unique name.
b) More than one supplier can be located in the same city.
c) Each part has a unique part number.
d) Each part has a colour.
e) A supplier can supply more than one part.
f) A part can be supplied by more than one supplier.
g) A supplier can supply a fixed quantity of each part.
[please make necessary assumptions if needed]

8. Given the schema:


EMP(Fname,Lname,SSN,Bdate,Address,Sex,Salary,SuperSSN, Dno)
DEPT(Dname, Dnumber, MgrSSN Mgrstartdate)
DEPT-LOC(Dnumber,Dloc)
PROJECT(Pname, Pnumber, Ploc, Dnum)
WORKS_ON(ESSN, PNO,Hours)
[You can make assumptions if needed]
Give the relational algebra expression for the following:
a) List female employees from Dno = 20 earning more than 50000.
b) List CSE deptt details
c) Retrieve the first name last name and salary of all employees who work on
department number 50
d) Retrieve the name of manager of all departments.
e) Retrieve the name and address of all employees who work for sports department.

9. Discuss various types of normalization? Explain with the help of example difference
between 3rd Normal form and BCNF?
(2018 -B)
7. a) Discuss how Database Systems differs from File System.
b) What is the difference between relational algebra and relational calculus?

8. Write short note on following:


a) Integrity constraints
b) Scripting
c) Object Relational Database

9. Explain the terms:


a) Data warehouse
b) Spatial and Geographical databases
c) Temporal Databases
d) NoSQL databases
(2018) DEC
7. Discuss nested relations in object relational databases. Why they are called complex
data types?
8. What is Data Mining? Explain Data Mining Techniques. Compare between Data
Mining and Data Warehousing.
9. What is an XML Schema? What are the basic rules while writing XML? Explain.

(2017)
7. What is meant by the concurrent execution of Database Transactions in a multi user
system? Discuss the different problems that can occur due to concurrent execution of
transactions. Explain with the help of an example the terms Serial – Schedule and
Serializable Schedule.
8. What do you mean by ODBC and JDBC? Explain with the help of an example how to
access data in the database from a Java application.
9. What do you mean by Normalization? Explain the first three normal forms along with
BCNF and the anomalies that exist in these normal forms with the help of suitable
examples

(2017) DEC cse/it


7. Explain different types of operators used in java programming. Write a simple
program to demonstrate operator precedence in java.
8. What is exception handling? How multiple exceptions are caught in a single
program? WAP to demonstrate the use of custom exception.
9. Write a short note on
a. Throw Vs Throws
b. Thread Synchronization
c. Recursion
d. JDBC
(2017) cse/it
7. Consider the following tables :
Part (p_id, p_name, p_cost)
Customer (c_id, p_id, c_name)
Supplier (s_id, s_name, p_id, p_city)
Shop(sh_id, p_id ,c_ id, s_id, sh_city)
a. Insert into table part a new column named part details.
b. List the name of customer who are from the same city.
c. List the customers who have been supplied with minimum number of parts.
8. What is normalization? Why do we need to normalize our database? Explain various
normal forms by taking proper examples.

9. Discuss the importance of following with respect to DBMS :


a. Data independence
b. Classification
c. Granularity

(2017) DEC
7. What do you mean by Normalization? What do you mean by Multi-valued and Join
Dependency. Also Explain 4th and 5th Normal forms with the help of examples.

8. Discus the architecture of Data Warehousing? What are the different challenges m
maintaining these? Discus any two applications of Data Warehouses.

9. What do you mean by ODBC and JDBC? Explain with the help of an example how to
access data in the database from a Java application.

(2016)
7. Diagrammatically illustrate and discuss the steps involved in processing a query.
(10)
8. a) What is Lossless-join decomposition? (2)
b) Explain two types of Participation constraints. (3)
c) What is the difference between tuple relational calculus and domain relational
calculus? (5)
9. Explain deferred database modifications and immediate database modification
recovery techniques.

(2016) DEC
7. Consider the following relations :
Employee (emplD, FirstName, LastName, address, DOB, sex, position, deptNo)
Department (dtptNo, deptName, mgr, emplD)
Project (projNo, projName, deptNo)
Work on (emplD, projNo, hours worked)
Write the SQL statements for the following :
a) List the name and addresses of all employees who work for the IT department.
b) List the total hours worked by each employee, arranged in order of department
number and within department, alphabetically by employee surname.
c) List the total number of employees in each department for those departments with
more than 10 employees.
d) List the project number, project name and the number of employees who work on
that project.
8. a) What is normalization? Explain INF, 2NF, 3NF and BCNF.
b) Explain the various database recovery techniques.

9. Given the relational schemes :


ENROL (S#, C#, Section) - S# represents student number
TEACH (Prof, C#, Section) - C# represents course number
ADVISE (Prof, S#) - Prof is thesis advisor of S#
PRE_REQ (C#, Pre_C#) - Pre_C# is prerequisite course
GRADES (S#, C#, Grade, Year)
STUDENT (S#, Sname) - Sname is student name
Give queries expressed in relational algebra, tuple calculus and domain calculus for
the following :
a) List all students taking courses with Zeba.
b) List all students taking at least one course that their advisor teaches.
c) List those professors who teach more than one section of the same course.

You might also like