Sei sulla pagina 1di 2

Roll No.

Total No. of Questions


: 091 [Total No. of Pages: 02
q\^*5c.t \A*'ffier ID tCS302l
w\prr;
(PlcasefillthisPaperIDinOi!IRStrcct) OL
nAA\,
B.Tech. (Sem.- 6'h)
RELATIONAL DATABASE MANAGtrMBNT SYSTEM - TI (CS .302)
Time : 03 Hours Maximum Marks : 60
Instruction to Candidates:
1) Section- A is Compulsory.
2) Atternptany Four questionsfrom Section- B.
3) Attenpt any 1\ro qrrestionsfrom Section- C.

Section- A
QI) (10x2-20)
a) What are the table level constraints?
b) Ust significairtdifferencesbetrveena file-processingand a DBMS.
c) Whatis dataconversionfunction?
d) Use the TRUNCATE IABLE statementto truncatea rable.
e) Use the COMMENT ON statementto add a conlmentto a table.
0 What are the UNIQUE constraints?
g) What arethe advantagesof PLISQL?
h) What arepartitionedviews?
i) What are the advantages
of indexes?
j) What are the databasetriggers?

Section- B (4x5=20)

Q2) Explain all of the following typeswith SQL examples.


DROPIndex
DROPTrigger
DROP Procedure
DROP Clause
TRUNCATE,Table

Q3) Write the SQL commandsfor GrantandRevoke.And also explainthe role of


storedproceduresin databasemaltagementsystem?

R-78s
t2Lssl p..T.O.
Q4) Demonstrate functions;LOWER, UPPER.INITCAP
theuseof four character
andLENGH.
t'rt"}.r'r?,r:-';I '
.-
Q5,) Discussthe variousoperationsthat can performedin ielatibnef iilde6r;lF. r""il.
t-',G
' .'l :,! ...d\

Q6) Whada'rdlridexes,Package,Cursor and Viervs?Explain briefly wirh SQL


examples.

Section- C (2x10=20)

Q7) Discussthe basicoperationsthat can perfonnusingrelatiortalalgebra.Also


explain the conceptof referentialintegrity in datatraserlanagenrentsystem.

Q8) The studentspassingin the varioussubjectsare as foliows:


STUDENT TABLE
S tu d e n tC o d e Student Nanre
s901 D Walters
s902 A Hughes
COURSETABLE
ConrseCode CourseName
c12 Science
c15 Costine
c20 Accour-rts
c30 Lan,euages
c45 Mathematics
MARKS TABLE
StudentCode ConrseCocle Marks
s90l c12 7I
s90r c20 89
s901 c30 Aa

s901 c45 6l
s902 cl5 54
s902 c30 9I
s902 c45 t6
Write the RelationalModel fbr the follorving:
(i) Find out the coursesandmarksof the studentS901.
(ii) Find out the marksof the studentswho haveoptedfbr the courseC20.

Q9) What aredillerenttypesof nomralization'lAlso explainthe dif-ference


between
BCNtrarrd3'dNF brie{lv.
EffN
R-785 - 2-

Potrebbero piacerti anche