Font size
WorksheetsYEAR 8 END OF YEAR ASSESSMENT 2022
Total questions: 40
Worksheet time: 22mins
What does the term "syntax" mean?
The grammar of programming
Error
Storing data
Another term to describe an algorithm
A "variable" is... (select the 2 correct responses)
data which is stored within a program
data which can be changed in a program
a repeat within a program
always a number
always in text form
What is "debugging" in programming?
Correcting an error
Putting in an error on purpose
Adding a variable
Adding iteration to a program
Which of the following terms can be used to describe the term "iteration"?
Repeat
Loop
Command
Argument
Variable
Which of the following lines of code is correct?
Textwindow.writeLine("Hello World")
TextWindow.WriteLine("Hello World")
TextWindow.WriteLine"Hello World"
TextWindow.WriteLineHello World
Window.("Hello World")
Match the code below to the correct term:
TextWindow.
Operation
Object
Input
Match the code below to the correct term:
WriteLine
Operation
Object
Input
Match the code below to the correct term:
("Hello World")
Operation
Object
Input
What is "concatenation"?
Another term for a loop
The operation of joining two character strings end-to-end
Adding two numbers together
Entering text into a program
Write a line of code which will display the text "Hello Class":
(a)
Which line enables the user to enter text?
1
2
3
What colour text is the variable displayed in?
Green
Red
Orange
Black
There is no variable
What is the name of the variable?
Name
name
Read
Hello
WriteLine
What value will display when this program is run?
30
2
200
20
10
What value will display when this program is run?
30
2
200
20
10
What will display when this program is run?
number1number2
200
number1 + number2
2
10
What is a "string"?
A sequence of characters
A line of numbers
Storing a value in a variable
A programme made up of more than 3 lines of text
What is an "IF" statement and example of?
A condition
A variable
A string
An operator
What would display on screen if you entered the number 3?
Your number is 1
Your number is less than 4
Your number is greater than 3
None of the statements listed
What would display when this programme is run?
A list of numbers from 1 to 25
A list of numbers from 1 to 24
A list of numbers from 0 to 24
A list of numbers from 0 to 25
The number 1
What does a count controlled loop do?
Repeats a set amount of times
Repeats forever
Repeats until something happens
Prevents any form of repeat
What does a condition controlled loop do?
Repeats a set amount of times
Repeats forever
Repeats until something happens
Prevents any form of repeat
What does an infinite loop do?
Repeats a set amount of times
Repeats forever
Repeats until something happens
Prevents any form of repeat
What does the code ENDIF do in the IF statement?
This marks the beginning of an If Statement
This marks the end of an If Statement
What is happening in this program?
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.
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.
A program is going to give you one sweet for every right answer you enter on a quiz.
A program has 10 sweets and will give them to the first 10 people who finish this test.
When is the program going to stop taking away sweets?
When the variable 'numofsweets' reaches 0
When our stomachs are full.
They will always take away sweets.
When the variable 'numofsweets' reaches 10
What is the name of the variable in this program?
Sweets
numofsweets
NumOfSweets
EndWhile
What happens to the sweets in this program?
They get reduced by 2 with every loop of the While Loop
They go down to 0 straight away.
They get halved with every loop of the While Loop
They get reduced by 1 with every loop of the While Loop
What do the <> symbols mean?
Equals
Does not equal
Sets a variable to a value
Stops the program
Before the While Loop begins, what is the user's name set to?
Null
Speech marks
Emptiness
Zero
Is this statement true or false?
9 > 8
True
False
When boiling a kettle which of the following would be the input?
Hot Water
Cold Water
Heat
Which of the following is the 'process' when using a washing machine?
Setting the program
Washing the clothes
Clean fresh clothes
Internet Explorer, Firefox, Chrome, Opera, Safari and Dolphin are all types of software know as what?
Search Engine
Web Browser
Windows
Notepad
Which one of these Computer Components is sometimes called the ‘Brain’ of the computer?
Brain Box
Central Processing Unit
Graphics Processing Unit
Random Access Memory
What is an Algorithm?
Computer Memory
A Search Engine
A set of instructions or rules
The speed of Music
Why is it important that you carefully set your Privacy Settings on social networks like Facebook?
So that you can see lots of peoples profiles
To Control who can see your profile/personal information
So that it helps make facebook work faster on your computer
So that your mum cant see what your mates did at the weekend
Jarius has received a Tweet from someone he doesn’t know calling him horrible names, what should he do?
Send a nasty message back
Retweet the Tweet
Report the User
Threaten the user
What is ‘Hacking?’
Getting a computer to explode
Deleting lots of information from someone
Gaining unauthorised access to a computer system.
Making a computer turn on and off by itself
