You are on page 1of 12

DEPARTMENT FOR CURRICULUM,

LIFELONG LEARNING AND EMPLOYABILITY


Directorate for Learning and Assessment Programmes
Educational Assessment Unit

Annual Examinations for Secondary Schools 2021

YEAR 10 COMPUTING TIME: 1h 30min

Directions to candidates:
Answer ALL questions on this paper.
The use of a flow chart template is permitted.
Calculators are NOT allowed.

Good English and orderly presentation are important.

For office use only:

Paper Course
QUES 1 2 3 4 5 6 7 8 9 10 11 12 13 Final Mark
Total Work

MAX 6 4 5 5 5 5 5 6 5 5 4 15 15 85% 15% 100%

MARK

Computing – Year 10 – 2021 Page 1 of 12


1. FIFA 20, the latest edition of the popular football
game, was launched in September 2019.

Gamers can get the game on Blu Ray and choose


to buy and download additional content as they
play.

a. Suggest ONE possible problem with downloading large software like [1]
FIFA 20 which requires 46GB of storage.

b. FIFA 20 requires high CPU, RAM and Graphical Processing Unit (GPU)
because it is a resource-hungry game.

State whether each of the following features contribute to its being


resource-hungry. Mark as true or false.

Code that gives the game ‘football intelligence’,


i. [½]
making it more realistic.
Code that increments goal count when a player scores
ii. [½]
a goal.

iii. High-resolution graphics. [½]

Code that increments the time progress of the game


iv. [½]
being played.

c. Name ONE process that you expect to take place during the installation [1]
of this game.

d. The game automatically saves the players’ progress, such as the [2]
tournament phase reached. Is this stored in RAM? Explain.

2. Some players have reported that the game FIFA 20 crashes every time they
launch the game.
a. This issue is an example of a: (Tick as appropriate) [1]
 Runtime error  Syntax Error  Logic Error

b. During game development, errors are expected, so testing is crucial


before the game is finalised and launched. For example, the game may
declare the team with the lower score as the winner of the match.
Page 2 of 12 Computing – Year 10 – 2021
i. What is this kind of error called? [1]

ii. Name ONE thing the programming team can do to help detect [1]
such errors.

c. Besides gaming, computers offer other forms of entertainment in the [1]


modern household. Name one other use of computers in home
entertainment.

3. In the game FIFA 20, ONE would likely have a class called Player.

a. Two properties one expects in class Player are surname and age:
i. Suggest a suitable data type for ‘surname’: [1]

ii. Explain why ‘age’ should be declared as ‘byte’ rather than ‘int’. [1]

b. Another Player property is called redCard. This property holds the [1]
values true or false. What data type is required for redCard?

c. Name TWO other properties you expect to find in class Player and [2]
suggest a suitable data type for each.

4. Ms Briffa, the school librarian, takes care of a chess club that students can
attend to during break time. She organises an annual chess tournament for
the first twenty students who register for this tournament.

a. Write Java code to declare an array, called studNames, that stores the [1]
names of the students.

b. Write Java code to declare another array, called gamesWon, that stores [1]
the number of games that each student won.

Computing – Year 10 – 2021 Page 3 of 12


c. Complete the code snippet below that displays the students’ name and [3]
games won.

1: void displayInfo(){
2: for (_________________________)
3: System.out.print(_______________________________);
4: }

Line 2:

Line 3:

5. The TicWatch Pro is a 2019 smartwatch that offers the


user various fitness and communication features.
a. The user manual can be found online. Suggest ONE [1]
reason why it is advisable for user manuals to be
provided online, rather than in hardcopy.

b. Name ONE feature you expect to find in this user manual. [1]

c. The user may download various apps on his smartwatch.


i. One of these apps is ‘Accuweather‘, a weather
app that gives forecasts and weather
warnings.

What type of application is ‘Accuweather’?


You may tick more than one. [2]
 System Utility  Application Software
 Off-the-shelf Software  Tailor-made software

ii. Name ONE system software that one expects to find on a wearable [1]
device.

Page 4 of 12 Computing – Year 10 – 2021


6. The TicWatch Pro has a sat-navigation app which works with GPS receivers.
a. What does GPS stand for? [1]

b. State whether the following are True or


False:
The GPS can be used to [1]
i.
locate a place of interest.
GPS receivers are output [1]
ii.
devices.
GPS may not work in an [1]
iii.
underground tunnel.

c. Satellites are also used in Earth observation. Name ONE use of [1]
satellites in this area.

7. An IP address is a unique number assigned to each


device connected to the internet.

Nowadays most smart devices, such as an IP


Camera, are Internet-enabled and for this reason we
need more unique IP addresses to identify each
device.

a. Currently we are moving from IPv4, which uses a 32-bit address, to


IPv6 which uses a 128-bit address. How many unique addresses can
be generated using IPv4 and IPv6?

IPv4: IPv6: [1]

b. The IPv4 is represented in FOUR 8-bit Binary patterns such as: [2]

1100 0000 . 1010 1000 . 0000 0001 . 0110 0100

Complete the table below to display the IPv4 address in Decimal.

1100 0000 10101000 00000001 01100100


. . .
19210 00110

Working here:

Computing – Year 10 – 2021 Page 5 of 12


c. The IPv6 is represented in EIGHT 16-bit Hexadecimal patterns. For [2]
example, the equivalent IPv6 address of the IPv4 address in part b is:

0000 : 0000 : 0000 : 0000 : 0000 : ffff : c0a8 : 0164

Complete the table below to display the IPv6 address in Binary.

IPv6 Hex Binary Equivalent


0000 0000 0000 0000 00002
0000 0000 0000 0000 00002
0000 0000 0000 0000 00002
0000 0000 0000 0000 00002
0000 0000 0000 0000 00002
ffff 1111 1111 1111 11112
c0a8
0164

8. A NAND gate produces a false output if inputs A A B Output


and B are both true, as shown in the truth table
0 0 1
on the right.
0 1 1
Its output is therefore the opposite to that of an 1 0 1
AND gate. 1 1 0

a. Draw a logic circuit to represent the NAND gate in terms of AND and [1]
NOT gates.
Logic Circuit here

b. Give the Boolean expression for this circuit. [1]

c. In manufacturing, the NAND gate is considered as a universal gate as it


can be used to create the functionality of all other logic gates.
The NAND gate is represented as shown below:

Page 6 of 12 Computing – Year 10 – 2021


i. Complete the truth table of the logic circuit below: [3]

A B C D Output
0 0
0 1
1 0
1 1

ii. What single logic gate can be used to replace the above circuit? [1]

9. The binary pattern 011011002 (10810) is initially processed by a NOT Gate


and then increased by 1, as shown in the diagram below:

a. What is the result after step 1? [1]

b. Give the result after step 2. [1]

c Tick the proper term that represents the output of step 1. [1]
 Twos  Numerical  Ones
Complement Overflow Complement

d. Tick the proper term that represents the output of step 2. [1]
 Twos  Numerical  Ones
Complement Overflow Complement

e. Using 8-bit two’s complement register, work 011110002 - 011011002 [1]

Computing – Year 10 – 2021 Page 7 of 12


10. Modern cars are equipped with smart
features that improve driving safety such
as the traction control and the anti-lock
braking system (ABS).

One other feature is the park-assist which


uses parking sensors to help drivers park.

The parking sensors detect the proximity of objects to the rear of the car [5]
and makes a beeping sound to alert the driver.

Develop an algorithm, in pseudocode that:

- activates when the driver is reversing,


- causes the alarm to beep at 1 second intervals if there is an object
less than 50cm away,
- causes the alarm to beep at 0.5 seconds interval if there is an
object less than 15cm away.

11. Tesla dominates the fully automatic car industry which is a


self-driving car without the need of driver intervention.
a. In 2019 Tesla released a software update that improved
driving visualization to detect traffic cones. [1]
This is an example of: (tick the correct answer)

System System System


  
Testing Maintenance Analysis

b. The Tesla team studied whether there is demand for a fully [1]
automatic car system. This is an example of: (tick the correct
answer)

System Control Feasibility


  
Design & Review Study

Page 8 of 12 Computing – Year 10 – 2021


c. Several individuals tried the product and gave feedback on how to [1]
improve the system before being launched.

Programming and Control and Present


  
Documentation Review System Study

d. Tesla ensures that frequent updates are released. Briefly explain why [1]
releasing updates is an important factor of software development.

12. The Raspberry Pi is a small single-board


computer which can be plugged into a computer
monitor and uses a standard keyboard and
mouse.

a. Identify ONE input and ONE output device


that can be used with the Raspberry Pi.

Input: [1]

Output: [1]

b. The latest model, the RaspberryPi 4B, has the below mentioned CPU:
Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz.

i. What is the clock speed of this CPU? [1]

ii. How is the clock speed related with CPU performance? [1]

c. This CPU has a 64-bit wordlength. Explain how it is superior to a CPU [1]
with a 32-bit wordlength in terms of performance.

Computing – Year 10 – 2021 Page 9 of 12


d. According to the CPU described above, answer True or False [3]

i. This CPU has an address space of 64 bytes.

ii. This CPU has a 64-bit data bus.

The address space determines the number of


iii.
memory locations that the CPU can access.

e. To execute an instruction, a CPU retrieves it from memory, carries out


the actions required by that instruction and moves on to retrieve and
execute the next instruction.

i. Name the register used to hold the instruction currently being [1]
executed.

ii. Name the register that specifies the address of the next [1]
instruction.

f. The Raspberry Pi is available with 1GB, 2GB or 4GB of RAM.


i. Briefly explain the role of RAM. [1]

ii. Suggest a reason why a customer might opt for the 4GB version. [1]

g. An instruction in RAM consists of an opcode and an operand, such as


LDA #5 which is instructing the CPU to load into the accumulator
(LDA) the value 5 (#5).
i. Identify the opcode in the above operation. [1]

ii. What is the function of the accumulator? [1]

h. Given that this CPU uses a 64-bit accumulator, what type of error [1]
would be generated if the system performed a calculation that gave a
65-bit result?

Page 10 of 12 Computing – Year 10 – 2021


13. Astro Pi: Mission Space Lab is an international
competition in which students write code to run
on Raspberry Pis on the International Space
Station.

A group of students are planning their mission


for this competition.

a. The following are stages in the development of the students’ system:

Step 1: Testing the code before submitting it.


Developing a definition of what their program will
Step 2:
perform.
Step 3: Coding the program.

State whether the following statements are true or false. [3]

i. The steps above are in the correct order.

Step 1 is part of the Programming and


ii.
Documentation phase.

iii. A dry run is normally done in step 2.

b. Before writing their code, the students plan their application using a [4]
flowchart.
i. Write the following instructions in the appropriate flowchart
symbols.

- Read Temperature
- Temperature > 30?
- Convert Celsius to Fahrenheit
- Display Message

Flowchart symbols here:

Computing – Year 10 – 2021 Page 11 of 12


ii. The students are creating a system that: [5]

- continuously reads the temperature on


the International Space Station via a
Temperature:
temperature sensor,
31oC
- displays the temperature,
- maintains the temperature at 30oC by
switching the Heater and the Cooler on or Heater: OFF
off as required, and Cooler: ON
- displays a message on its LCD display,
such as the one on the right.

Draw a flowchart to represent this system.

Flowchart here:

c. The students decided to create a case for their ASTRO Pi. Give TWO [2]
reasons for using CAD software.

d. When they finalised their design, the students used a 3D printer to [1]
produce their casing. Describe the relation between CAD and CAM in
this context.

END OF PAPER

Page 12 of 12 Computing – Year 10 – 2021

You might also like