Processor fundamentals and assembly language – A Level Computer Science (9618)
20 questions · page 1 of 2 · Clear filters
Question text
3
The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
instruction
explanation
opcode
operand
LDM
#n
Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the
LDD
<address>
given address to ACC
INC
<register>
Add 1 to the contents of the register (ACC or IX)
STO
<address>
Store the contents of ACC at the given address
ADD
#n / Bn / &n
Add the number n to the ACC
ADD
<address>
Add the contents of the given address to the ACC
DEC
<register>
Subtract 1 from the contents of the register (ACC or IX)
END
Return control to the operating system
<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are:
address
data
200
100
205
101
100
102
50
103
…
101
200
100
201
20
202
13
203
220
204
30
205
© Cambridge University Press & Assessment 2026
,
,
(a) Complete the table to identify the data that will be stored in the accumulator after each set of
instructions has been executed.
accumulator current data
set of instructions
new accumulator data
ADD B00000010
B11001010
INC ACC
LDM #200
#100
ADD 200
LDD 103
#103
DEC ACC
DEC ACC
[3]
© Cambridge University Press & Assessment 2026
,
,
(b) The instruction set also contains the following instructions:
instruction
explanation
opcode
operand
Bitwise AND operation of the contents of ACC with
AND
#n / Bn / &n
the operand
Bitwise AND operation of the contents of ACC with the
AND
<address>
contents of <address>
Bitwise XOR operation of the contents of ACC with
XOR
#n / Bn / &n
the operand
Bitwise XOR operation of the contents of ACC with the
XOR
<address>
contents of <address>
Bitwise OR operation of the contents of ACC with
OR
#n / Bn / &n
the operand
Bitwise OR operation of the contents of ACC with the
OR
<address>
contents of <address>
Bits in ACC are shifted logically n places to the left. Zeros
LSL
#n
are introduced on the right hand end
Bits in ACC are shifted logically n places to the right.
LSR
#n
Zeros are introduced on the left hand end
Bits in ACC are shifted n places to the left using a
CSL
#n
cyclic shift
Bits in ACC are shifted n places to the right using a
CSR
#n
cyclic shift
Bits in ACC are shifted n places to the left using an
ASL
#n
arithmetic shift
Bits in ACC are shifted n places to the right using an
ASR
#n
arithmetic shift
<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
(i)
Write the bit manipulation instruction that will set the ACC to &0
… [2]
© Cambridge University Press & Assessment 2026
,
,
(ii)
The ACC currently contains the following binary value.
0
0
1
1
0
1
0
1
Write the result after the instruction LSR #3 is run.
[1]
(c) Immediate, relative and direct are three modes of addressing used in assembly
language programming.
Identify and describe one additional mode of addressing used in assembly
language programming.
Include an example of an instruction that uses your selected mode of addressing in
your answer.
mode of addressing …
description with example …
…
…
Question text
7
A program is written in assembly language.
(a) Complete the table by writing the name of each mode of addressing.
mode of addressing
description
The operand is an address where the data is stored.
The operand is an address that stores the address where
the data is stored.
The operand is an address. The address where the data is
stored is calculated by adding the operand to the content of
the index register.
The operand is the data to be used.
[4]
(b) Explain how bit manipulation can be used to monitor or control a device.
…
…
…
…
…
… [3]
(c) Identify one similarity and one difference between a right logical shift and a right
arithmetic shift.
similarity …
…
difference …
…
[2]
© Cambridge University Press & Assessment 2026
Question text
8
(a) The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
LDM
#n
Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the given
LDD
<address>
address to ACC
Indirect addressing. The address to be used is at the given
LDI
<address>
address. Load the contents of this second address to ACC
INC
<register>
Add 1 to the contents of the register (ACC or IX)
STO
<address>
Store the contents of ACC at the given address
ADD
#n/Bn/&n
Add the number n to the ACC
DEC
<register>
Subtract 1 from the contents of the register (ACC or IX)
JMP
<address>
Jump to the given address
CMP
<address>
Compare the contents of ACC with the contents of <address>
Following a compare instruction, jump to <address> if the
JPE
<address>
compare was True
END
Return control to the operating system
ACC denotes Accumulator
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
ĬÕĊ®Ġ´íÈõÏĪÅĊÞú¶Ă×
,
,
The current contents of memory are:
address
Instruction
80
10
8
81
80
82
83
81
...
LDD 81
200
INC ACC
201
STO 83
202
LDI 82
203
CMP 83
204
205
JPE 209
206
LDD 83
207
ADD #10
208
JMP 210
209
DEC ACC
210
STO 81
211
END
Trace the program currently in memory using the following trace table.
Memory address
Instruction address
ACC
80
81
82
83
10
8
80
81
[4]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊÞü¶Ă×
,
,
(b) The table shows part of the instruction set for a processor. The processor has one register:
the Accumulator (ACC).
Instruction
Explanation
Opcode
Operand
Bitwise AND operation of the contents of ACC with the
AND
#n/Bn/&n
operand
Bitwise AND operation of the contents of ACC with the
AND
<address>
contents of <address>
Bitwise XOR operation of the contents of ACC with the
XOR
#n/Bn/&n
operand
Bitwise XOR operation of the contents of ACC with the
XOR
<address>
contents of <address>
Bitwise OR operation of the contents of ACC with the
OR
#n/Bn/&n
operand
Bitwise OR operation of the contents of ACC with the
OR
<address>
contents of <address>
Bits in ACC are shifted logically n places to the left.
LSL
#n
Zeros are introduced on the right‑hand end
Bits in ACC are shifted logically n places to the right.
LSR
#n
Zeros are introduced on the left‑hand end
<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
ĬÕĊ®Ġ´íÈõÏĪÅĊàú¶Ą×
,
,
(i)
Write the bit manipulation instruction that can be used to set the least significant bit to 1
in an 8‑bit register. All other bits must remain unchanged.
The instruction needs to work on a register that contains any 8‑bit binary number.
… [1]
(ii)
The ACC currently contains the following binary value.
0
1
0
1
0
1
0
1
Write the result after the instruction XOR &FE is run.
[1]
(iii)
The ACC currently contains the following binary value.
0
1
1
0
1
0
1
1
Write the result after the instruction LSR #5 is run.
[1]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊàü¶Ą×
,
,
Permission to reproduce items where third‑party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer‑related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education i
Question text
1
(a) The table has six statements about the Von Neumann model for a computer system.
Three of the statements are incorrect.
Statement number
Statement
The Program Counter (PC) stores the next instruction to be fetched from
1
memory.
The Arithmetic and Logic Unit (ALU) performs mathematical and logical
2
operations.
3
The Control Unit (CU) sends signals to other components on the data bus.
The Memory Data Register (MDR) transfers data to the memory address
4
stored in the Memory Address Register (MAR).
5
The MAR stores an address from memory.
6
The Accumulator (ACC) stores the result of calculations.
Complete the table by writing the three incorrect statement numbers and the corrected
statements.
Incorrect
Corrected statement
statement number
…
…
…
…
…
…
…
…
…
…
…
…
[3]
ĬÍĊ®Ġ´íÈõÏĪÅĊÝü¸þ×
,
,
(b) Registers that are used in the Fetch-Execute (F-E) cycle include the PC, MAR, MDR and the
ACC.
Identify one other register and describe its role in the Fetch-Execute (F-E) cycle.
Register …
Role …
…
[2]
(c) Explain how an interrupt from an input device will be detected and handled in the F-E cycle.
…
…
…
…
…
…
…
… [4]
ĬÏĊ®Ġ´íÈõÏĪÅĊÝú¸þ×
Question text
7
(a) The following table shows part of the instruction set for a processor. The processor has one
register: the Accumulator (ACC).
Instruction
Explanation
Opcode
Operand
Direct addressing. Load the contents of the location at the given
LDD
<address>
address to ACC
LDM
#n
Immediate addressing. Load the number n to ACC
STO
<address>
Store the contents of ACC at the given address
ADD
#n/Bn/&n
Add the number n to the ACC
ADD
<address>
Add the contents of the given address to the ACC
INC
<register>
Add 1 to the contents of the register (ACC)
CMP
<address>
Compare the contents of ACC with the contents of <address>
CMP
#n
Compare the contents of ACC with number n
Following a compare instruction, jump to <address> if the compare
JPE
<address>
was True
JMP
<address>
Jump to the given address
END
Return control to the operating system
ACC denotes Accumulator
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are:
Address
Instruction
12
10
11
11
10
12
22
13
22
14
…
LDD 10
100
ADD 12
101
STO 11
102
CMP 14
103
JPE 107
104
INC ACC
105
JMP 101
106
STO 10
107
END
108
ĬÍĊ®Ġ´íÈõÏĪÅĊàû¶Ă×
,
,
(i)
Trace the program currently in memory using the following trace table.
Memory address
Instruction address
ACC
10
11
12
13
14
12
11
10
22
22
[3]
(ii)
State the effect of changing instruction LDD 10 in address 100 to LDM #10
…
…
… [1]
(iii)
Identify and describe one mode of addressing not given in the table of instructions in
part (a).
Mode of addressing …
Description …
…
…
[2]
ĬÏĊ®Ġ´íÈõÏĪÅĊàù¶Ă×
,
,
(b) The table shows part of the instruction set for a processor. The processor has one register:
the Accumulator (ACC).
Instruction
Explanation
Opcode
Operand
AND
#n/Bn/&n
Bitwise AND operation of the contents of ACC with the operand
AND
<address>
Bitwise AND operation of the contents of ACC with the contents of
<address>
XOR
#n/Bn/&n
Bitwise XOR operation of the contents of ACC with the operand
XOR
<address>
Bitwise XOR operation of the contents of ACC with the contents of
<address>
OR
#n/Bn/&n
Bitwise OR operation of the contents of ACC with the operand
OR
<address>
Bitwise OR operation of the contents of ACC with the contents of
<address>
<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
(i)
The ACC currently contains the following binary value.
1
1
1
1
0
0
0
0
Write the result after the instruction OR B00001111 is run.
[1]
(ii)
The ACC currently contains the following binary value.
0
0
0
1
1
1
0
1
Write the result after the instruction XOR #30 is run.
[1]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyr
Question text
2
A computer has a processor.
(a) The processor has a Control Unit (CU) and system clock.
(i)
Explain how the CU and the system clock work together.
…
…
…
… [2]
(ii)
The processor runs the Fetch-Execute (F-E) cycle.
Write the stages of the F-E cycle using register transfer notation.
…
…
…
…
…
… [4]
(b) The computer has cache memory.
Describe one benefit of the computer using cache memory.
…
…
…
… [2]
(c) The computer connects to a monitor using a High Definition Multimedia Interface (HDMI)
cable that connects into an HDMI port.
Explain how HDMI provides connection to peripheral devices.
…
…
…
… [2]
ĬÕĊ®Ġ´íÈõÏĪÅĊàù¸Ā×
Question text
5
The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
LDM #n
Immediate addressing. Load the number n to ACC
STO <address>
Store the contents of ACC at the given address
ADD #n/Bn/&n
Add the number n to the ACC
ADD <address>
Add the contents of the given address to the ACC
SUB <address>
Subtract the contents of the given address from the ACC
SUB #n/Bn/&n
Subtract the number n from the ACC
DEC <register>
Subtract 1 from the contents of the register (ACC or IX)
JMP <address>
Jump to the given address
CMP <address>
Compare the contents of ACC with the contents of <address>
CMP #n
Compare the contents of ACC with number n
Following a compare instruction, jump to <address> if the compare
JPE <address>
was True
END
Return control to the operating system
ACC denotes Accumulator
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
(a) The current contents of memory are:
Address
Instruction
50
47
48
51
49
52
53
50
...
LDM #50
500
DEC ACC
501
CMP 51
502
JPE 505
503
JMP 501
504
505
STO 50
506
SUB #10
507
STO 51
508
END
ĬÙĊ®Ġ´íÈõÏĪÅĊÞû·þ×
,
,
(i)
Trace the program currently in memory using the following trace table.
Memory address
Instruction address
ACC
50
51
52
53
47
48
49
50
[3]
ĬÛĊ®Ġ´íÈõÏĪÅĊÞù·þ×
,
,
(ii)
Complete the table by identifying and describing two modes of addressing that are not
used in the program in part (a).
Mode of addressing
Description
…
…
…
…
…
…
…
…
…
…
…
…
[4]
ĬÙĊ®Ġ´íÈõÏĪÅĊàû·Ā×
,
,
(b) The table shows part of the instruction set for a processor. The processor has one register:
the Accumulator (ACC).
Instruction
Explanation
Opcode
Operand
AND
#n/Bn/&n
Bitwise AND operation of the contents of ACC with the operand
Bitwise AND operation of the contents of ACC with the contents of
AND
<address>
<address>
XOR
#n/Bn/&n
Bitwise XOR operation of the contents of ACC with the operand
Bitwise XOR operation of the contents of ACC with the contents of
XOR
<address>
<address>
OR
#n/Bn/&n
Bitwise OR operation of the contents of ACC with the operand
Bitwise OR operation of the contents of ACC with the contents of
OR
<address>
<address>
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
Write the bit manipulation instructions that can be used to set only the most significant bit to
1 in an 8-bit register.
The instructions need to work on a register that contains any 8-bit binary number.
…
… [2]
ĬÛĊ®Ġ´íÈõÏĪÅĊàù·Ā×
Question text
4
The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
LDM
#n
Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the given
LDD
<address>
address to ACC
Indirect addressing. The address to be used is at the given address.
LDI
<address>
Load the contents of this second address to ACC
Indexed addressing. Form the address from <address> + the contents
LDX
<address>
of the Index Register. Copy the contents of this calculated address to
ACC
LDR
#n
Immediate addressing. Load the number n to IX
ADD
#n/Bn/&n
Add the number n to the ACC
ADD
<address>
Add the contents of the given address to the ACC
SUB
#n/Bn/&n
Subtract the number n from the ACC
SUB
<address>
Subtract the contents of the given address from the ACC
INC
<register>
Add 1 to the contents of the register (ACC or IX)
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
(a) The current contents of memory are shown:
Address
Data
19
24
20
2
21
1
22
3
23
5
24
4
25
22
The current contents of the ACC and IX are shown:
12
ACC
1
IX
Complete the table by writing the content of the ACC after each program has run.
Program number
Code
ACC content
LDD 20
1
ADD #2
LDX 22
2
LDI 25
INC ACC
3
SUB 22
LDD 19
LDM #5
4
LDM #25
[4]
(b) The processor includes these bit manipulation instructions:
Instruction
Explanation
Opcode
Operand
AND
#n/Bn/&n
Bitwise AND operation of the contents of ACC with the operand
Bitwise AND operation of the contents of ACC with the contents of
AND
<address>
<address>
XOR
#n/Bn/&n
Bitwise XOR operation of the contents of ACC with the operand
Bitwise XOR operation of the contents of ACC with the contents of
XOR
<address>
<address>
OR
#n/Bn/&n
Bitwise OR operation of the contents of ACC with the operand
Bitwise OR operation of the contents of ACC with the contents of
OR
<address>
<address>
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are shown:
Address
Data
30
01110101
31
11111111
32
00000000
33
11001100
34
10101010
The current content of the ACC is shown:
1
0
0
1
1
0
1
0
Complete the table by writing the content of the ACC after each program has run.
The binary number 10011010 is reloaded into the ACC before each program is run.
Program number
Code
ACC content
AND 31
1
XOR B01001111
2
OR #30
3
[3]
Question text
5
The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
LDM #n
Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the given
LDD <address>
address to ACC
Indirect addressing. The address to be used is at the given address.
LDI <address>
Load the contents of this second address to ACC
Indexed addressing. Form the address from <address> + the contents
LDX <address>
of the index register. Copy the contents of this calculated address to
ACC
LDR #n
Immediate addressing. Load the number n to IX
ADD #n/Bn/&n
Add the number n to the ACC
ADD <address>
Add the contents of the given address to the ACC
SUB #n/Bn/&n
Subtract the number n from the ACC
SUB <address>
Subtract the contents of the given address from the ACC
INC <register>
Add 1 to the contents of the register (ACC or IX)
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
(a) The current contents of memory are shown:
Address
Data
10 1
11 3
12 5
13 11
14 10
15 16
16 12
The current contents of the ACC and IX are shown:
ACC 10
IX 0
Complete the table by writing the content of the ACC after each program has run.
Program number
Code
ACC content
LDI 15
1
SUB #1
LDD 14
2
ADD 11
LDM #11
ADD #3
3
SUB 16
LDR #2
LDX 14
4
ADD #2
[4]
(b) The processor includes these bit manipulation instructions:
Instruction
Explanation
Opcode
Operand
AND #n/Bn/&n
Bitwise AND operation of the contents of ACC with the operand
Bitwise AND operation of the contents of ACC with the contents of
AND <address>
<address>
XOR #n/Bn/&n
Bitwise XOR operation of the contents of ACC with the operand
Bitwise XOR operation of the contents of ACC with the contents of
XOR <address>
<address>
OR #n/Bn/&n
Bitwise OR operation of the contents of ACC with the operand
Bitwise OR operation of the contents of ACC with the contents of
OR <address>
<address>
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are shown:
Address
Data
25 11000110
26 11100001
27 10000001
28 11001101
29 00001111
The current content of the ACC is shown:
0
1
0
0
0
1
1
0
Complete the table by writing the content of the ACC after each program has run.
The binary number 01000110 is reloaded into the ACC before each program is run.
Program number
Code
ACC content
XOR 29
1
AND #29
2
OR B11111111
3
[3]
Question text
3
The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
Immediate addressing. Load the number n to ACC
LDM
#n
Direct addressing. Load the contents of the location at the given
LDD
<address>
address to ACC
Indirect addressing. The address to be used is at the given address.
LDI
<address>
Load the contents of this second address to ACC
Indexed addressing. Form the address from <address> + the contents
LDX
<address>
of the index register. Copy the contents of this calculated address to
ACC
Immediate addressing. Load the number n to IX
LDR
#n
Add the number n to the ACC
ADD
#n/Bn/&n
Add the contents of the given address to the ACC
ADD
<address>
Subtract 1 from the contents of the register (ACC or IX)
DEC
<register>
Subtract the number n from the ACC
SUB
#n/Bn/&n
Subtract the contents of the given address from the ACC
SUB
<address>
Add 1 to the contents of the register (ACC or IX)
INC
<register>
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
,
,
(a) The current contents of memory are shown:
Address
Data
51
48
6
49
48
50
50
51
49
52
50
53
6
54
The current contents of the ACC and IX are shown:
2
ACC
50
IX
Complete the table by writing the content of the ACC after each program has run.
Program number
Code
ACC content
LDM #50
INC ACC
1
SUB #1
LDI 51
2
ADD 52
LDR #2
LDX 50
3
DEC ACC
LDD 52
SUB 54
4
INC ACC
[4]
,
,
(b) The processor includes these bit manipulation instructions:
Instruction
Explanation
Opcode
Operand
AND
#n/Bn/&n
Bitwise AND operation of the contents of ACC with the operand
Bitwise AND operation of the contents of ACC with the contents of
AND
<address>
<address>
XOR
#n/Bn/&n
Bitwise XOR operation of the contents of ACC with the operand
Bitwise XOR operation of the contents of ACC with the contents of
XOR
<address>
<address>
OR
#n/Bn/&n
Bitwise OR operation of the contents of ACC with the operand
Bitwise OR operation of the contents of ACC with the contents of
OR
<address>
<address>
Bits in ACC are shifted logically n places to the left. Zeros are
LSL
#n
introduced on the right-hand end
Bits in ACC are shifted logically n places to the right. Zeros are
LSR
#n
introduced on the left-hand end
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are shown:
Address
Data
00001101
100
10111110
101
11110011
102
00110111
103
00000000
104
The current content of the ACC is shown:
1
1
1
1
1
1
1
1
,
,
Complete the table by writing the content of the ACC after each instruction has run.
The binary number 11111111 is reloaded into the ACC before each instruction is run.
Instruction number
Instruction
ACC content
LSL #2
1
XOR 100
2
AND 103
3
[3]
Question text
6
An interrupt is generated when a key is pressed on a computer keyboard.
Explain how the computer handles this interrupt.
…
…
…
…
…
…
…
…
…
… [5]
Permission to reproduce items where third‑party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer‑related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Question text
3
A program is written in assembly language.
(a) The program is converted into machine code by a two‑pass assembler.
Draw one or more lines to identify the pass or passes in which each action takes place.
Action
Pass
generates object code
first
reads the source code one line at a time
removes white space
second
adds labels to the symbol table
[3]
(b) Assembly language statements can use different modes of addressing.
Complete the following description of addressing modes.
… addressing is when the operand holds the memory address of
the data.
… addressing is when the operand holds a memory address that
stores the memory address of the data.
… addressing is when the operand is the data.
[3]
Question text
5
A student has purchased a new laptop.
(a) The laptop is designed using the Von Neumann model for a computer system.
Identify two types of signal that a control bus can transfer.
1 …
2 …
[2]
(b) Describe two ways the hardware of a laptop can be upgraded to improve the performance
and explain how each upgrade improves the performance.
1 …
…
…
…
…
…
2 …
…
…
…
…
…
[4]
(c) Peripherals are connected to the laptop using ports.
(i)
A printer is connected to a Universal Serial Bus (USB) port.
Describe how data is transmitted through a USB port.
…
…
…
… [1]
(ii)
A monitor is connected to the laptop using a different type of port.
Identify one other type of port that can be used to connect the monitor.
… [1]
(d) The laptop has systems software.
(i)
Describe how the Operating System (OS) manages processes in the computer.
…
…
…
…
Question text
7
A computer stores data in binary form.
(a) Draw one line from each description to its matching denary value.
Description
Denary value
−127
127
The smallest integer that can be
represented in 8-bit two’s complement.
−255
−128
The largest integer that can be
represented in 8-bit two’s complement.
−256
256
The largest unsigned integer that can be
represented in 8 bits.
128
255
[3]
(b) The computer has a Control Unit (CU), system clock and control bus.
Explain how the CU, system clock and control bus operate to transfer data between the
components of the computer system.
…
…
…
…
…
…
…
… [4]
(c) Complete the table by writing the register transfer notation for each stage of the
Fetch-Execute (F-E) cycle given in the table.
Stage description
Register transfer notation
The Program Counter (PC) is incremented
…
The data in the address stored in the
Memory Address Register (MAR) is copied
…
to the Memory Data Register (MDR)
[2]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Question text
6
(a) A computer system is designed using the basic Von Neumann model.
(i)
Describe the role of the registers in the Fetch-Execute (F-E) cycle.
…
…
…
…
…
…
…
…
…
… [5]
(ii)
Describe when interrupts are detected in the F-E cycle and how the interrupts are
handled.
Detected …
…
Handled …
…
…
…
…
…
…
…
…
…
[5]
(b) Identify one factor that can affect the performance of the computer system and state how it
impacts the performance.
Factor …
Impact …
…
…