Sunteți pe pagina 1din 1

Roll No.: ..

Rayat-Bahra Institute of Engineering and NanoTechnology


Hoshiarpur

Roll No.: ..
Rayat-Bahra Institute of Engineering and NanoTechnology
Hoshiarpur

Department of Computer Science Engineering & IT

Department of Computer Science Engineering & IT

MST- II

MST- II

DATABASE MANAGEMENT SYSTEM


Semester: IT 5TH

Subject: BTIT-503

M. Marks: 24

Time Allowed: 90 mins

Note: Section A is compulsory. Attempt any Two questions from section B and
One question from section C.

Section A (2 marks each)


Q1.
Q2.
Q3.
Q4.

What is DIVISION operator?


Explain the delete statement of SQL with example.
What is the use of SELECT, CREATE command in SQL ?
Write a short note on projection operator.
Section B (4 marks each)

Q5. Given the following relations:Suppliers(S#, SName, City); S# is a key and Parts (P, PName,
Weight, Quantity); P is a key, Supply (S, P, Quantity) S, P as a key
Write expressions in relational algebra to answer the following queries
(A) Find all parts numbers being supplied
(B) Find part numbers and part names of parts held in quantity of <25.
(C) Find supplier names of suppliers who supply part number 3.
Q6. Write a short note on transactions and triggers.
Q7. What are the data integrity rules? Explain.
Section C (8 marks each)
Q8. Define relational algebra. Explain how it is different from
relational calculus.
Q9. What is the purpose of Join operation in relational algebra?
Explain different types of joins with suitable examples.

Wishing You All the Best!!

DATABASE MANAGEMENT SYSTEM


Semester: IT 5TH

Subject: BTIT-503

M. Marks: 24

Time Allowed: 90 mins

Note: Section A is compulsory. Attempt any Two questions from section B and
One question from section C.

Section A (2 marks each)


Q1.
Q2.
Q3.
Q4.

What is DIVISION operator?


Explain the delete statement of SQL with example.
What is the use of SELECT, CREATE command in SQL ?
Write a short note on projection operator.
Section B (4 marks each)

Q5. Given the following relations:Suppliers(S#, SName, City); S# is a key and Parts (P, PName,
Weight, Quantity); P is a key, Supply (S, P, Quantity) S, P as a key
Write expressions in relational algebra to answer the following queries
(D) Find all parts numbers being supplied
(E) Find part numbers and part names of parts held in quantity of <25.
(F) Find supplier names of suppliers who supply part number 3.
Q6. Write a short note on transactions and triggers.
Q7. What are the data integrity rules? Explain.
Section C (8 marks each)
Q8. Define relational algebra. Explain how it is different from
relational calculus.
Q9. What is the purpose of Join operation in relational algebra?
Explain different types of joins with suitable examples.
Wishing You All the Best!!

S-ar putea să vă placă și