Computer Science Paper 1 TZ2 SL
Computer Science Paper 1 TZ2 SL
All rights reserved. No part of this product may be reproduced in any form or by any
electronic or mechanical means, including information storage and retrieval systems,
without the prior written permission from the IB. Additionally, the license tied with this
product prohibits use of any selected files or extracts from this product. Use by third
parties, including but not limited to publishers, private teachers, tutoring or study services,
preparatory schools, vendors operating curriculum mapping services or teacher resource
digital platforms and app developers, whether fee-covered or not, is prohibited and is a
criminal offense.
More information on how to request written permission in the form of a license can be
obtained from https://ibo.org/become-an-ib-school/ib-publishing/licensing/applying-for-a-
license/.
Tous droits réservés. Aucune partie de ce produit ne peut être reproduite sous quelque
forme ni par quelque moyen que ce soit, électronique ou mécanique, y compris des
systèmes de stockage et de récupération d’informations, sans l’autorisation écrite
préalable de l’IB. De plus, la licence associée à ce produit interdit toute utilisation de tout
fichier ou extrait sélectionné dans ce produit. L’utilisation par des tiers, y compris, sans
toutefois s’y limiter, des éditeurs, des professeurs particuliers, des services de tutorat ou
d’aide aux études, des établissements de préparation à l’enseignement supérieur, des
fournisseurs de services de planification des programmes d’études, des gestionnaires de
plateformes pédagogiques en ligne, et des développeurs d’applications, moyennant
paiement ou non, est interdite et constitue une infraction pénale.
Pour plus d’informations sur la procédure à suivre pour obtenir une autorisation écrite
sous la forme d’une licence, rendez-vous à l’adresse https://ibo.org/become-an-ib-school/
ib-publishing/licensing/applying-for-a-license/.
Todos los derechos reservados. No se podrá reproducir ninguna parte de este producto
de ninguna forma ni por ningún medio electrónico o mecánico, incluidos los sistemas de
almacenamiento y recuperación de información, sin la previa autorización por escrito del
IB. Además, la licencia vinculada a este producto prohíbe el uso de todo archivo o
fragmento seleccionado de este producto. El uso por parte de terceros —lo que incluye,
a título enunciativo, editoriales, profesores particulares, servicios de apoyo académico o
ayuda para el estudio, colegios preparatorios, desarrolladores de aplicaciones y
entidades que presten servicios de planificación curricular u ofrezcan recursos para
docentes mediante plataformas digitales—, ya sea incluido en tasas o no, está prohibido
y constituye un delito.
En este enlace encontrará más información sobre cómo solicitar una autorización por
escrito en forma de licencia: https://ibo.org/become-an-ib-school/ib-publishing/licensing/
applying-for-a-license/.
Computer science
Standard level
Paper 1
2 May 2024
1 hour 30 minutes
Instructions to candidates
y Do not open this examination paper until instructed to do so.
y Section A: a
nswer all questions.
y Section B: a
nswer all questions.
y The maximum mark for this examination paper is [70 marks].
2224 – 6917
6 pages © International Baccalaureate Organization 2024
–2– 2224 – 6917
Section A
2. Describe the pilot running method for the implementation of a new system. [2]
5. Outline one method that can be used to deliver user training. [2]
7. State two usability issues that could occur when using a cell phone (mobile phone). [2]
8. Identify two methods that can be used to improve the accessibility of a computer system
for users. [2]
9. (a) Outline the purpose of the memory address register (MAR). [2]
(b) Outline the role of the arithmetic logic unit (ALU). [2]
10. (a) State the hexadecimal equivalent of the binary number 11111011. [1]
(b) State the binary equivalent of the denary number 89. [1]
12. Identify two of the layers of the Open Systems Interconnection (OSI) seven-layer model. [2]
–3– 2224 – 6917
Section B
(a) (i) Identify two characteristics of fibre optic cables as a transmission medium. [2]
(b) Describe how encryption is used to protect data during transmission. [3]
(d) Explain one social implication of changes to working patterns due to the use of a
virtual private network (VPN). [3]
Turn over
–4– 2224 – 6917
A car has features that monitor its speed, direction and distance from the car in front. This is
shown in Figure 1.
Binary
Input Description
representation
For example, if the car is travelling forward, input B would have a binary representation of 1.
(b) Construct a logic diagram with inputs A, B, and C and output Z to represent the
following scenario:
An additional row (input D) is to be added to assist when the car is in reverse or stationary.
Input D checks if there are obstructions less than 3 metres from the rear of the car.
(c) State the rules that need to be added to Figure 1 to test this condition. [2]
(Question 14 continued)
Information similar to that presented in Figure 1 could be used to construct decisions and
conditions in program design (see Figure 2).
Identifier Description
(d) Determine the value of the following expression given that the input values for
F, S and T are:
F = 40
S = 115
T = true
(e) Construct an algorithm in pseudocode that repeats the following steps while the car
is moving:
y Input the value for the distance from the vehicle in front.
y Input the value for the speed of the car.
y Check the inputs and notify the user if either the distance from the car in front is less
than 15 metres or if the speed of the car is more than 115 kilometres per hour.
The algorithm will only terminate when the car stops moving. [6]
Turn over
–6– 2224 – 6917
The collection CAPITALS holds the names of a number of capital cities and the names of
their corresponding countries, as follows:
(b) Construct an algorithm using pseudocode to read the data from CAPITALS and store
the names of the cities in a one-dimensional string array, CITY, and the names of the
countries in another one-dimensional string array, COUNTRY.
The matching city and country must have the same index in the CITY and
COUNTRY arrays. [4]
(c) Construct an algorithm using pseudocode to sort the contents of the array COUNTRY
into alphabetical order. The indexes for the corresponding data in the two parallel
arrays must remain the same after sorting. [5]
(d) Compare and contrast the bubble sort algorithm and the selection sort algorithm. [4]