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

43 questions · page 2 of 3 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
16
9618/33/M/J/25 · Question 6May/June 2025Paper 336 marks
Loading question…
Question text

6
The management and scheduling of processes are tasks carried out by an operating system.
(a) Describe one reason why scheduling is necessary in process management.
…
…
…
… [2]
(b) Explain the function of the round robin scheduling routine and give a benefit of this routine.
Function …
…
…
…
…
…
Benefit …
…
[4]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞú¶þ×
[Turn
over

17
9618/33/M/J/25 · Question 8May/June 2025Paper 334 marks
Loading question…
Question text

8
Explain the process of syntax analysis during program compilation.
…
…
…
…
…
…
…
… [4]
ĬÑĊ®Ġ´íÈõÏĪÅĊàü¶Ā×
,
,
ĬÓĊ®Ġ´íÈõÏĪÅĊàú¶Ā×

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

Advertisement
19
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]
ĬÑĊ®Ġ´íÈõÏĪÅĊßúµĀ×

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

21
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]
ĬÓĊ®Ġ´íÈõÏĪÅĊßû¶Ā×

22
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]
ĬÑĊ®Ġ´íÈõÏĪÅĊÞù¸þ×

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

25
9618/31/M/J/24 · Question 5May/June 2024Paper 319 marks
Loading question…
Question text

5
(a) Write this Reverse Polish Notation (RPN) in infix form:
5 2 + 9 3 - / 3 *
…
…
…
… [3]
(b) Write this infix expression in RPN:
((7 + 3) - (2 * 8)) / 6
…
…
…
… [2]
(c) Evaluate this RPN expression:
a b - c d + * e /
when
a = 17, b = 5, c = 7, d = 3 and e = 10
Show the changing contents of the stack as the RPN expression is evaluated.
[4]

26
9618/32/M/J/24 · Question 5May/June 2024Paper 329 marks
Loading question…
Question text

5
(a) Write this infix expression in Reverse Polish Notation (RPN):
(7 – 2 + 8) / (9 – 5)
…
…
…
… [2]
(b) Evaluate this RPN expression:
a d + a b + c - *
when
a = 6, b = 3, c = 7 and d = 9
Show the changing contents of the stack as the RPN expression is evaluated.
[4]
(c) Write this RPN expression in infix form:
b a c - + d b + * c /
…
…
…
… [3]

27
9618/33/M/J/24 · Question 5May/June 2024Paper 339 marks
Loading question…
Question text

5
(a) Write this Reverse Polish Notation (RPN) in infix form:
5 2 + 9 3 - / 3 *
…
…
…
… [3]
(b) Write this infix expression in RPN:
((7 + 3) - (2 * 8)) / 6
…
…
…
… [2]
(c) Evaluate this RPN expression:
a b - c d + * e /
when
a = 17, b = 5, c = 7, d = 3 and e = 10
Show the changing contents of the stack as the RPN expression is evaluated.
[4]

28
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
29
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]

30
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