Docsity

Database Management System - Data Base Technologies - Exam, Exams of Database Management Systems (DBMS)

Toggle sidebar
bg1
1
Ollscoil na hÉireann, Gaillimh GX_____
National University of Ireland, Galway
Autumn Examinations, 2008/2009
Exam Code(s) 2BF1
3BC1
4BC1, 4BC2, 4BC3, 4BC4, 4BC5
1BD1, 1BD3
1AE1
Exam(s) Bachelor of Science in Business Information Systems
Bachelor of Commerce
Bachelor of Commerce (International)
Higher Diploma in Systems Analysis
Master of Business Studies (Electronic Commerce)
Module(s) MS210 Database Technologies
MS310 Database Systems
MS885.i Database Systems and Languages 1
External Examiner(s) Professor H. van der Heijden
Internal Examiner(s) Professor J. F. Collins
Dr. M. A. Lang
Instructions Answer Question 5 and any other 2 questions.
Duration 2½ hours
FOR INFORMATION OF EXAMINATIONS OFFICE ONLY
Paper No. 1 of 1
Repeat Paper N/A Special Paper N/A
No. of Answer Books N/A
Requirements
Handout None
MCQ None
Statistical Tables None
Graph Paper None
Log Graph Paper None
Other Material None
No. of Pages 9
Department(s) Accountancy & Finance
pf3
pf4
pf5

Partial preview of the text

Download Database Management System - Data Base Technologies - Exam and more Exams Database Management Systems (DBMS) in PDF only on Docsity!

Ollscoil na hÉireann, Gaillimh GX_____ National University of Ireland, Galway

Autumn Examinations, 2008/

Exam Code(s) 2BF

3BC 4BC1, 4BC2, 4BC3, 4BC4, 4BC 1BD1, 1BD 1AE

Exam(s) Bachelor of Science in Business Information Systems Bachelor of Commerce Bachelor of Commerce (International) Higher Diploma in Systems Analysis Master of Business Studies (Electronic Commerce)

Module(s) MS210 Database Technologies MS310 Database Systems MS885.i Database Systems and Languages 1

External Examiner(s) Professor H. van der Heijden

Internal Examiner(s) Professor J. F. Collins Dr. M. A. Lang

Instructions Answer Question 5 and any other 2 questions.

Duration 2½ hours

FOR INFORMATION OF EXAMINATIONS OFFICE ONLY

Paper No. 1 of 1 Repeat Paper N/A Special Paper N/A No. of Answer Books N/A Requirements Handout None MCQ None Statistical Tables None Graph Paper None Log Graph Paper None Other Material None No. of Pages 9 Department(s) Accountancy & Finance

Answer QUESTION FIVE and any other TWO questions

  1. An essential requirement of a database management system (DBMS) is that it should assure data integrity.

Outline the main ways in which data integrity may be compromised and the mechanisms engaged by relational databases to enforce integrity rules.

Your answer should include: entity integrity, required values, unique values, referential integrity, and transaction locking.

(25 marks) (Suggested time: 35 minutes)

  1. Illustrate using examples (with diagrams, text, and SQL code) how each of the following would be implemented in SQL-compliant relational database management systems (RDBMS):

(a) One-to-One relationships (1:1) (7 marks) (Suggested time: 10 minutes)

(b) Many-to-Many relationships (M:M) (10 marks) (Suggested time: 15 minutes)

(c) Recursive One-to-Many relationships (8 marks) (Suggested time: 10 minutes)

  1. (a) From a database administration perspective, describe the main concerns and threats relating to data security in organisational databases. (15 marks) Suggested time: 25 minutes

(b) Illustrate how SQL commands may be used to enforce security. (5 marks) Suggested time: 5 minutes

(c) Outline the main provisions of the Data Protection Acts 1988 – 2003.

(5 marks) Suggested time: 5 minutes

  1. Given the tables and relationships depicted in the schema below, you are required to provide the SQL commands necessary to execute the transactions (a) to (l) which follow.

Notes:

 It is recommended that you clearly state any assumptions that you make.

Any valid dialect of SQL is acceptable , provided that you are consistent throughout.

 A number of hints are provided to assist along the way, but you don’t have to follow these. Marks will not be lost for not doing so, where you come up with equally valid alternative solutions.

 However, if you produce a solution which works but is unnecessarily cumbersome , some marks will be deducted for failing to produce an acceptably elegant solution.

 A larger version of the database schema is reproduced on the last page of this examination paper. You may find it helpful to detach that page from the rest of the examination paper.

a) What film ( Title ) received the “Golden Bear” award ( Award_Category ) at the Berlin International Film Festival ( Award_Ceremony ) in 2008?

(2 marks)

b) List the names of all actors born in Barcelona, Spain between 1950 and 1975. Sort the list by ascending order of surname, then forename.

(2 marks)

c) Produce a cast listing (i.e. names of the actors, and the parts they played) for the film titled “One Flew Over The Cuckoo’s Nest” which was released in

(3 marks)

d) List the titles of all films directed by John Ford which feature the actor John Wayne.

(3 marks)

e) List the names of all actors who have ever played the part of “Batman” ( Part ) in a movie. No actor’s name should appear more than once in this list i.e. eliminate duplicate entries where an actor has played this part in two or more films.

(3 marks)

f) List the titles of all Documentary films ( Genre ) that contain the word “Journey”. (Hint: Use a pattern matching wildcard based on the film Title ) (3 marks)

g) How many Irish actors ( Country_of_Birth ) have ever won an Oscar ( Award_Ceremony ) in any category? Be careful not to count the same actor twice where he/she has won multiple Oscar awards.

(4 marks)

h) The entry for the actress Robert de Niro incorrectly records that he was born in Naples, Italy. It should correctly read New York, USA. Perform the necessary modification to implement this correction.

(4 marks)

i) List the names of all actors who have won the “Best Performance by an Actress in a Motion Picture – Drama” award ( Award_Category ) at the Golden Globes ( Award_Ceremony ) on two or more occasions.

(4 marks)