You are on page 1of 13

Unit-1 INTRODUCTION TO CONCEPT OF DBMS

What is Database Management system? Explain difference between DBMS & RDBMS.What are the possible applications of DBMS
Explain functions of DBA to handle DBMS. OR Explain the purpose of the database system. OR Briefly explain applications of DB

Define data and information. Also explain advantages of DBMS.What is data dictionary?What do you mean by instances and sch

What is the difference between Database user and Database administrator? Explain various functions of Database Administrato
roles of a DBA. OR Explain in detail the duties of DBA. OR Differentiate the following: DA and DBA. OR What are the responsibi
in DBMS. OR List the major functions performed by DBA.
Explain disadvantages of conventional file-based system compared to Database management system. OR Discuss disadvantag
Database Management Systems. OR Describe various disadvantages of file system compare to Data base management system
processing system and database management system.OR Explain advantages and disadvantages of Conventional File-based sy
disadvantages of conventional file-based system compared to Database management system.

Explain three level architecture of DBMS and its advantages. OR Explain database system 3 tier architecture with clear diagram
database system. OR Explain database system architecture with diagram in detail.
What is data independence? Explain different types of data independence with suitable example.OR What is data independence
data independence with example

Define DBMS. Explain the DBMS languages with examples: DDL, DML, and DCL. OR Explain DDL, DML and DCL syntaxes with ex

Unit-2 RELATIONAL MODEL

Consider following schema and represent given statements in relation algebra form.
Branch(branch_name,branch_city) , Account(branch_name, acc_no, balance), Depositor(Customer_name, acc_no)
1. Find out list of customer who have account at Baroda HO branch.
2. Find out all customers who have account in Ahmedabad city and balance is greater than 10,000.
3. Find out list of all branch names with their maximum balance.

What is join ? Explain various type of joins with example. OR Explain different types of outer join with example. OR Explain vari
OR Explain natural join operation with example. OR Explain selection and projection operation with example. OR Explain all typ

Write SQL or Relational algebra statement for following.Student( Enrno, name, courseId, emailId, cellno) Course(courseId, cours
1) Add a column city in student table.
2) Find out list of students who have enrolled in computer course.
3) List name of all courses with their duration.
4) List name of all students start with a.
5) List emailId and cellno of all mechanical engineering students.

Explain Mapping Cardinalities.


Solve the queries for following database using Relational Algebra.(1).branch (branch-name, branch-city, assets)
(2).customer(customer-name,customer-street, customer -only)(3).account (account -number, branch-name, balance)(3).loan (lo
(customer-name, account -number)(5).borrower (customer-name,loan -number)
a)Find all loans of over $1200.
b)Find the loan number for each of an amout greater than $1200.
c)Find the names of all customers who have a loan, an account, or both, from the both, from the both, from the bank.
d)Find the names of all customers who have a loan and an account at bank.
e)Find the names of all customers who have a loan at Perryridge branch.
f)FindFind the names of all customers who have a loan at the Perryridge branch but do not have an account at any branch of the
g)Find the names of all customers who have a loan & an account at the Perryridge branch.

What is relational algebra? List and explain Fundamental and additional relational algebra operators. OR Write short note on Re
Relational Algebra Operation cross product with example. OR List relational algebra operators and explain any two with exampl
(i)Natural join operation (ii) Selection and projection operation OR List the relational algebra operators. Discuss any one such al
Relational algebra operators. Explain the working of Cartesian product Operation and the Division Operation with an appropriate

Explain candidate key, primary key and foreign key with example. OR Explain following terms with suitable example.(1) Primary
Cascade

DBMS

plications of DBMS? OR Explain the purpose and application of DBMS. OR


applications of DBMS. OR Explain the different types of database users.

instances and schemas?Define RDBMS.

base Administrator? OR Who is DBA?Define DBMS. Explain the various


are the responsibilities of a DBA ? OR Who is DBA? Explain the role of DBA

cuss disadvantages of file processing systems and advantages of


anagement system. OR Write any one difference between traditional file
onal File-based system over Database management system. OR Explain

with clear diagram in detail. OR Explain three level architecture of

data independence ? Explain the difference between physical and logical

L syntaxes with example

cc_no)

e. OR Explain various types of joins with example.


OR Explain all types of Joins with commands and examples.

e(courseId, course_nm, duration)

s)
alance)(3).loan (loan-number, branch-name, amount) (4).depositor

e bank.
any branch of the bank.

e short note on Relational algebra. OR What is Relational Algebra? Define


y two with example. OR Explain following relational algebra operation.
s any one such algebra operator with suitable example. OR List all the
with an appropriate example.

ample.(1) Primary Key (2) Candidate Key (3) Foreign Key (4) On Delete

Mahatma Gandhi Institute of Technical Education & Research Center, Navsari


COMPUTER SCIENCE & ENGINEERING DEPARTMENT
Date:01/09/2016
Unit-1 INTRODUCTION TO CONCEPT OF DBMS
1
2
3
4
5

What is Database Management system? Explain difference between DBMS & RDBMS.What are the possible applications of DBMS?
Explain the purpose and application of DBMS. OR Briefly explain applications of DBMS. OR Explain the purpose of the database system.
Define data and information. Also explain advantages of DBMS.What is data dictionary?What do you mean by instances and schemas?
Explain functions of DBA to handle DBMS.
Explain the different types of database users.
What is the difference between Database user and Database administrator? Explain various functions of Database Administrator? OR
6
Differentiate the following: DA and DBA.
Who is DBA?Define DBMS. Explain the various roles of a DBA. OR Explain in detail the duties of DBA. OR What are the responsibilities of a DBA?
7 OR List the major functions performed by DBA. OR Who is DBA? Explain the role of DBA in DBMS.
Explain disadvantages of conventional file-based system compared to Database management system. OR Discuss disadvantages of file
processing systems and advantages of Database Management Systems. OR Describe various disadvantages of file system compare to Data base
8 management system. OR Write any one difference between traditional file processing system and database management system.OR Explain advantages
and disadvantages of Conventional File-based system over Database management system. OR Explain disadvantages of conventional file-based system
compared to Database management system.
Explain three level architecture of DBMS and its advantages. OR Explain database system 3 tier architecture with clear diagram in detail. OR
9 Explain three level architecture of database system.
What is data independence? Explain different types of data independence with suitable example.OR What is data independence ? Explain
10 the difference between physical and logical data independence with example
11 Explain Database system architecture with diagram in detail.
12 Explain three level ANSI SPARC Database system. OR Explain three level Data abstraction.
13 Explain the DBMS languages with examples: DDL, DML, and DCL. OR Explain DDL, DML and DCL syntaxes with example.

Mahatma Gandhi Institute of Technical Education & Research Center, Navsari


COMPUTER SCIENCE & ENGINEERING DEPARTMENT

Date:01/09/2

Unit-2 RELATIONAL MODEL

What is relational algebra? List and explain Fundamental and additional relational algebra operators. OR Write short note on Relational
algebra. OR What is Relational Algebra? Define Relational Algebra Operation cross product with example. OR List relational algebra
operators and explain any two with example. OR Explain following relational algebra operation. (i)Natural join operation (ii) Selection an
1 projection operation OR List the relational algebra operators. Discuss any one such algebra operator with suitable example. OR List all t
Relational algebra operators. Explain the working of Cartesian product Operation and the Division Operation with an appropriate exampl
Consider following schema and represent given statements in relation algebra form.
Branch(branch_name,branch_city) , Account(branch_name, acc_no, balance), Depositor(Customer_name, acc_no)
2 1. Find out list of customer who have account at Baroda HO branch.
2. Find out all customers who have account in Ahmedabad city and balance is greater than 10,000.
3. Find out list of all branch names with their maximum balance.

What is join ? Explain various type of joins with example. OR Explain different types of outer join with example. OR Explain various type
3 joins with example.OR Explain natural join operation with example. OR Explain selection and projection operation with example. OR Ex
all types of Joins with commands and examples.
Write SQL or Relational algebra statement for following.Student( Enrno, name, courseId, emailId, cellno) Course(courseId, course_nm,
duration)
1) Add a column city in student table.
2) Find out list of students who have enrolled in computer course.
4
3) List name of all courses with their duration.
4) List name of all students start with a.
5) List emailId and cellno of all mechanical engineering students.

Solve the queries for following database using Relational Algebra.(1).branch (branch-name, branch-city, assets)
(2).customer(customer-name,customer-street, customer -only)(3).account (account -number, branch-name, balance)(3).loan (loan-numb
branch-name, amount) (4).depositor (customer-name, account -number)(5).borrower (customer-name,loan -number)
a)Find all loans of over $1200.
b)Find the loan number for each of an amout greater than $1200.
5 c)Find the names of all customers who have a loan, an account, or both, from the both, from the both, from the bank.
d)Find the names of all customers who have a loan and an account at bank.
e)Find the names of all customers who have a loan at Perryridge branch.
f)FindFind the names of all customers who have a loan at the Perryridge branch but do not have an account at any branch of the bank.
g)Find the names of all customers who have a loan & an account at the Perryridge branch.
Explain candidate key, primary key and foreign key with example. OR Explain following terms with suitable example.(1) Primary Key
6 (2) Candidate Key (3) Foreign Key (4) On Delete Cascade

7 Explain Mapping Cardinalities.

Navsari
Date:01/09/2016

Write short note on Relational


OR List relational algebra
join operation (ii) Selection and
suitable example. OR List all the
on with an appropriate example.

e, acc_no)

mple. OR Explain various types of


peration with example. OR Explain

ourse(courseId, course_nm,

ssets)
e, balance)(3).loan (loan-number,
n -number)

m the bank.

nt at any branch of the bank.

e example.(1) Primary Key

Mahatma Gandhi Institute of Technical Education & Research Center, Navsari


COMPUTER SCIENCE & ENGINEERING DEPARTMENT
Unit-4

RELATIONAL DATABASE DESIGN

Why should normalization be performed on a table and what are its benefits. Explain 3NF and BCNF? OR Explain 1NF, 2NF, 3NF and BCN
What is normalization? Explain 1NF, 2NF & 3NF with example. OR Why do we need normalization? Explain 4NF & 5NF. OR What is norm
redundancy? Compare 1NF and 2NF with example. OR What is the advantage of using 3NF? Explain with example. OR Explain BCNF with
Explain Normalization. Apply all the Normalize form to following students detail table & write the resulting table.
RollNo Student_Name Address Phone_Number Marks_Maths Marks_Physics Books_Taken*
* Books_Taken: Books Taken by Students from Library OR What is normalization? What is the need for normalization?Explain 3NF with e
OR What is an anomaly in database design? How it can be solved? Explain BCNF with suitable example. OR Explain with suitable exampl
normalization covering from 1NF to 3NF. OR What is Normalization? What are its characteristics? Explain 2NF and 3NF in detail. OR
Elaborate Normalization. Explain any three normal forms with suitable example(s).

What is Functional Dependency? Explain non-loss decomposition.? OR What is non-loss decomposition in database? How it is useful in da
irreducible sets of Functional dependency with example. OR What do you understand by functional dependency? Write a simple example
functional dependency. OR Define functional dependency. Explain trivial and non-trivial FD with example. OR What is functional depend
usage in database design. OR What is functional dependency? Explain the its types in detail.

What is canonical cover? Consider following set F of functional dependencies on schema R(A,B,C) and compute canonical cover for F.
A -> BC B -> C A -> B AB -> C

Normalize (decompose) following relation into lower to higher normal form.(From 1NF to 4 NF).
PLANT
MANAGER MACHINE SUPPLIER_NAME SUPPLIER_CITY
plant - A
Ravi
Lath
Jay Industry
Ahmedabad
Boiler
Abb appliance
Surat
plant - B

Meena

Cutter
Boiler
CNC

Raj Machnery
Daksh Industry
Jay Industry

Vadodara
Surat
Rajkot

Consider a relation R with five attribute A,B,C,D,E having following dependencies : A --> B, BC--> E and ED--> A
a)List all Keys for R
b) In which normal form table is, justify your answer.

Explain how to find closure of a set of attributes?


Given relation R with attributes A,B, C,D,E,F and set of FDs as A-> BC, E-> CF, B->E and CD-> EF. Find out closure {A,B} + of the set of a
OR Given relation R with attributes A,B, C,D,E,F and set of FDs as A-> BC, E-> CF, B-> E, and CD -> EF. Find out closure {A,B} + of the

Given R= (A, B, C, G, H, I). The following set F of functional dependencies holds A -->B A -->C CG-->H CG-->I B -->H Compute AG + . Is
.

9
10
11
12

Compute the closure of R (A, B, C, D, E) with the following set of dependencies A -- > BC CD--> E B -- > D E -- > A List the candidate k
What problems can occur due to wrong database design? How they can be solved?
Consider table R(A,B,C,D,E) with FDs as A->B, BC->E and ED-> A. The table is in which normal form? Justify your answer.
Prove the statement Every relation which is in BCNF 3NF but the converse is not true". (4M)

13

State true or false: Any relation schema that satisfies BCNF also satisfies 3NF.

Date:06/10/2016

F, 3NF and BCNF. OR


What is normalization? What is
plain BCNF with example. OR

lain 3NF with example.


uitable example, the process of
etail. OR

t is useful in database? OR Explain


imple example to explain
ctional dependency? Explain its

cover for F.

of the set of attributes.(3M)


{A,B} + of the set attributes.

pute AG + . Is AG a candidate key?

he candidate keys of R.

You might also like