Past-paper question · 2013 October-November · Paper 31 · Q3(d)

Question 3(d) 2013 · October-November · Paper 31 · 23 marks

Original past-paper question for 3(D)
Original past-paper question for 3(D)
Original past-paper question for 3(D)
Reveal official mark-scheme answer Official mark-scheme answer for 3(D)

Official answer for Question 3

Part (d)

Part (d)

✓
Register
✓
Instruction
✓
Accumulator
✓
Index Register
✓
(ACC)
✓
(IX)
✓
LIX 200

Question 3

✓
LDD 201
✓
216
✓
LDI 201

Question 96

✓
LDX 201

Question 63

Mark scheme 9691_w13_ms_31.pdf →

Show text version of question

Question 3

Part (d)

Question 3

[3]

Part (b)

(i)

What is the relationship between runner and race?

[1]

(ii)

What is the relationship between club and race?

[1]

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.

[2]

Question 5

(ii)

Explain how the relationships are implemented. For

Examiner's Use

[2]

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.

[1]

(ii)

Is this table in Second Normal form (2NF)?

Explain.

[1]

(iii)

The table is not in Third Normal Form (3NF).

Explain.

[1]

(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, ...)

[2]

Question 6

Part (e)

Explain why all tables in the final design should be fully normalised. For

Examiner's Use

[2]

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.

[3]

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

[4]

Question 9

Topic relevance

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

Keep practising this topic