View as PDF

England GCSE Computer Science AQA · Unit 2 · 25 questions

Programming — Practice Test

This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

1

A games console program gives a bonus if a player scores over 1000 points. Which structure does it use?

Understand It with Pulse
2

A laptop program adds up numbers with the line total = total + number. What is this an example of?

Understand It with Pulse
3

A tablet program runs but gives the wrong answer every time. Which kind of error is this?

Understand It with Pulse
4

A keyboard is used to write a program that asks for numbers until 0 is typed. Which loop should be used?

Understand It with Pulse
5

A smartphone app gives 17 DIV 5 as part of a calculation. What is the result?

Understand It with Pulse
6

A robot checks whether its battery is low. If it is low, it returns to charge. Which structure does it use?

Understand It with Pulse
7

What is a runtime error?

Understand It with Pulse
8

What is 100 MOD 7 in AQA pseudocode?

Understand It with Pulse
9

What is a constant?

Understand It with Pulse
10

How can one character be taken from a string?

Understand It with Pulse
11

What is a nested loop?

Understand It with Pulse
12

What is a subroutine?

Understand It with Pulse
13

How many characters are in the string Database?

Understand It with Pulse
14

What is 41 DIV 3 in AQA pseudocode?

Understand It with Pulse
15

What is the value of 5 + 5 * 3?

Understand It with Pulse
16

What is 17 MOD 5 in AQA pseudocode?

Understand It with Pulse
17

What is an integer data type used for?

Understand It with Pulse
18

An array holds 6 items. What is the index of the last item?

Understand It with Pulse
19

What is a loop variable in a FOR loop?

Understand It with Pulse
20

What is input in a program?

Understand It with Pulse
21

In AQA pseudocode, which keywords start a selection?

Understand It with Pulse
22

What is the value of False OR False?

Understand It with Pulse
23

A FOR loop runs from 2 to 10. How many times does the loop body run?

Understand It with Pulse
24

Why is testing important before a program is released?

Understand It with Pulse
25

What is 100 MOD 3 in AQA pseudocode?

Understand It with Pulse