DBAS Exam Autumn Exam 2022 MS Final
DBAS Exam Autumn Exam 2022 MS Final
08 September 2022
Marking Scheme
This marking scheme has been prepared as a guide only to markers. This is not a set of
model answers, or the exclusive answers to the questions, and there will frequently be
alternative responses which will provide a valid answer. Markers are advised that, unless a
question specifies that an answer be provided in a particular form, then an answer that is
correct (factually or in practical terms) must be given the available marks.
If there is doubt as to the correctness of an answer, the relevant NCC Education materials
should be the first authority.
Where markers award half marks in any part of a question, they should ensure
that the total mark recorded for the question is rounded up to a whole mark.
Answer ALL questions
Marks
Question 1
a) Explain the difference between data and information. You may use examples to 4
help you explain your answer.
Mark Scheme
Data are raw facts (1) unprocessed (1) whilst information is data that has
been processed (1) and has given meaning (1)
1 mark each point or example, valid alternatives accepted with 1 mark for
explanation example max 4
b) Identify FOUR (4) types of records/entities about which a florist might store data. 4
Mark Scheme
Flowers (1)/ Staff (1) / Customers (1) / Orders (1) Sales (1)
Any suitable alternative / Fields alone do not count / maximum 4 marks
Mark Scheme
Total 10 Marks
Page 2 of 13
Databases © NCC Education Limited 2022
Marks
Question 2
a) The following table is from an Estate Agent’s database which is in Third Normal 8
Form (3NF). Suggest appropriate data types, field length (if applicable) and keys
(if applicable) for the attributes listed.
Mark Scheme
1 mark for each correct / appropriate data type used (character length
should be quoted – where applicable and must be reasonable). OwnerID
should be identified as a foreign key and NOT be identified as an
autonumber (1 mark) .5 marks for appropriate data type but missing (or
inappropriate length) Correct alternatives are to be marked, to a maximum
of 8 marks.
b) What constraint could be added to the MarketValue field so that negative figures 2
or figures above £500,000 can’t be added.
Mark Scheme
>=0 (1 mark)
=< £500,000 (1 mark)
Total 10 Marks
Page 3 of 13
Databases © NCC Education Limited 2022
Marks
Question 3
An airline has a fleet of aircraft (planes). Each aircraft is allocated a unique flight
schedule and involves travelling to and from an airport. Bookings are made by
customers for each flight.
Mark Scheme
0..N 1
1
0..N
1 0..N
Passenger Booking
(Customer)
Page 4 of 13
Databases © NCC Education Limited 2022
Marks
b) Identify all of the primary and foreign keys for the ER model in question 3(a) 9
ensure you clearly identify which entity they belong to.
Mark Scheme
Aircraft
AircraftID (PK) – or any appropriate field name
Schedule:
ScheduleID (PK)
AircraftID (FK)
AirportID(FK) (NB although strictly speaking there should be a departure
AND arrival Airport I don’t expect students to consider this)
Airport:
AirportID (PK)
Booking:
BookingID (PK)
CustomerID (FK)
ScheduleID (FK)
Customer:
CustomerID (PK)
c) Explain the term metadata. You should make TWO (2) points to gain full marks. 2
Mark Scheme
Metadata is data about data (1) it holds information about the structure of
the database (1) it shows a database to be self-describing (1) Any other
valid point(s) up to max of 2
Total 20 Marks
Page 5 of 13
Databases © NCC Education Limited 2022
Marks
Question 4
a) Consider the ER diagram shown below for a hotel in which a customer can book 6
rooms.
0..N 1
Mark Scheme
1 mark for each correct row in a table, similar to the one shown above.
Maximum 6 marks (award part marks for part correct solutions, round up
final mark for question).
b) Explain the term referential integrity and give an appropriate example to show 4
referential integrity in practice.
Mark Scheme
Referential integrity refers to the accuracy (1) and consistency (1) of data
within a relationship. In relationships, data is linked between two or more
tables (1). ... Referential integrity requires that, whenever a foreign key
value (1) is used it must reference a valid, existing primary key in the parent
table. (1)
Alternative - 1 mark for each suitable point, to a maximum of 4
Total 10 Marks
Page 6 of 13
Databases © NCC Education Limited 2022
Marks
Question 5
tblCar
CarReg Make Model Type
XC615TT Avadi Q1 Small
ZQ629AC Waxcadez Nuro Family
VR632AA GMC Y8 MPV
SQ627GH Saux Allan Small
QH121HG Hugo Max Family
tblCustomer
CustomerID FName SName DriverNo
1 Cyril Le Pierre CLP718721L
2 Nula Prince NUP012219K
3 Gareth Jones GAJ410921Z
4 Ranjit Patel RAP671822G
tblHire
HireID CustomerID CarReg DateRequired NoOfDays
11 1 ZQ629AC 18/08/2022 3
12 2 QH121HG 22/08/2022 5
13 1 ZQ629AC 27/08/2022 3
14 3 XC615TT 24/08/2022 5
15 1 ZQ629AC 04/09/2022 3
16 4 QH121HG 01/09/2022 6
a) Write an SQL statement that will change the car required by Gareth Jones to the 3
Hugo Max
Mark Scheme
b) Write an SQL statement that will add the following information to the car table 3
Mark Scheme
Page 7 of 13
Databases © NCC Education Limited 2022
Marks
c) Write the SQL that produces a list with full details of the hire(s) of the Waxcadez 3
Nuro car, ensure you show the customer details and list in earliest date order
Mark Scheme
d) Write an SQL statement that will add a new field to the car table called DailyCost 3
which will hold the daily cost to hire a vehicle.
Mark Scheme
e) Write the SQL that will create the following table and add the data below to the 8
newly created table.
tblStaff
StaffID FirstName LastName DateOfBirth JobTitle
1 Mandrid Lewis 12/09/1997 Manager
2 Alicia Lock 30/11/2003 Supervisor
Mark Scheme
Total 20 Marks
Page 8 of 13
Databases © NCC Education Limited 2022
Marks
Question 6
a) The following table has been normalised to second normal form (2NF). You 7
should now carry out normalisation to third normal form (3NF). You should
carefully explain what steps you took to make the table into 3NF. Show your
newly revised table(s).
TblService
ServiceNo
ServiceDate
CarReg
MechanicNo
MechanicName
PartsRequired?
Mark Scheme
TblService
ServiceNo
ServiceDate
CarReg
MechanicNo
PartsRequired?
tblMechanic
MechanicNo
MechanicFirstName
MechanicLastName
Maximum 5 marks
Page 9 of 13
Databases © NCC Education Limited 2022
Marks
b) If a table is said to be in First Normal Form (1NF) what rules will have been 3
followed? State THREE (3) rules for 1NF
Mark Scheme
Total 10 Marks
Question 7
a) Describe what is meant by ‘CASE Tools’ and give FOUR (4) types of activities 6
for which CASE tools provide support.
Mark Scheme
CASE tools are a set of software application programs (1) which are used
to automate SDLC activities (1)
Examples:
Mark Scheme
Total 10 Marks
Page 10 of 13
Databases © NCC Education Limited 2022
Marks
Question 8
Mark Scheme
b) Nature’s Growth is a small garden centre that sells a range of plants and 8
accessories. The owners are considering moving to a database system from its
current manual paper-based record keeping, ordering and sales system. It
employs 12 staff, including 3 administration staff who deal with the invoices and
ordering. They expect the business to grow in the next two years are are likely
to employ more staff. Management would like to have a more efficient oversight
of how the business is performing on a daily, weekly and monthly basis.
Explain TWO (2) advantages and TWO (2) disadvantages unique of Nature’s
Growth moving to a database system. Consider the advantages and
disadvantages unique to the company.
Mark Scheme
1 mark for stating the adv/dis adv (max 4) and 1 mark for explaining each
valid adv/dis adv (max 4) – total 8 marks
Total 10 marks
END OF PAPER
Page 11 of 13
Databases © NCC Education Limited 2022
Learning Outcomes matrix
Page 12 of 13
Databases © NCC Education Limited 2022
strengths and
weaknesses.
Page 13 of 13
Databases © NCC Education Limited 2022