Computer Systems Sample Assessment Exam
Computer Systems Sample Assessment Exam
Examination Paper
Answer ALL questions.
Time: 3 hours
Marks
Question 1
Mark scheme
i) Thousandth of a second
ii) Millionth of a second
iii) Thousand millionth of a second
iv) Million millionth of a second
Mark scheme
Mark scheme
Page 2 of 15
Computer Systems © NCC Education Limited 2024
d) Hexadecimal number 3A is binary (Select ONE (1)) 1
i) 00111010
ii) 10100011
iii) 00110101
iv) 01011100
Mark scheme
i) 00111010
Mark scheme
iii) 00111010
Mark scheme
Total 10 Marks
Page 3 of 15
Computer Systems © NCC Education Limited 2024
Question 2
You are designing a new device that has a small but fast memory. The memory is
addressed using a 12-bit address bus. A requirement is that the memory contents must not
be lost after powering off the device. The data bus is an 8-bit bus. The CPU speed is 50
MHz.
a) Does the device need to use volatile or non-volatile memory? Justify your 2
answer.
Mark scheme
b) Is a dynamic or static type of memory best for the device? justify your answer. 2
Mark scheme
c) Calculate the maximum size of memory in bytes that can be supported by this 2
device. You must show your working.
Mark scheme
d) The device can transfer 8-bit data every 2 clock cycles. Calculate how long it will 3
take to transfer 10 Mbyte data. You must show your working.
Mark scheme
2 clock times = 2/50 x 103 sec = 40 usec (1 mark), time taken = 40 x 10 x 103
usec (1 mark) = 4 x 105 usec = 4 x 105 /106 sec = 0.4 sec (1 mark)
e) The CPU idle time must not exceed 4 clock cycles while waiting for data from 1
memory. Calculate the minimum speed of memory accesses. You must show
your working.
Mark scheme
Total 10 Marks
Page 4 of 15
Computer Systems © NCC Education Limited 2024
Question 3
a) An operating system is managing THREE (3) processes P1, P2 and P3. The
priorities of the processes are 1, 2 and 3 respectively. Assume the highest priority
is 1 and the lowest is 3. Processes start in the order of P2, P3 and P1. The first
process, P2, is already running when the other TWO (2) processes, P3 and P1,
start. Each process runs once only.
P2, P1, P3 (1 mark for swapping P1 and P3, 1 mark for sequence)
iii)
iii) Assuming priority-based, pre-emptive scheduling is used, show in what 2
order the processes will run.
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
P1, P2, P3 (1 mark for swapping P1 and P2, 1 mark for sequence)
iv)
b) An operating system has states, and it moves from one state to another under
certain conditions. Moving from one state to another is called a transition.
Ready (1 mark)
iii)Ready Running (1 mark)
Total 10 Marks
Page 5 of 15
Computer Systems © NCC Education Limited 2024
Question 4
i) Add binary numbers 10011 and 01011. Give the result as a binary 1
number.
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
11110 (1 mark)
ii)
ii) Prove your answer by converting the numbers in i) to decimal numbers. 2
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
10011 = 19, 01011 = 11, 11110 = 30 (1 mark for conversions, 1 mark for
the proof 19 + 11 = 30)
iii)
iii) Convert the hexadecimal number B5C9 to its binary form. 1
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
iv) Use two’s complement method to negate the binary number 01101100. 2
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
b) Computers use logical operators when processing logic values, TRUE or FALSE,
in logic circuits. Logic gates in logic circuits function as logic operators.
i) A logic gate has TWO (2) inputs and one output. The only time its output is 2
TRUE is when both inputs are TRUE. Identify the type of this gate. What
gate will it be called if both inputs are negated?
[Insert
Markthescheme
marking scheme for part (b) here.] [Insert th
[InsertMark
thescheme
marking scheme for part (b) here.] [Insert th
OR logic (1 mark), NOR logic (1 mark)
iii)
Total 10 Marks
Page 6 of 15
Computer Systems © NCC Education Limited 2024
Question 5
Computer programs are composed of CPU instructions and data, all in binary form. The
instructions are executed by the CPU. Some instructions make use of the data when
executing. A typical CPU instruction has an opcode and may have ONE (1) or more
operands.
Mark scheme
b) Explain what operands are. Give TWO (2) examples of instructions using ONE 3
(1) or TWO (2) operands.
Mark scheme
c) I wish to store the same data in memory locations from 100 to 200. Identify the 4
best type of addressing mode I need to use and briefly explain how I can use it.
Mark scheme
Total 10 Marks
Page 7 of 15
Computer Systems © NCC Education Limited 2024
Question 6
System software is part of all computer systems. They are needed to support other system
software and user applications.
Mark scheme
Mark scheme
c) Some developers use virtual machines. Explain what a virtual machine is and 5
what it is used for.
Mark scheme
Total 10 Marks
Page 8 of 15
Computer Systems © NCC Education Limited 2024
Question 7
Digital logic is the heart of digital devices such as computers, mobile phones, etc. They
take binary inputs and produce binary outputs to fulfil a function.
A B ( . B) ( . A) P
FALSE FALSE
FALSE TRUE
TRUE FALSE
TRUE TRUE
Mark scheme
A B ( . B) ( . A) P
FALSE FALSE FALSE FALSE FALSE
FALSE TRUE TRUE FALSE TRUE
TRUE FALSE FALSE TRUE TRUE
TRUE TRUE FALSE FALSE FALSE
b) Draw the logic circuit representing the equation in i) where A and B are the inputs 4
and P is the output.
Mark scheme
1 mark for the correct gate types and numbers (2 AND gates + 1 OR gate),
maximum 3 marks
1 mark for the correct connections including the NOT functions (ALL
connections must be correct)
c) Give the TWO (2) main functions of a hardware design language (HDL). 2
Page 9 of 15
Computer Systems © NCC Education Limited 2024
Mark scheme
Total 10 Marks
Page 10 of 15
Computer Systems © NCC Education Limited 2024
Question 8
Mark scheme
Many products can be named here, the list below is not exhaustive.
1 mark for each of the following products for a maximum of 3 marks:
Domestic appliances
Handheld devices
Entertainment equipment
Cars
TVs
Digital receivers
Toys
Accept any other credible products
b) A microcontroller has a 100 MHz CPU. We need to program one of its count- 3
down-to-zero timers that uses a CPU clock to count down in order to delay a
program code for 10 ms. Calculate the initial count value needed in the timer.
Mark scheme
c) Explain what the duty cycle is in a pulse width modulation (PWM) timer. A 4
washing machine’s drum speed is controlled by a PWM timer. If the maximum
speed of the drum is 1400 rpm, calculate what duty cycle is needed to reduce the
speed to 560 rpm. Give the result as a percentage value.
Briefly suggest how a variable voltage potentiometer can be used to adjust the
brightness of LED lights.
Mark scheme
The duty cycle defines the ratio between the on and the off periods of the
output of the PWM timer (1 mark).
The duty cycle needed is 560 / 1400 = 40% (1 mark).
The potentiometer’s analogue output is converted to digital values (1
mark).
The digital values are then used by the PWM timer to change its duty cycle
(1 mark).
Page 11 of 15
Computer Systems © NCC Education Limited 2024
Total 10 Marks
Question 9
Mark scheme
Mark scheme
Mark scheme
Mark scheme
Total 10 Marks
Page 12 of 15
Computer Systems © NCC Education Limited 2024
Question 10
Mark scheme
Mark scheme
Mark scheme
In a 4-core CPU, there are 4 independent CPUs with their separate caches
(1 mark). Each CPU can execute different programs’ instructions at the
same time (1 mark).
Total 10 Marks
End of paper
Page 13 of 15
Computer Systems © NCC Education Limited 2024
Learning Outcomes matrix
Page 14 of 15
Computer Systems © NCC Education Limited 2024
Grade descriptors
Learning Fail Referral Pass Merit Distinction
Outcome
Understand and None or Some credible Limited but Good Excellent
identify the main inadequate but incomplete satisfactory demonstration of demonstration of
types and description of attempt to demonstration of understanding of understanding of
components of computer demonstrate understanding of computer computer
computer systems and understanding of computer systems systems and systems and
systems components computer and components components components
systems and
components
Describe the None or very A very limited and Limited and above Good description Excellent and full
structure and role basic description basic description basic description of of most description of all
of modern of components of of components of components of components of components of
operating operating operating operating systems operating operating
systems systems systems systems systems
Explain the No or wrong Limited and very Basic but limited Good and Excellent and
hierarchy of explanation of basic explanation explanation of competent complete
computer computer of computer computer software explanation of explanation of
software software software hierarchy computer computer
hierarchy hierarchy software software
hierarchy hierarchy
Describe No or insufficient Limited and very Basic and partly Good description Excellent and
alternative description of basic description satisfactory of performance complete
computer performance of performance description of enhancing description of
systems enhancing enhancing performance technologies performance
technologies technologies enhancing enhancing
technologies technologies
Discuss the role No or very trivial A very basic Basic but credible Good and wide- Excellent and
of Data discussion of discussion of discussion of data ranging complete
Communications data data communications discussion of discussion of
and Networks in communications communications protocols and data data
computer protocols and protocols and components communications communications
systems components components protocols and protocols and
components components
Page 15 of 15
Computer Systems © NCC Education Limited 2024