Font size
WorksheetsYear 8 Review 2020-2021
Total questions: 87
Worksheet time: 44mins
What does the word 'variable' mean?
box
changeable
movable
random
What does a 'syntax' error message tell you might be wrong with your code?
I have typed something wrong or missed something out (e.g. commas, brackets, capital letters)
I have too much or not enough space at the stat of the line.
I have given a variable name incorrectly
I have tried to use the wrong type of data
What does a 'type' error message tell you might be wrong with your code?
I have typed something wrong or missed something out (e.g. commas, brackets, capital letters)
I have too much or not enough space at the stat of the line.
I have given a variable name incorrectly
I have tried to use the wrong type of data
What does a 'name' error message tell you might be wrong with your code?
I have typed something wrong or missed something out (e.g. commas, brackets, capital letters)
I have too much or not enough space at the stat of the line.
I have given a variable name incorrectly
I have tried to use the wrong type of data
What does a 'indentation' error message tell you might be wrong with your code?
I have typed something wrong or missed something out (e.g. commas, brackets, capital letters)
I have too much or not enough space at the stat of the line.
I have given a variable name incorrectly
I have tried to use the wrong type of data
Look at this problem:
Write a program that asks the user to input their age, height and weight.
Your program should calculate the user's body mass index.
Age is one variable we would need to use. Tick all the options below that we would need as variables for this program
shape
height
weight
first name
body mass index.
Look at this problem:
Write a program that asks the user to input the base and height of a triangle.
Your program should calculate the triangle's area.
Tick all the options below that we would need as variables for this program
triangle
height
shape
base
area
True or False?
Computers are intelligent.
True
False
True or False?
Computers work through a program one line of code at a time
True
False
True or False?
Computers use + just for adding numbers
True
False
True or False?
Computers use + for adding numbers or for joining text strings together
True
False
True or False?
Computers use x for multiplying numbers
True
False
True or False?
Computers use * for multiplying numbers
True
False
Look at the following code
firstname=input("Enter your firstname)
This will give a syntax error because:
there is a missing bracket
ther is a missing speech mark
it wont, it will work fine
the variable name is wrong
the command 'input' has been typed wrong
Look at the following code
firstname=Input("Enter your firstname")
This will give a syntax error because:
there is a missing bracket
ther is a missing speech mark
it wont, it will work fine
the variable name is wrong
the command 'input' has been typed wrong
Look at the following code
firstname=Input("Enter your firstname")
print fistname
This will give a name error because:
there is a missing bracket
there is a missing speech mark
it wont, it will work fine
the variable name is wrong
the command 'input' has been typed wrong
Look at the following code
length=(int(input("Enter a number")
print ("Your number was: ") + length
This will give a syntax error because:
there is a missing bracket
you can't join (concatenate) a string (str) and integer (int)
it wont, it will work fine
the variable name is wrong
the command 'input' has been typed wrong
Look at the following code
while True()
This will give an error because:
there is a missing bracket
you can't join (concatenate) a string (str) and integer (int)
it wont, it will work fine
the variable name is wrong
there should be a colon : after the word True()
In binary which of these digits is the same as 'on'
0
1
2
3
Whiich of these is not from a 2 bit instruction set
01
010
00
11
Which of these is not from a 3 digit binary instruction set?
001
011
111
11
Which of the following is the binary for 2?
1
11
10
100
which of these is the binary for 18
11000
10010
10101
10001
Whic of the following are Operating Sytems? You may tick more than one answer.
iOS
Windows 10
Linux
What does the operating system communicate with to pass instructions to the CPU, RAM and devices?
Sergeant
Colonel
Major
Kernel
The M in RAM stands for:
Multiply
Machine
Melons
Memory
The G in GUI stands for:
Graphics
Goats
Grids
Girls
Which of the following are input devices? You may tick more than one answer.
Keyboard
Display Screen
Headphones
Microphone
Mouse
Which of the following are outputs? you may tick more than one answer.
Camera
Printer
Mouse
Display Screen
Speakers
Which of the following would you use to change the turtles direction in edublocks?
Which of the following would you use to change the turtles pen colour in edublocks?
Which of the following would you use to change the turtles shape colour in edublocks?
Which of the following would you use to initialise the turtle in edublocks?
Which of the following blocks would you use to make a program loop forever?
Which of the following allows the programmer to define a set of instructions to the computer?
Which of the following would use the colour red in RGB format?
0, 0, 0
255,0,255
255, 255, 255
255, 0, 0
Which of the following would use the colour blue in RGB format?
0, 0, 0
0, 0, 255
255, 255, 255
255, 0, 0
Which of the following would use the colour black in RGB format?
0, 0, 0
0, 0, 255
255, 255, 255
255, 0, 0
What shape will the following code draw?
triangle
square
hexagon
decagon
Which of the following are carried out by the operating system?
Hardware checks
File System Management
Device Checks
User Interface
All of the Above
How many instructions can you have in a 2 bit instruction set?
1
2
4
8
How many instructions can you have in a 1 bit instruction set?
1
2
4
8
How many instructions can you have in a 3 bit instruction set?
1
2
4
8
How many bits are the in 1 byte?
1
2
4
8
16
How many bits are the in 1 byte?
1
2
4
8
16
How many bits make a nibble?
1
2
4
8
16
How many bits is 3 bytes?
8
16
24
48
A robot uses 120 instructions using a 2 bit instruction set. How many bytes of memory are needed to store the complete journey?
20 bytes
30 bytes
40 bytes
50 bytes
A robot uses 120 instructions using a 3 bit instruction set. How many bytes of memory are needed to store the complete journey?
45 bytes
35 bytes
40 bytes
50 bytes
Abstraction is about concentrating on the detail of a problem.
True
False
Abstraction is about removing unwanted detail from a problem.
True
False
Abstraction is about complex mathematical calculations
True
False
Connect the abstraction with real life action
Travel
bus, walk, train
salary paid in, cheque paid in, cash paid in
rent, shopping, insurance
Connect the abstraction with real life action
Outgoings
bus, walk, train
salary paid in, cheque paid in, cash paid in
rent, shopping, insurance
Connect the abstraction with real life action
Income
bus, walk, train
salary paid in, cheque paid in, cash paid in
rent, shopping, insurance
Connect the abstraction with real life action
Income
bus, walk, train
salary paid in, cheque paid in, cash paid in
rent, shopping, insurance
Variables are:
fixed values
changeable values
values that can change or stay the same
Does the following show learned behaviour?
A computer saves a file to a disk
Yes
No
Does the following show learned behaviour?
A website suggests purchases that you might like.
Yes
No
Does the following show learned behaviour?
A robot lawnmower avoids flower beds
Yes
No
Does the following show learned behaviour?
A spreadsheet calculates the total cost of items to be purchased
Yes
No
Does the following show learned behaviour?
An aircraft's autopilot guides an aeroplane to land in fog.
Yes
No
Does the following show learned behaviour?
A smart-phone can spell the unusual name of a friend.
Yes
No
Does the following show learned behaviour?
A spreadsheet fills in a cell with the same word you entered earlier.
Yes
No
Does the following show learned behaviour?
A computerised test asks follow-up questions based on what you got wrong.
Yes
No
Does the following show learned behaviour?
Traffic lights change their phasing times according to the ammount of traffic
Yes
No
Does the following show learned behaviour?
A washing machine runs a programme selected by the user.
Yes
No
