Question 3(d) 2013 · October-November · Paper 32 · 23 marks
Reveal official mark-scheme answer

Official answer for Question 3
Part (d)
Part (d)
Question 1
Question 13
Question 2
Question 14
Question 27
Question 27
Question 3
Question 22
Question 49
Question 49
Question 4
Question 32
Show text version of question
Question 3
Part (d)
Question 3
Part (b)
(i)
What is the relationship between product and supplier?
(ii)
What is the relationship between product and order?
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.
Question 5
(ii)
Explain how the relationships are implemented. For
Examiner's Use
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.
(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 PRODUCT 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 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,
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.
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
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
