Docsity

Transaction Management - Database System - Exam, Exams of Database Management Systems (DBMS)

Toggle sidebar
bg1
Ollscoil na hÉireann, Gaillimh GX_____
National University of Ireland, Galway
Autumn Examinations, 2008
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
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Transaction Management - Database System - 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

OLLSCOIL NA hÉIREANN, GAILLIMH

National University of Ireland, Galway

_______________________________

Semester I Examinations, 2007/ _______________________________

Bachelor of Commerce – Final Year DATABASE TECHNOLOGIES (MS310)

Bachelor of Science in Business Information Systems – Second Year DATABASE SYSTEMS (MS210)

Higher Diploma in Systems Analysis DATABASE SYSTEMS & LANGUAGES I (MS885.i)

Master of Business Studies (Electronic Commerce) DATABASE SYSTEMS & LANGUAGES I (MS885.i)

Professor H. van der Heijden Professor J. F. Collins Dr. M. A. Lang

Time Allowed: TWO AND A HALF Hours (2h 30m)

Answer QUESTION FIVE and any other TWO questions

  1. Transaction management is a vital function of a database management system (DBMS) and is critical to assuring data integrity.

Describe how transaction management mechanisms are implemented in SQL-compliant relational database management systems (RDBMS).

(25 marks)

  1. (a) The principal of a local school has approached you with a view to designing a database which records student performance and attendance. At present, records are kept on paper and reports are manually produced. This is a tedious, inefficient and error-prone process.

Below is an example of an end-of-term student report. Using the technique of normalisation , you are required to produce a data model which complies with the rules of third normal form. At each stage of the transformation from un- normalised form (0NF) to third normal form (3NF), clearly explain what changes you make, and why these are necessary.

Student Name: Tomás Campbell Class: 5C Date of Birth: April 20, 1981 Address: Atlantic Drive Days Absent: 3 Liscannor Attendance: 96% Co. Clare

Term: Spring 2007 Date: March 31, 2007

A = 85-100%; B = 70-84%; C = 55-69%; D = 40-54%; NG = 0-39%

Subject Mark Grade Comments English 68 C Needs to read more; avoid txt abbrevs History 72 B Keen and interested student, well done Physics 85 A Excellent result, has much potential Accounting 84 B Very good student but can do better French 65 C Could benefit from a summer abroad! Mathematics 80 B Satisfactory

Overall Average: 75.7% Overall Placing: Top 10%

Performance in Extra-curricular Activities: Tomás makes excellent contributions to the school drama society and is a regular member of the badminton squad.

(18 marks)

(b) In designing a database, it is important to carefully reflect upon assumptions and exceptions as these can impact decisions such as the choice of keys, the cardinality of relationships, and integrity rules. Briefly discuss this statement.

(7 marks)

  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.

h) Details for Steven Spielberg were inadvertently entered in the Actor table instead of the Director table. Perform the necessary modifications to remedy this.

(4 marks)

i) List the names of all actors who have won the “Best Actor” award ( Award_Category ) at the Oscars ( Award_Ceremony ) on two or more occasions.

(6 marks)

j) Who picked up the “Best Actress” award ( Award_Category ) at the most recent Tribeca Film Festival ( Award_Ceremony )? Your output should list the actor’s name, film title, year of award, and name of part.

(Hint: Use a sub-query to first find out the year of the most recent Tribeca Film Festival ) (6 marks)

k) How many films directed by Peter Jackson have sequels?

(Hint: Use a sub-query which retrieves the set of values in the Sequel_to field and look for matches with relevant values from the FilmID field) (8 marks)

(Total marks for Question 5: 50 marks) Suggested time: 80 minutes