Search Header Logo

Computer Science GCSE Revision Paper 2

Authored by C Campbell

Computers

9th - 10th Grade

Computer Science GCSE Revision Paper 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

William is writing a computer program. He makes a ___________error that prevents the program from executing.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Alexander is writing a program that runs without any errors, but the output is not what he expected. This is an example of a ____________ error.

3.

MATCH QUESTION

2 mins • 5 pts

Reorder the following

selection

age = 5

name = "Beth"

print("Hi", name)

print("Your age is", age)

condition controlled loop

name = input()

if name == "Stop":

print("Terminated")

casting

for x in range(5):

print(x)

sequence

num = 0

while num < 5:

print(num)

num += 1

count-controlled loop

number = "45"

val = int(number)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Benjamin is creating a program to store the names of his friends. Which data type is most appropriate to store a name?

char

string

real

bool

5.

LABELLING QUESTION

3 mins • 8 pts

Label the following code

a
b
c
d
e
f
g
h
input statement
concatenation
iteration
casting
parameters
output statement
function definition
function call
substring
return value

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Alexander is creating a program to keep track of people's ages. Which data type should he use to store a person's age?

string

bool

int

char

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ava is designing a program to check if a user is logged in or not. What is the most suitable data type for Ava to use to represent a true or false value?

string

int

real

bool

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?