Save trees use e-Question Paper
DOWNLOAD THIS FREE AT www.viuresource.com
[TTT T) :
Fifth Semester B.E. Degree Examination, Dec.2014/Jan.2
Database Management System
Time: 3 his. Max. Mareeet00
Note: Answer any FIVE full questions, selecting atleast TWO ques by each part.
PART. A.
1a. Explaiw the typical components module ofa DBMS, with a ndft diagrag. (10 Marks)
b. Define the following with examples :
i) Value set i) Complex attribute iii) Data di Schema construct
vy) Metadata, (10 Marks)
2 a
b
BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
What are structural constraints on a relation type? Exp
‘What is a weak entity type? Explain the role of pagal ke}
itMamples. (05 Marks)
Jesign of weak entity type.
(05 Marks)
Design aa ER diagram for the mail order Dj ing the following requirements
i) The mail order company has employe
and last name, Address, Gender, 23
ii) Each customer of the company PRM unique customer ID, first and last name,
Address, Location & Zip code.
ili) Each part sold by the company
& quantity in stock,
iv) Bach order placed by a
umber. Each ordee
date of receipt
v) Each customer can
vi) Each Employee:
employee.
vii) Each part ped by +r of customers and each customer can place order for number
of pat
by a unique part number, part name , price
en by an employee and is given a unique order
sd quantities ws'one or more parts. Each order has a
iad. (10 Maris)
each considered
(05 Marks)
Jus types of JOIN operations, Why is Theta Join required? (05 Marks)
entity Wlcgrity and referential integrity constraints. Wh
N, NAME, BRANCH, PERCENTAGE)
ry (MD, FNAME, DEPT, DESIGNATION, SALARY)
(CID, CNAME, FID)
nroff(CID, USN, GRADE)
ye the relation algebra expression for the followin,
1)” Retrieve the naine and percentage of all students for the course 10CS54.
ii) List the Departments having a average salary of the faculties above Rs 30,000.
iii) List name of the course baving students grade “A" maximum, (10 Mark
lof?
A Viuresource Go Green initiativeSave trees use e-Question Paper Go green
DOWNLOAD THIS FREE AT www.viuresource.com
4
‘4 Explain the different constraints that can be applied during table ereation in §\
example, M
. Write the SQL query for the following Database Schema
Works (Pname, Chame, Salary)
ives (Pname, Street, City)
Located_in (Cname, City)
Manager (Pname, Mgrname) @
{Find the names ofall persons who live in the city “Bangalore”.
ii, Retrieve the names of al person of “Infosys” whose salary is befijgdA Rs 8.000 and
es 99,000,
iii) Fina the names ofall persons who lives and work in samfity.
iy) List the names of the people who work for “Tech M” glofigwith ti cities they live in.
v) Find theaverage salary of “Infosys” persons, (12 Marks)
PART-B
4 Explain the syntax of SELECT statement in SOL. (05 Marks)
b. How is view created ane dropped? What problenggare assMiipted with updating, views?
(io Marks)
cc. Explain the following i) Embedded SQL ay stored procedure. (10 Marks)
among the attributes of a relation seep? (05 Marks)
b. Consider R= {A, B, C.D, E, F}. FggPate CE, CD + EF}.
Show that AD — F. (05 Marks)
. Find the key and normalize
Book tittle | Auth_name | Bo ice | Affiliation | Publication,
u
Peart Bo ite aoe
oS
pace ey rc
1 NE cag dg eal NG Rain dindLepesl/ Ela
Coe en Nene
. Given relation ‘butes R = (A, B, C, D) and following FDs. Identity the
nest normal form,
A, i) BCD A. (10 Marks)
on ME LIowing
ing protocol
tin SOL
sme stamp ordering algorithms
a proggies 20 Marks)
2of2
BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
A Viuresource Go Green initiative