You are on page 1of 4

MOCK EXAMINATION PAPER

Campus Maritime Greenwich

School Computing and Mathematical Sciences

Department Computing and Information Systems

Level 6

TITLE OF PAPER Database Engineering

COURSE CODE COMP 1639

Date and Time In class for week 12 - 2 hours

Answer ALL of the following questions. Each question is worth the marks shown in the title of
the question.

The scenario will be made available at least a week prior to the date of the examination.

CALCULATORS AND OTHER ELECTRONIC DEVICES ARE NOT PERMITTED.

YOU MAY USE NOTES THAT YOU HAVE MADE, BUT NOT BOOKS, COURSE
MATERIALS OR THE WORK OF OTHERS.
Scenario
Your local primary school would like to allow the older pupils – those in the two
years before going to secondary school – to explore topics. For example, a topic
might be “Our solar system”. Pupils could then explore facts by category (e.g. the
planets or moons of planets) each of which could have several facts associated with
them. It should be possible to have many topics set up in this way so that they can be
re-run in the future.
A secondary objective is to get them into computing, so the current idea is that this
base information will be held in a database which the pupils can explore in school.
They would also be able to search the Internet for facts related to their interests
within the topic. They would then create a simple Intranet web site1 covering what
they have found. The database should also be able to record the intranet addresses
and the names of the pupils who created them.
You have been volunteered to help because you are known as an expert in database
creation by one of the teachers involved.

Mapping of Learning Objectives to Questions


Learning Objectives
A. Critically evaluate the concepts and tools of the relational database
management system.
B. Investigate and analyse the data requirements for a database system design.
C. Manipulate data and database objects through the use of SQL.
D. Design and build a database management system that satisfies relational
theory and provides users with business queries, business forms, and business
reports.

Question 1 – Objective(s) A, B
Question 2 – Objective(s) A, B, D
Question 3 – Objective(s) A, B, D
Question 4 – Objective(s) C
Question 5 – Objective(s) A, D
Question 6 – Objective(s) A, D
Question 7 – Objective(s) C, D

1 A site hosted on the school system and not available on the Internet.
Question 1 refers to the diagram and data below.
This ERD below was produced by a teacher who then added the data shown to
illustrate the idea they had in mind.

Question 1 (14 marks)


Which design database concepts has the person who created the schema above not
followed? (Note : Only distinct problems will count. Therefore, if the coach has
made the same mistake several times then only one instance will count.)

Question 2 (14 marks)


Create an improved conceptual ERD for the scenario above.

Question 3 (14 marks)


Create an improved physical ERD for the scenario above.
Question 4 (14 marks)
Give the SQL for your physical design which will list those topics and sub-topics
which have the person who created them in common. (Please note that marks will be
deducted if your physical ERD design is poor.)

Question 5 (10 marks)


Which views and indexes could improve the performance of your queries? Explain
your answers.

Question 6 (14 marks)


Explain what ACID is and how it might be helpful in this situation.

Question 7 (20 marks)


Either create the relational algebra expression for the query you created for question
4 or its logic tree.