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

Question 3(d) 2013 · October-November · Paper 32 · 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 mark-scheme answer for 3(D)

Official answer for Question 3

Part (d)

Part (d)

✓
Memory
✓
Address
✓
ACC
✓
IX
✓
204

Question 1

✓
0

Question 13

✓
(13)
✓
13 / ft

Question 2

Question 14

Question 27

Question 27

Question 3

Question 22

Question 49

Question 49

Question 4

[4]
✓
[Total: 15]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – October/November 2013
✓
9691

Question 32

Mark scheme 9691_w13_ms_32.pdf →

Show text version of question

Question 3

Part (d)

Question 3

[3]

Part (b)

(i)

What is the relationship between product and supplier?

[1]

(ii)

What is the relationship between product and order?

[1]

Part (c)

A database solution is to be developed.

Two of the tables are PRODUCT and ORDER.

(i)

Draw an entity-relationship (E-R) diagram showing a database design which can

be produced so that the product and order 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 PRODUCT.

PRODUCT(ProductID, ProductDescription, RetailPrice, SupplierID, SupplierName, SupplierTelNumber)

This is poorly designed.

(i)

Is this table in First Norm 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 PRODUCT 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 order data has the following design:

ORDER(OrderNo, OrderDate, OrderTime, IsPaid, OrderAmountPaid, PaymentMethod, CustomerID)

  • IsPaid has data type Boolean
  • PaymentMethod has data type Char with possible values: C - credit card,
D
- debit card, A - account customer

Write a Data Manipulation Language (DML) query to report orders which were placed on the 15 January 2013 and paid for using a debit card. Show the customer ID and order number 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

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 STO <address> Store the contents of ACC at the given address

ADD <address> Add the contents of the given address to the ACC

INC <register> Add 1 to the contents of the register (ACC or IX)

JMP <address> Jump to the given address

The following program is to be executed. Shown are:

  • the first six instructions of this program
  • the memory locations which will be accessed by this program.

Main memory Address contents 100 LIX 200 101 LDX 200 102 ADD 204 103 STO 204 104 INC IX 105 JMP 101

200 1 201 13 202 14 203 22 204 0

Question 9

Complete the trace table below for three iterations of the loop. For Examiner's Use Show each change to the contents of the registers and memory location 204.

Main memory ACC IX address 204 0

[4]
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_32.pdf

Keep practising this topic