wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

YEAR 8 END OF YEAR ASSESSMENT 2022

Total questions: 40

Worksheet time: 22mins

Name
Class
Date
1.

What does the term "syntax" mean?

a)

The grammar of programming

b)

Error

c)

Storing data

d)

Another term to describe an algorithm

2.

A "variable" is... (select the 2 correct responses)

a)

data which is stored within a program

b)

data which can be changed in a program

c)

a repeat within a program

d)

always a number

e)

always in text form

3.

What is "debugging" in programming?

a)

Correcting an error

b)

Putting in an error on purpose

c)

Adding a variable

d)

Adding iteration to a program

4.

Which of the following terms can be used to describe the term "iteration"?

a)

Repeat

b)

Loop

c)

Command

d)

Argument

e)

Variable

5.

Which of the following lines of code is correct?

a)

Textwindow.writeLine("Hello World")

b)

TextWindow.WriteLine("Hello World")

c)

TextWindow.WriteLine"Hello World"

d)

TextWindow.WriteLineHello World

e)

Window.("Hello World")

6.

Match the code below to the correct term:


TextWindow.

a)

Operation

b)

Object

c)

Input

7.

Match the code below to the correct term:


WriteLine

a)

Operation

b)

Object

c)

Input

8.

Match the code below to the correct term:


("Hello World")

a)

Operation

b)

Object

c)

Input

9.

What is "concatenation"?

a)

Another term for a loop

b)

The operation of joining two character strings end-to-end

c)

Adding two numbers together

d)

Entering text into a program

10.

Write a line of code which will display the text "Hello Class":

(a)  

11.

Which line enables the user to enter text?

a)

1

b)

2

c)

3

12.

What colour text is the variable displayed in?

a)

Green

b)

Red

c)

Orange

d)

Black

e)

There is no variable

13.

What is the name of the variable?

a)

Name

b)

name

c)

Read

d)

Hello

e)

WriteLine

14.

What value will display when this program is run?

a)

30

b)

2

c)

200

d)

20

e)

10

15.

What value will display when this program is run?

a)

30

b)

2

c)

200

d)

20

e)

10

16.

What will display when this program is run?

a)

number1number2

b)

200

c)

number1 + number2

d)

2

e)

10

17.

What is a "string"?

a)

A sequence of characters

b)

A line of numbers

c)

Storing a value in a variable

d)

A programme made up of more than 3 lines of text

18.

What is an "IF" statement and example of?

a)

A condition

b)

A variable

c)

A string

d)

An operator

19.

What would display on screen if you entered the number 3?

a)

Your number is 1

b)

Your number is less than 4

c)

Your number is greater than 3

d)

None of the statements listed

20.

What would display when this programme is run?

a)

A list of numbers from 1 to 25

b)

A list of numbers from 1 to 24

c)

A list of numbers from 0 to 24

d)

A list of numbers from 0 to 25

e)

The number 1

21.

What does a count controlled loop do?

a)

Repeats a set amount of times

b)

Repeats forever

c)

Repeats until something happens

d)

Prevents any form of repeat

22.

What does a condition controlled loop do?

a)

Repeats a set amount of times

b)

Repeats forever

c)

Repeats until something happens

d)

Prevents any form of repeat

23.

What does an infinite loop do?

a)

Repeats a set amount of times

b)

Repeats forever

c)

Repeats until something happens

d)

Prevents any form of repeat

24.

What does the code ENDIF do in the IF statement?

a)

This marks the beginning of an If Statement

b)

This marks the end of an If Statement

25.

What is happening in this program?

a)

A program is going to start with 10 sweets and then tell you that they are being eaten, one by one until they are all gone.

b)

A program is going to start with 20 sweets and then tell you that they are being eaten, one by one until they are all gone.

c)

A program is going to give you one sweet for every right answer you enter on a quiz.

d)

A program has 10 sweets and will give them to the first 10 people who finish this test.

26.

When is the program going to stop taking away sweets?

a)

When the variable 'numofsweets' reaches 0

b)

When our stomachs are full.

c)

They will always take away sweets.

d)

When the variable 'numofsweets' reaches 10

27.

What is the name of the variable in this program?

a)

Sweets

b)

numofsweets

c)

NumOfSweets

d)

EndWhile

28.

What happens to the sweets in this program?

a)

They get reduced by 2 with every loop of the While Loop

b)

They go down to 0 straight away.

c)

They get halved with every loop of the While Loop

d)

They get reduced by 1 with every loop of the While Loop

29.

What do the <> symbols mean?

a)

Equals

b)

Does not equal

c)

Sets a variable to a value

d)

Stops the program

30.

Before the While Loop begins, what is the user's name set to?

a)

Null

b)

Speech marks

c)

Emptiness

d)

Zero

31.

Is this statement true or false?

9 > 8

a)

True

b)

False

32.

When boiling a kettle which of the following would be the input?

a)

Hot Water

b)

Cold Water

c)

Heat

33.

Which of the following is the 'process' when using a washing machine?

a)

Setting the program

b)

Washing the clothes

c)

Clean fresh clothes

34.
An algorithm is..
a)
.. A set of instructions
b)
... A motion block
c)
... A character
d)
... A loop statement 
35.

Internet Explorer, Firefox, Chrome, Opera, Safari and Dolphin are all types of software know as what?

a)

Search Engine

b)

Web Browser

c)

Windows

d)

Notepad

36.

Which one of these Computer Components is sometimes called the ‘Brain’ of the computer?

a)

Brain Box

b)

Central Processing Unit

c)

Graphics Processing Unit

d)

Random Access Memory

37.

What is an Algorithm?

a)

Computer Memory

b)

A Search Engine

c)

A set of instructions or rules

d)

The speed of Music

38.

Why is it important that you carefully set your Privacy Settings on social networks like Facebook?

a)

So that you can see lots of peoples profiles

b)

To Control who can see your profile/personal information

c)

So that it helps make facebook work faster on your computer

d)

So that your mum cant see what your mates did at the weekend

39.

Jarius has received a Tweet from someone he doesn’t know calling him horrible names, what should he do?

a)

Send a nasty message back

b)

Retweet the Tweet

c)

Report the User

d)

Threaten the user

40.

What is ‘Hacking?’

a)

Getting a computer to explode

b)

Deleting lots of information from someone

c)

Gaining unauthorised access to a computer system.

d)

Making a computer turn on and off by itself