Software, operating systems and translators – O Level Computer Science (2210)

18 questions · page 1 of 2 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
2210/12/O/N/25 · Question 3Oct/Nov 2025Paper 124 marks
Loading question…
Question text

3
A programmer uses assembly language to create a program for a coffee machine.
(a) Describe what is meant by assembly language.
…
…
…
… [2]
(b) Identify the translator needed for assembly language.
… [1]
(c) Tick (✓) one box to show which statement is an advantage of using assembly language.
A
It is close to human language.
B
It is memory efficient.
C
It is easy to debug.
D
It is machine independent.
[1]
ĬÖú¾Ġ´íÈõÏĪÅĊßù¸Ā×

2
2210/12/O/N/25 · Question 5Oct/Nov 2025Paper 1210 marks
Loading question…
Question text

5
A computer system has a mouse.
An interrupt is sent to the CPU every time a button on the mouse is clicked.
(a) Identify the name of this type of interrupt.
… [1]
(b) The interrupt is placed in a queue.
Explain how the interrupt is serviced after it is placed in the queue.
…
…
…
…
…
…
…
… [4]
(c) The mouse is connected using a universal serial bus (USB) connection.
(i)
Explain how data is sent using the USB connection.
…
…
…
… [2]
(ii)
Give two benefits of using a USB connection for this purpose.
1 …
…
2 …
…
[2]
(iii)
Give one drawback of using a USB connection for this purpose.
…
… [1]
ĬÚú¾Ġ´íÈõÏĪÅĊÞûµþ×

3
2210/13/O/N/25 · Question 6Oct/Nov 2025Paper 1312 marks
Loading question…
Question text

6
A computer game is programmed to use artificial intelligence (AI) to create the movements and
actions of the computer-controlled characters in the game.
(a) Describe what is meant by AI.
…
…
…
…
…
… [3]
(b) Explain how the AI can be used to improve the movements and actions of the
computer-controlled characters.
…
…
…
…
…
… [3]
ĬÛú¾Ġ´íÈõÏĪÅĊÝù¸þ×
,
,
(c) The computer game is programmed using a high-level language.
Explain one difference between a high-level language and a low-level language.
…
…
…
… [2]
(d) The programmer uses translators to translate the high-level language source code into
machine code.
Identify the name of the translator that would be used for each of the statements. Each name
may be used more than once.
(i)
Translates and executes the source code one line at a time.
… [1]
(ii)
Translates the source code and will not execute it if errors are found. It instead produces
a full report of the errors in the source code.
… [1]
(iii)
Translates the source code and produces an executable file.
… [1]
(iv)
Stops execution of the machine code where an error is found and will resume execution
of the machine code once the error is fixed.
…

Advertisement
4
2210/13/O/N/24 · Question 7Oct/Nov 2024Paper 134 marks
Loading question…
Question text

7
A computer programmer uses an integrated development environment (IDE) when creating a
computer program.
Explain the purpose of the IDE.
…
…
…
…
…
…
…
… [4]
ĬÛú¾Ġ´íÈõÏĪÅĊÞú¸þ×
,
,
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
ĬÙú¾Ġ´íÈõÏĪÅĊàü¸Ā×

5
2210/12/O/N/21 · Question 6Oct/Nov 2021Paper 126 marks
Loading question…
Question text

6
A programmer can use translators, such as an interpreter and a compiler, when developing a
computer program.
(a) Give one similarity between a compiler and an interpreter.
…
… [1]
(b) Describe two differences between a compiler and an interpreter.
Difference 1 …
…
…
…
Difference 2 …
…
…
…
[4]
(c) Identify one other type of translator.
… [1]

6
2210/12/O/N/21 · Question 9Oct/Nov 2021Paper 124 marks
Loading question…
Question text

9
Padma opens an application on her computer.
An interrupt is generated to inform the Central Processing Unit (CPU) that the application has
been opened.
(a) Give three other examples of when an interrupt signal could be generated.
1 …
2 …
3 …
[3]
(b) State what would happen if interrupt signals were not used in a computer.
…
… [1]

7
2210/13/O/N/19 · Question 2Oct/Nov 2019Paper 135 marks
Loading question…
Question text

2
A programmer uses a high-level language to write a computer program.
(a) Four statements are given about high-level programming languages.
Tick (3) to show if each statement is True or False.
True
False
Statement
(3)
(3)
High-level languages need to be translated into machine code to run on a
computer
High-level languages are written using mnemonic codes
High-level languages are specific to the computer’s hardware
High-level languages are portable languages
[4]
(b) Tick (3) to show which of the following is an example of a high-level language program.
Tick
Example program
(3)
1011100000110000
0000011011100010
INP
STA ONE
INP
STA TWO
ADD ONE
a = input()
b = input()
if a == b:
print("Correct")
else:
print("Incorrect")
[1]

8
2210/13/O/N/19 · Question 7Oct/Nov 2019Paper 1310 marks
Loading question…
Question text

7
The Von Neumann model for a computer system has several components that are used in the
fetch-execute cycle.
(a) One component is main memory.
(i)
Describe what is meant by main memory and how it is used in the Von Neumann model
for a computer system.
…
…
…
…
…
… [3]
(ii)
State two other components in the Von Neumann model for a computer system.
1 …
2 …
[2]
(b) Computer systems often use interrupts.
Five statements are given about interrupts.
Tick (3) to show if each statement is True or False.
True
False
Statement
(3)
(3)
Interrupts can be hardware based or software based
Interrupts are handled by the operating system
Interrupts allow a computer to multitask
Interrupts work out which program to give priority to
Interrupts are vital to a computer and it cannot function without them
[5]

Advertisement
9
2210/12/O/N/18 · Question 6Oct/Nov 2018Paper 129 marks
Loading question…
Question text

6
(a) Many programmers write computer programs in high-level languages. The programs need to
be translated into machine code to be read by the computer.
State two types of translator that can be used.
Translator 1 …
Translator 2 …
[2]
(b) Explain two reasons why a computer programmer may choose to write a program in a high-
level language, rather than a low-level language.
Reason 1 …
…
…
…
Reason 2 …
…
…
…
[4]
(c) Three examples of computer code are given in the table.
Tick (✓) to show whether each example of computer code is High-level language, Assembly
language or Machine code.
High-level
Assembly
Machine
Computer code
language
language
code
(✓)
(✓)
(✓)
10110111
11001100
01011100
FOR X = 1 TO 10
PRINT X
NEXT X
INP X
STA X
LDA Y
[3]

10
2210/12/O/N/18 · Question 8Oct/Nov 2018Paper 124 marks
Loading question…
Question text

8
Describe the purpose of an interrupt in a computer system.
…
…
…
…
…
…
…
… [4]

11
2210/13/O/N/18 · Question 7Oct/Nov 2018Paper 1310 marks
Loading question…
Question text

7
David is writing a program using a high-level language. The program will be published and sold for
profit.
(a) David uses an interpreter when creating the computer program.
State three features of an interpreter.
Feature 1 …
…
Feature 2 …
…
Feature 3 …
…
[3]
(b) David compiles the program when he has completed it.
Explain two benefits of compiling the program.
Benefit 1 …
…
…
…
Benefit 2 …
…
…
…
[4]
(c) David needs to send a large section of the programming code as an email attachment.
He uses lossless compression to reduce the file size.
Explain how the file size is reduced.
…
…
…
…
…
… [3]

12
2210/12/O/N/17 · Question 6Oct/Nov 2017Paper 124 marks
Loading question…
Question text

6
Selma writes the following four answers in her Computer Science examination.
State which computer terms she is describing.
“It is a signal. When the signal is received it tells the operating system that an event has occurred.”
Selma is describing …
“It takes source code written in a high level language and translates it into machine code. It
translates the whole of the source code at once.”
Selma is describing …
“The part of the central processing unit (CPU) that carries out calculations.”
Selma is describing …
“When data is transmitted, if an error is detected in the data received a signal is sent to ask for the
data to be retransmitted. This continues until the data received is correct.”
Selma is describing …
[4]

13
2210/13/O/N/17 · Question 10Oct/Nov 2017Paper 136 marks
Loading question…
Question text

10 Six statements about assembly language are shown.
Tick (3) whether the statement is true or false.
Statement
true
false
(3)
(3)
Assembly language uses mnemonic codes.
Assembly language programs do not need
a translator to be executed.
Assembly language is a low-level
programming language.
Assembly language is specific to the
computer hardware.
Assembly language is machine code.
Assembly language is often used to create
drivers for hardware.
[6]
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 International
Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after
the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local

Advertisement
14
2210/12/O/N/16 · Question 1Oct/Nov 2016Paper 127 marks
Loading question…
Question text

1
(a) Give two reasons why a programmer would choose to write code in a low-level language.
1 …
…
…
2 …
…
…
[2]
(b) High-level languages require either an interpreter or a compiler to translate the program.
The table below lists a number of statements about language translators.
Tick (3) to show which statements refer to interpreters and which refer to compilers.
Statements
Interpreter (3)
Compiler (3)
Translates the source code into machine code
all at once
Produces an executable file in machine code
Executes a high-level language program one
instruction at a time
Once translated, the translator does not need to
be present for the program to run
An executable file is produced
[5]

15
2210/12/O/N/16 · Question 2Oct/Nov 2016Paper 124 marks
Loading question…
Question text

2
State four functions of an operating system.
1 …
2 …
3 …
4 …
[4]

Advertisement