



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Exam Paper of Introduction to Databases which includes Data Independence, Application Development, Development Time, Database Application, Database System, Management System, Database Management, Relational Database, Database Schema etc. Key important poinst are: Database Management, File-Based System, Database Management, Management System, Database Application, Database System, Conceptual Data, Data Model, Data Requirements, Training Session
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Autumn Examinations 2008/
Module Code: COMP 6016
School: Computing & Mathematics
Programme Title: Higher Certificate in Computing in Information Technology Support
Programme Code: KITSU_6_Y
External Examiner(s): Mr K Carroll Internal Examiner(s): Ms L O Sullivan
Instructions: Answer all FOUR questions. All questions carry equal marks.
Duration: 2 Hours
Sitting: Autumn 2009
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.
1.(a) Explain what is meant by each of the following terms: (i) File-based system (ii) Database (iii) Database Management System (DBMS) (iv) Database Application (v) Database System
Each of the above terms can be defined as follows: (5 marks) (b) Describe the approach taken to the handling of data in the early file-based systems. Discuss two disadvantages of this approach. (5 marks) (c) You are required to create a conceptual data model of the data requirements for a company that specializes in IT training. The Company has 30 instructors and can handle up to 100 trainees per training session. The Company offers five advanced technology courses, each of which is taught by a teaching team of two or more instructors. Each instructor is assigned to a maximum of two teaching teams or may be assigned to do research. Each trainee undertakes one advanced technology course per training session.
(i) Identify the main entity types for the company. (ii) Identify the main relationship types and specify the multiplicity for each relationship. State any assumptions you make. (iii)Using your answers for (i) and (ii), draw a single ER diagram to represent the data requirements for the company. (15 marks)
(b) Write a SQL statement to add Timothy Barry, of 17 The Oaks, Wilton, Cork, as a sales representative with a Rep_No of 7. You must ensure that such a record can be inserted based on your answer to part (a) above. (2 marks)
(c) Write a SQL statement to set the current balance to zero of all customers managed by a sales representative called Sam Brown. (4 marks)
(d) Write a SQL statement to delete all sales representatives that have no customers assigned to them. (4 marks)
(e) Write a SQL statement to change the Rep_No of Rep_No 7 to 10.. Given the referential integrity constraints you chose for this schema, explain what happens when this statement is executed. (5 marks)
(a) List full details of all parts whose part number begins with the letter D and whose unit price is in the range of €100 to €500 - in alphabetical order of class and within class the most expensive part should be listed first and the least expensive part should be listed last. (5 marks)
(b) Find out how many customers are located in Cork, their maximum credit rating and their average customer balance. (5 marks)
(c) For each sales representative that manages two or more customers, list the sales representative’s number, the number of customers they manage and the total current balance of the customers they manage. (5 marks)
(d) List the number and name of all sales representatives who manage 2 or more customers. (5 marks) (e) For each order, list the order number, order date, the number of different parts ordered and the total value of the order^1. (5 marks)
(^1) The value of a particular order line is its quantity ordered by its quantity price.