

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Page 1 of 2
Semester 1 Examinations 2011/
Module Code: COMP
School: Science & Informatics
Programme Title: BSc (Hons) Software Development - Year 3 BSc (Hons) Software Development and Computer Networking - Year 3
Programme Code: KSDEV_8_Y KDNET_8_Y
External Examiner(s): Mr Aidan Quilligan Internal Examiner(s): Mr Byron Treacy
Instructions: Answer any four questions.
Duration: 2 Hours
Sitting: Winter 2011
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
Page 2 of 2
Q1. Migration/Legacy systems (25 Marks)
Legacy system is a term used to describe typically a non relational database data processing system; e.g. it may have been programmed in a standard programming language like C or Cobol etc. In many cases more modern databases system are used to replace these legacy systems.
a) Discuss the issues relating to processing (or moving) data that is stored on a legacy to a relational database. 15 Marks b) In particular, explain the issue relating to concatenated key values. For example, in CIT course codes look like this: KS_DEV_8_Y3. What special issues arise when relational databases handle this type of attribute value? 10 Marks
Q2. Indexing (25 Marks)
a) What is an index? 7 Marks b) Comment on how the use of indexes impacts on concurrency in a multi-user online transaction based system. 9 Marks c) Explain how indexes are linked to performance (query optimisation)? 9 Marks
Q3. Concurrency: (25 Marks)
a) “Locks should be always maintained until end of transaction”. Discuss your opinion of this statement. 8 Marks
b) Lock escalation and lock promotion. 17 Marks Distinguish between lock escalation and lock promotion. Why are both procedures used in concurrency control? Describe why a request for escalation can be denied. Describe why a request for promotion can be denied.
Q4. Recovery: (25 Marks)
a) Give an outline of the general algorithm (procedure) used to implement a UNDO / REDO recovery (independent of buffers, and assuming an action consistent checkpoint scheme). 13 Marks b) Assuming a failure has occurred, and the recovery procedure is working, but the failure reoccurs during the recovery itself. Discuss how a DBMS must handle this type of event? 12 Marks
Q5. Security: (25 Marks)
Write a detailed note on risk assessment in database security?