Operating systems and translation software – A Level Computer Science (9618)

10 questions

0 / 0Answer a question to start your score.
New quizSaved 0

Quick quiz: 10 random questions from this topic. Answer them all, then open the Summary.

Advertisement
1
9618/33/M/J/25 · Question 9May/June 2025Paper 336 marks
Loading question…
Question text

9
Several syntax diagrams are shown.
upper
digit
J
0
K
1
2
L
3
V
4
X
5
Z
lower
6
a
7
e
8
i
9
p
u
y
lower
lower
passcode
upper
digit
digit
digit
(a) State why JJ90 is not a valid passcode for the given syntax diagrams.
…
… [1]
ĬÑĊ®Ġ´íÈõÏĪÅĊÝü¸þ×
,
,
(b) Complete the Backus-Naur Form (BNF) for <upper> and <passcode>.
<upper> ::= …
…
<passcode> ::= …
…
…
…
[3]
(c) A character can be an upper, a lower or a digit.
The rules for passcode have been changed so that the third character may also be selected
from upper and the final character may be repeated one or more times.
Complete the syntax diagram for passcode to show these changes.
lower
lower
passcode
upper
digit
digit
digit
[2]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝú¸þ×

2
9618/31/O/N/22 · Question 5Oct/Nov 2022Paper 313 marks
Loading question…
Question text

5
(a) Write the infix expression in Reverse Polish Notation (RPN).
a * b + b - d + 15
…
… [1]
(b) (i)
Write the RPN expression in infix form.
a b - c d + * a /
…
… [1]
(ii)
Evaluate your infix expression from part (b)(i) when a = 5, b = 10, c = 27 and d = 12.
…
… [1]

3
9618/32/O/N/23 · Question 5Oct/Nov 2023Paper 325 marks
Loading question…
Question text

5
(a) Outline the reasons why an operating system may need to use virtual memory.
…
…
…
… [2]
(b) Explain the circumstances in which disk thrashing could occur.
…
…
…
…
…
… [3]

Advertisement
4
9618/32/M/J/25 · Question 5May/June 2025Paper 327 marks
Loading question…
Question text

5
The management and scheduling of processes are tasks carried out by an operating system.
(a) Identify three process states.
1 …
2 …
3 …
[3]
(b) Describe the function of the shortest job first scheduling routine and give a benefit of this
routine.
Function …
…
…
…
…
…
Benefit …
…
[4]

5
9618/33/O/N/24 · Question 10Oct/Nov 2024Paper 339 marks
Loading question…
Question text

10 Several syntax diagrams are shown.
letter
operator
A
+
E
–
I
*
O
/
digit
U
0
Y
1
symbol
2
#
3
$
4
?
5
&
6
@
7
8
9
label
digit
digit
letter
equation
label
operator
label
label
=
ĬÑĊ®Ġ´íÈõÏĪÅĊÝû·þ×
,
,
(a) Complete the Backus-Naur Form (BNF) for the given syntax diagrams.
<operator> ::= …
…
<label> ::= …
…
<equation> ::= …
…
[4]
(b) A new syntax rule, password, is required. It must begin with a letter or a symbol, followed by
a digit and end with one or two symbols.
(i)
Draw a syntax diagram for password.
[3]
(ii)
Write the BNF for password.
…
…
…
… [2]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝù·þ×

6
9618/32/O/N/25 · Question 5Oct/Nov 2025Paper 325 marks
Loading question…
Question text

5
(a) Describe how interrupt handling is used in low-level scheduling.
…
…
…
…
…
… [2]
(b) In process management, a process can be in one of three process states: running, ready or
blocked.
Complete the table to identify one reason why a process could be in each of the three states.
Process state
Reason
…
…
running
…
…
…
…
ready
…
…
…
…
blocked
…
…
[3]
ĬÏĊ®Ġ´íÈõÏĪÅĊàû¸Ā×

7
9618/31/M/J/22 · Question 5May/June 2022Paper 3112 marks
Loading question…
Question text

5
Part of a program’s calculations uses the integer variables j, k, m, n and p.
j
=
3
k
=
2
m
=
10
n
=
(j + k)/(j - k)
p
=
m * (m - j * k)
(a) Write the Reverse Polish Notation (RPN) for the expression:
(j + k)/(j - k)
… [2]
(b) (i)
Show the changing contents of the stack as the value for p is calculated from its RPN
expression:
m m j k * - *
[4]
(ii)
Describe the main steps in the evaluation of this RPN expression using a stack.
…
…
…
…
…
…
…
… [4]
(c) State two other uses of a stack.
1 …
…
2 …
…
[2]

8
9618/31/O/N/23 · Question 7Oct/Nov 2023Paper 315 marks
Loading question…
Question text

7
(a) A student buys a new computer.
State one benefit to the student of a user interface and give an example.
Benefit …
…
…
Example …
…
[2]
(b) Two of the process states are the running state and the ready state.
Identify one other process state.
… [1]
(c) Outline conditions under which a process could change from the running state to the ready
state.
…
…
…
… [2]

Advertisement
9
9618/31/M/J/25 · Question 8May/June 2025Paper 316 marks
Loading question…
Question text

8
(a) Describe what is meant by multi-tasking and how it benefits process management.
…
…
…
…
… [2]
(b) Explain the function of the shortest remaining time scheduling routine and give a benefit of
this routine.
Function …
…
…
…
…
…
Benefit …
…
[4]

10
9618/33/O/N/24 · Question 8Oct/Nov 2024Paper 337 marks
Loading question…
Question text

8
(a) Describe the process of segmentation for memory management.
…
…
…
…
…
…
…
… [4]
(b) Explain what is meant by disk thrashing.
…
…
…
…
…
… [3]
ĬÑĊ®Ġ´íÈõÏĪÅĊàûµĀ×

Advertisement