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

22 questions · page 1 of 2 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
9618/31/O/N/25 · Question 4Oct/Nov 2025Paper 316 marks
Loading question…
Question text

4
(a) A scheduling routine determines how processes are managed by the operating system.
Identify two scheduling routines.
1 …
2 …
[2]
(b) Describe two ways in which the complexities of the computer hardware are hidden from the
user.
1 …
…
…
…
2 …
…
…
…
[4]

2
9618/31/O/N/25 · Question 8Oct/Nov 2025Paper 318 marks
Loading question…
Question text

8
(a) Outline the purpose of lexical analysis during the compilation of a program.
…
…
…
… [2]
(b) Write the Reverse Polish Notation (RPN) for the given infix expression:
(2 – 6) * (13 + 7) / 5
…
…
…
… [2]
(c) The RPN expression:
d a b + * c a ‑ /
is to be evaluated, where:
a = 6, b = 12, c = 15 and d = 5.
Show the changing contents of the stack as the RPN expression is evaluated.
[4]
ĬÙú¾Ġ´íÈõÏĪÅĊÝûµĀ×

3
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]
ĬÏĊ®Ġ´íÈõÏĪÅĊàû¸Ā×

Advertisement
4
9618/32/O/N/25 · Question 8Oct/Nov 2025Paper 328 marks
Loading question…
Question text

8
(a) State the purpose of the optimisation stage in the compilation of a program.
…
…
…
… [1]
(b) Convert this Reverse Polish Notation (RPN) back to its original infix form:
a b - c + c a - * d /
…
…
…
…
…
… [3]
(c) The RPN expression:
c a / b d – * b +
is to be evaluated, where:
a = 3, b = 16, c = 9 and d = 6.
Show the changing contents of the stack as the RPN expression is evaluated.
[4]
ĬÑĊ®Ġ´íÈõÏĪÅĊßûµĀ×

5
9618/33/O/N/25 · Question 5Oct/Nov 2025Paper 334 marks
Loading question…
Question text

5
(a) State the purpose of multi‑tasking.
…
… [1]
(b) Explain how an operating system ensures that multi‑tasking operates efficiently.
…
…
…
…
…
… [3]
ĬÕú¾Ġ´íÈõÏĪÅĊßû·Ā×

6
9618/33/O/N/25 · Question 7Oct/Nov 2025Paper 339 marks
Loading question…
Question text

7
(a) Outline the process of optimisation during the compilation of a program.
…
…
…
… [2]
(b) Write the Reverse Polish Notation (RPN) for the given infix expression:
((6 + 12) / (16 – 10)) * 18
…
…
…
…
…
… [3]
(c) The RPN expression
c a – b d + * b c + /
is to be evaluated, where:
a = 4, b = 12, c = 24 and d = 6.
Show the changing contents of the stack as the RPN expression is evaluated.
[4]
ĬÙú¾Ġ´íÈõÏĪÅĊÞù¶þ×

7
9618/31/O/N/24 · Question 8Oct/Nov 2024Paper 317 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]
ĬÑĊ®Ġ´íÈõÏĪÅĊßúµĀ×

8
9618/31/O/N/24 · Question 10Oct/Nov 2024Paper 319 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]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞü·þ×

Advertisement
9
9618/32/O/N/24 · Question 7Oct/Nov 2024Paper 329 marks
Loading question…
Question text

7
Several syntax diagrams are shown.
odd
even
1
0
3
2
5
4
7
6
9
8
symbol
letter
%
A
£
B
#
C
@
D
$
E
number
odd
odd
even
ĬÑĊ®Ġ´íÈõÏĪÅĊßù¶Ā×
,
,
(a) State why each number is invalid for the given syntax diagrams.
21
Reason …
…
123
Reason …
…
[2]
(b) Complete the Backus‑Naur Form (BNF) for the given syntax diagrams.
<symbol> ::= …
…
<number> ::= …
…
[2]
(c) A new syntax rule, code, is required. It must begin with a letter, followed by one or two
numbers, and end with a symbol.
(i)
Draw a syntax diagram for code.
[3]
(ii)
Write the BNF for code.
…
…
…
… [2]
ĬÓĊ®Ġ´íÈõÏĪÅĊßû¶Ā×

10
9618/32/O/N/24 · Question 9Oct/Nov 2024Paper 325 marks
Loading question…
Question text

9
(a) The kernel is the central component of an Operating System (OS).
Outline how the kernel of an OS acts as an interrupt handler.
…
…
…
… [2]
(b) (i)
State what is meant by the term multi‑tasking in an Operating System.
…
… [1]
(ii)
Describe how multi‑tasking is implemented in an Operating System.
…
…
…
… [2]
ĬÑĊ®Ġ´íÈõÏĪÅĊÞù¸þ×

11
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]
ĬÑĊ®Ġ´íÈõÏĪÅĊàûµĀ×

12
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]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝù·þ×

13
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
14
9618/31/O/N/23 · Question 9Oct/Nov 2023Paper 319 marks
Loading question…
Question text

9
(a) (i)
Write the infix expression for this Reverse Polish Notation (RPN) expression:
5 2 – 5 4 + * 9 /
…
… [2]
(ii)
Show how the contents of the following stack will change as the RPN expression in
part (a)(i) is evaluated.
[4]
(b) Explain how a stack can be used to evaluate RPN expressions.
…
…
…
…
…
… [3]

15
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