Past-paper question · 2018 October-November · Paper 12 · Q5(d)

Question 5(d) 2018 · October-November · Paper 12 · 9 marks

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

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_w18_ms_12.pdf →

Show text version of question

Question 5

Part (d)

Question 5

...................................... Three statements A, B and C are used to complete the sequence. A DNS finds corresponding IP address B Web browser sends URL to Domain Name Service (DNS) C DNS returns IP address to web browser Write one of the letters A to C in the appropriate rows (2, 4 and 5) to complete the sequence.

[2]

Part (d)

The current contents of the main memory, Index Register (IX) and selected values from the

ASCII character set are: Address Instruction ASCII code table (selected codes only)

Question 40

LDD 100 ASCII code Character

Question 41

CMP 104 300 /

Question 42

JPE 54 301 *

Question 43

LDX 100 302 -

Question 44

CMP 105 303 +

Question 45

JPN 47 304 ^

Question 46

OUT 305 =

Question 47

LDD 100

Question 48

DEC ACC

Question 49

STO 100

Question 50

INC IX

Question 51

JMP 41

Question 52

Question 53

Question 54

END … 100

Question 2

101 302 102 303 103 303 104 0 105 303 IX

Question 1

This is a copy of the instruction set. Instruction Explanation Op code Operand Direct addressing. Load the contents of the location at the given address to LDD <address> ACC. Indexed addressing. Form the address from <address> + the contents of the LDX <address> Index Register. Copy the contents of this calculated address to ACC. LDR #n Immediate addressing. Load the number n to IX. STO <address> Store contents of ACC at the given address. ADD <address> Add the contents of the given address to ACC. INC <register> Add 1 to the contents of the register (ACC or IX). DEC <register> Subtract 1 from the contents of the register (ACC or IX). CMP <address> Compare contents of ACC with contents of <address>. JPE <address> Following a compare instruction, jump to <address> if the compare was True. JPN <address> Following a compare instruction, jump to <address> if the compare was False. JMP <address> Jump to the given address. OUT Output to the screen the character whose ASCII value is stored in ACC. END Return control to the operating system.

Question 9

Complete the trace table for the given assembly language program. Instruction Memory address ACC IX OUTPUT address 100 101 102 103 104 105

Question 2

302 303 303 0 303

Question 1

Question 40

[7]

Question 10

Question 4

A
student has written the steps of the fetch stage of the fetch-execute (FE) cycle in register transfer

notation. The student has made some errors. Line 1 MDR [PC] Line 2 PC PC + 1 Line 3 MDR [MAR] Line 4 CIR PC

Topic relevance

Why this question appears here

83% assigned-topic match · Processor fundamentals › CPU architecture

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 9608_w18_qp_12.pdf

Keep practising this topic