You are on page 1of 6

The Independent Institute of Education 2017

MODULE NAME: MODULE CODE:


DATABASE INTRODUCTION DATA6211
DATABASE INTRODUCTION DATA6211d
DATABASE INTRODUCTION DATA6211p

ASSESSMENT TYPE: TEST (PAPER ONLY)


TOTAL MARK ALLOCATION: 60 MARKS
TOTAL HOURS: 1.5 HOURS (+10 minutes reading time)
INSTRUCTIONS:
1. Please adhere to all instructions in the assessment booklet.
2. Independent work is required.
3. Five minutes per hour of the assessment to a maximum of 15 minutes is dedicated to reading
time before the start of the assessment. You may make notes on your question paper, but not
in your answer sheet. Calculators may not be used during reading time.
4. You may not leave the assessment venue during reading time, or during the first hour or during
the last 15 minutes of the assessment.
5. Ensure that your name is on all pieces of paper or books that you will be submitting. Submit all
the pages of this assessment’s question paper as well as your answer script.
6. Answer all the questions on the answer sheets or in answer booklets provided. The phrase
‘END OF PAPER’ will appear after the final set question of this assessment.
7. Remember to work at a steady pace so that you are able to complete the assessment within
the allocated time. Use the mark allocation as a guideline as to how much time to spend on
each section.
Additional instructions:
1. This is a CLOSED BOOK assessment.
2. Calculators are not allowed.
3. For multiple-choice questions, give only one (1) response per question. The marker will ignore
any question with more than one answer, unless otherwise stated. You should, therefore, be
sure of your answer before committing it to paper.
4. Answer all questions.

© The Independent Institute of Education (Pty) Ltd 2017


Page 1 of 6
The Independent Institute of Education 2017

Question 1 (Marks: 10)


Multiple-choice questions: Select one (1) correct answer for each of the following. In your answer
booklet, write down only the number of the question and next to it, the letter of the correct answer.

Q.1.1 Data integrity constraints are used to: (1)


(a) Control who is allowed access to the data;
(b) Ensure that duplicate records are not entered into the table;
(c) Improve the quality of data entered for a specific property;
(d) Prevent users from changing the values stored in the table.

Q.1.2 Which of the following refers to something that can be identified in the users' work (1)
environment, something that the users want to track?
(a) Entity;
(b)
Attribute;
(c) Identifier;
(d)
Relationship.

Q.1.3 A logical description of some portion of database that is required by a user to (1)
perform task is called as:
(a) Data View;
(b) Logical View;
(c) User View;
(d)
System View.

© The Independent Institute of Education (Pty) Ltd 2017


Page 2 of 6
The Independent Institute of Education 2017

Q.1.4 Properties that describe the characteristics of entities are called ……………… (1)
(a) Entities;
(b) Attributes;
(c) Identifiers;
(d) Relationships.

Q.1.5 Which of the following is a reason to model data? (1)


(a) Understand each user’s perspective of data;
(b) Understand the data itself irrespective of the physical representation;
(c) Understand the use of data across application areas;
(d)
All of the above.

Q.1.6 Many- to -many relationships mostly cause problems in database management. (1)
Instead of using a composite entity to link the two entities a(n) ____________ can be
used to represent the association between two entities.
(a) Compound table;
(b) Association class;
(c) Bridge entity;
(d) Iterative super key.

Q.1.7 “All key entries must be unique, and no part of the primary key may be null”. The (1)
statement refers to ____________:
(a) Entity integrity;
(b) Primary key;
(c) Referential integrity;
(d) Mandatory participation.

Q.1.8 Multiplicity is the main constraint that exists on a relationship. Which two (2) (1)
constraints does it describe?
(a)
Relationship and degree;
(b)
Cardinality and relationship;

© The Independent Institute of Education (Pty) Ltd 2017


Page 3 of 6
The Independent Institute of Education 2017

(c)
Degree and cardinality;
(d)
Cardinality and participation.

Q.1.9 (1)
If K is a foreign key in a relation R1, then:
(a)
Every tuple of R1 has a distinct value for K;
(b)
K cannot have a null value for tuples in R1;
(c)
K is a key for some other relation;
(d) K is a Primary key for R1.

Q.1.10 ____________exists when different versions of the same data appear (1)

separately in different places.


(a) Data decomposition;
(b) Normalisation;
(c) Data consistency;
(d) Data redundancy.

Question 2 (Marks: 15)

Q.2.1 What is a relationship in context to tables in databases? What are the three (3) (5)
types of relationships?

Q.2.2 The diagram below depicts dentist and patient entities that are in a many-to-many (10)
relationship. Redesign the table in relationship type which is acceptable in database
modelling.

Dentist Patient
1: * 1:*
Attributes
Dentist examines Attributes
Dentist

© The Independent Institute of Education (Pty) Ltd 2017


Page 4 of 6
The Independent Institute of Education 2017

Question 3 (Marks: 10)


Using the diagram below, briefly explain the three data anomalies that are likely to occur as a result
of data redundancy?

StaffNum DentistName PatientNum PatientName AppointmentDate SurgeryNum

E20010 Robert Cock GP002 Wycliffe Roan 12 June 2016 SG0032

E20012 Mike Mangena PL004 Tshepo Tau 10 July 2016 SG0035

E20010 Robert Cock GP002 Wycliffe Roan 23 August 2016 SG0034

E20011 Maluleka Thisla PL005 Chris Maako 15 October 2016 SG0033

E20012 Mike Mangena PL004 Tshepo Tau 14 November 2016 SG0035

Question 4 (Marks: 5)
Match-the-columns question: Match the description in Column A with the correct term from Column
B. In your answer booklet, write down only the question number and, next to it, the letter of the
correct answer. E.g. 4.1 A

Column A Column B
Q.4.1 Key attribute A. Short and clear description of a policy, procedure
within the organisation
Q4.2 Candidate Key B. It is the logical access of data in the table quick and
simple
Q.4.3 Index C. Is described as a super key without redundancies,
that is a minimal super key
Q.4.4 Multiplicity D. Represents a real world action
Q.4.5 Business rule E. Describes the number of instances of one class that
are associated with one instance of a related class
F. Any attribute that is part of key
G. Allows changes to be made on data storage
characteristics without affecting the application
program’s ability to access the data

© The Independent Institute of Education (Pty) Ltd 2017


Page 5 of 6
The Independent Institute of Education 2017

Question 5 (Marks: 20)


Create the ERD using UML notation to show the relationships between DENTIST, PATIENT and
SURGERY. Also show the multiplicity in the relationships and attributes.

 The patient must be examined by more than one dentist and a dentist can examine at least
one patient;
 Dentist number, dentist name, office number, cellphone number and email address must be
captured on the system;
 A dentist can examine more than the minimum of three patients per day;
 The following patient details need to be captured on the system: patient number, patient
name, street address, email address;
 Each surgery is assigned an examination at the time as instructed by dental clinic policy.

END OF PAPER

© The Independent Institute of Education (Pty) Ltd 2017


Page 6 of 6

You might also like