2008 Assignments

Page 49

Write the appropriate SQL commands for the following:

(8 Marks)

(i)

Find the details of the entire faculty whose designation is a Senior Doctor and have got consultation date in July 2007.

(ii)

List the details of all patients who have got consultation dates fixed between 15th August to 30th September 2007.

(b)

Write a trigger that restricts allocating consultation date on weekends and holidays. (5 Marks)

(c)

Consider a constraint – The value of the age field of a patient coming to the hospital should not be less than 15. Write an assertion for the above statement. (3 Marks)

(d)

Draw a UML class diagram for a hospital. Make your assumption. The class diagram must have generalisation/specialisation hierarchy. (4 Marks)

Question 3: (a)

What are the reasons of developing Object oriented database management system? Describe the various features of object oriented programming languages that are being supported by SQL with the help of an example each. (5 Marks)

(b)

Differentiate between Microsoft and Oracle’s XML technology support for database. (5 Marks)

(c)

Show the basic architecture of Data Warehouse and briefly describe its components. (5 Marks)

(d)

Briefly describe K-means clustering with help of an example (other than the course material). (5 Marks)

Question 4: (a)

Explain the following concepts with appropriate examples. (i) (ii) (iii) (iv)

Database recovery Concurrent transaction Mobile database DSS and ESS

(8 Marks)

(b)

Create a web database for a hospital. Make your assumption.

(c)

Highlight the important features of PostgreSQL that may qualify it in the category of object-relational database management system. (4 Marks)

(d)

Briefly describe data integrity and triggers support in Oracle.

49

(4 Marks)

(4 Marks)


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.