0% found this document useful (0 votes)
29 views2 pages

DBMS - Assignment - 5

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)
29 views2 pages

DBMS - Assignment - 5

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/ 2

1. Describe Armstrong’s axioms in detail.

What is the role of these rules in database


development process?
2. Write PL/SQL program to display the multiplication table of 7
3. Describe hierarchical model in database, explain cardinality ratio and participation
constraint.
4. Explain BCNF and 3NF with examples.
5. Describe the purpose of Database, write a short note on design of ER Model.
6. Explain lock based protocols and time stamped based protocol in Concurrency control.
7. Explain log based recovery in detail.
8. Explain functional dependency and Armstrong’s Interference rules.
9. Explain the concept shadow paging in detail.
10. Given the following set of FDs on schema R (V,W,X,Y,Z) {Z→V, W→Y, XY→Z,
V→WX} State whether the following decomposition are loss-less-join decompositions
or not.
R1=(V,W,X) , R2=(V,Y,Z)
R1=(V,W,X), R2=(X,Y,Z)
Find the names of employees who are assigned to all positions that require a Chef’s
skill.

11. Based on the Library Information System Database, perform the following SQL queries
related to SELECT, DISTINCT, WHERE, ORDER BY, AND, LIKE operations.
i. Display all the records of a table staff & quota.
ii. Display any two columns of table staff.
iii. Display all unique First Names FROM table staff.
iv. Return the number of distinct first names FROM table staff.
v. Display records of all male staff.
vi. Find the first names and last names of the students whose birthday is in May 2012
vii. Display all records of table staff in ascending order of date of joining.
viii. Display all records of male staff with ID greater than ‘S01’.

12. Consider the following database


Employee (emp_no, name,skill,pay-rate) eno primary key
Position (posting_no,skill) posting_no primary key
Duty_allocation (posting_no,emp_no, day, shift)
Find the SQL queries for the following:
i. Get the duty allocation details for emp_no 123461 for the month of April 1986.
ii. Find the shift details for Employee „xyz‟
iii. Get employees whose rate
iv. of pay is more than or equal to the rate of pay of employee „xyz‟
v. Get the names and pay rates of employees with emp_no less than 123460 whose rate of
pay is more than the rate of pay of at least one employee with emp_no greater than or
equal to 123460.
vi. Find the names of employees who are assigned to all positions that require a Chef‟s
skill
13. Consider the following schema for institute library:
Student (Roll No, Name, Father_ Name, Branch)
Book (ISBN, Title, Author, Publisher)
Issue (Roll No, ISBN, Date-of –Issue)
Write the following queries in SQL and relational algebra:
(i) List roll number and name of all students of the branch ‘CSE’.
(ii) Find the name of student who has issued a book published by ‘ABC’ publisher.
(iii) List title of all books and their authors issued to a student ‘RAM’.
(iv) List title of all books issued on or before December 1, 2020.
List all books published by publisher ‘ABC’.

14. Write a shote note on object-oriented database.Write a shote note on distributed


database.
15. Construct the ER diagram for a hospital with a set of patients and the set of medical
doctors associated and the diagnostic tests performed (identify the entities, attributes
and relationship)
16. What is the Normalization process, explain multivalued dependency and joint
dependency.
17. Construct the ER diagram for a college MIS with a set of students and the set of
Teachers associated and the individual subject assessment (identify the entities,
attributes and relationship)
18. What is the Normalization process, explain multivalued independency and joint
dependency.

You might also like