Question 3(d) 2013 · October-November · Paper 31 · 23 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (d)
Part (d)
Question 3
Question 96
Question 63
Show text version of question
Question 3
Part (d)
Question 3
Part (b)
(i)
What is the relationship between runner and race?
(ii)
What is the relationship between club and race?
Part (c)
A database solution is to be developed.
Two of the tables are RUNNER and RACE.
(i)
Draw an entity-relationship (E-R) diagram showing a database design which can
be produced so that the runner and race data are fully normalised.
Question 5
(ii)
Explain how the relationships are implemented. For
Examiner's Use
Part (d)
The following table design is suggested for RUNNER.
RUNNER(MemberID, RunnerName, RunnerDOB, ClubName, ClubAddress)
This is poorly designed.
(i)
Is this table in First Normal Form (1NF)?
Explain.
(ii)
Is this table in Second Normal form (2NF)?
Explain.
(iii)
The table is not in Third Normal Form (3NF).
Explain.
(iv)
Using only the attributes given in the RUNNER table above, produce a new design
which is fully normalised.
The table descriptions should be expressed as:
TableName(Attribute1, Attribute2, Attribute3, ...)
Question 6
Part (e)
Explain why all tables in the final design should be fully normalised. For
Examiner's Use
Part (f)
The table to store the race data has the following design:
RACE(RaceDate, RaceStartTime, StartVenue, Distance, OrganisingClubName)
Write a Data Manipulation Language (DML) query to report all races after the 1st January 2013 which are less than 10 km. Display the race date and organising club name only. Use the keywords SELECT, FROM, WHERE.
Part (d)
The following table shows some of a processor’s instruction set in assembly language. For
Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load the contents of the given address LDD <address> to ACC Indirect addressing. At the given address is the address to LDI <address> be used. Load the contents of this second address to ACC LIX <address> Load the contents of the address to the Index register (IX)
Indexed addressing. Form the address as <address> + LDX <address> the contents of IX. Copy the contents of this address to ACC
The following program is to be executed. Shown are:
- the first four instructions only of this program
- the memory locations which are accessed by this program.
Address Main memory 100 LIX 200 101 LDD 201 102 LDI 201 103 LDX 201
200 3 201 216 202 99 203 217 204 63
216 96 217 97
Complete the trace table below for the first four program instructions. Show each change in the contents of the registers.
Register Instruction Accumulator (ACC) Index Register (IX) LIX 200
LDD 201
LDI 201
LDX 201
Question 9
Why this question appears here
98% assigned-topic match · Processor fundamentals › Assembly language
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9691_w13_qp_31.pdf
