Font size
WorksheetsYear 8 Master Quiz
Total questions: 107
Worksheet time: 1hrs 5mins
What do we use to identify and modify screen elements or widgets?
onEvent
dropdowns
properties
buttons
What will happen when this code is run?
'that's great' will appear in the console log
'that's great' will appear on the screen
'try again' will appear in the console log
'try again' will appear on the screen
Which programming language does AppLab use?
Java
Python
JavaScript
C++
Two rules for naming elements or components of your app:
Start with a capital letter
Use a widget identifier such as btn or scr to help you know which element does what
Always leave a space between words
Use camel case for multiple words
Logic errors are ......
(2 answers)
When the computer returns an error message of some kind that is a clue about what it can't understand
When the program runs but doesn't do what you think it should
Situations where no error message is displayed, the output is either not what you expect or nothing happens
things misspelled or written in such a way the computer doesn't understand what you're trying to say
A variable ............
3 answers
starts with a lower case letter
can change during the running of the program
is a container for storing a value
is fixed for the duration of the program
A syntax error
2 answers
is an error in the coding language which prevents the program from running
could be caused by misspelling the name of a variable or element
could be caused by using the wrong operator to calculate an answer
could be caused by entering incorrect data into a variable
This code was set up to add 1 point to score every time a widget called 'hitGold' was clicked. What is missing from line 4?
score = 1
score = +1
score = score + 1
score + 1
In a bitmap graphic each pixel is represented in _______
Denary
Binary
Hexadecimal
By letters
How many bits per pixel do you need to make 4 colours?
colour depth of 1
colour depth of 2
colour depth of 3
colour depth of 4
What is the colour depth of the image?
colour depth of 1
colour depth of 2
colour depth of 4
colour depth of 16
A Byte consists of this many bits
2
4
8
16
A 1-bit image has this many colours
2
4
8
16
Which is larger?
Bit
Byte
Which unit of data is biggest?
Megabyte
Gigabyte
Kilobyte
Terabyte
ASCII is used to
Represent an image
Give a binary code to a pixel
Give a binary code to a character
Calculate the size of a text file
A USB Flash drive would most likely be measured in which unit of data?
Megabytes
Kilobytes
Gigabytes
Petabytes
Binary is the language (a) use to communicate. They only use 1s and 0s.
(b) use 1's,10s,100s,1000s. This is called base 10. Computers use base 2 as they only (c) two numbers. 1 for (d) and 0 for (e)
Select the number that is shown in image
50
60
70
80
Put the binary Numbers in order from smallest to largest.
0001
0010
0011
0100
0101
What is 0001 in denary (base 10)?
(a)
HINT: It has an 8 and a 4 in it!
What is the decimal equivalent of the binary number 1010?
2
5
8
10
What is the binary representation of the decimal number 7?
0011
0111
1010
1110
What is the decimal equivalent of the binary number 1111?
7
8
9
15
What is the binary representation of the decimal number 20
10100
11010
11100
11110
0010
2
0100
4
1000
8
1010
10
0001
1
Base 10
Decimal
Base 2
Binary
Binary
0 and 1
Denary
0,1,2,3,4,5,6,7,8,9
1111
15
Binary uses electrical signals
True
False
Each 1 and 0 represented in binary is called a bit
True
False
numbers humans use in every day life
Denary
numbers computers use
Binary
Off
0
On
1
The number of lines drawn in each case, assuming that the turtle module has been imported:
Case 1:
for i in range(0,10):
turtle.forward(100)
turtle.left(90)
Case 2:
for i in range(1,10):
turtle.forward(100)
turtle.left(90)
10,9
9,10
9,9
10,10
Fill in the blank such that the following Python code results in the formation of an inverted, equilateral triangle.
import turtle
t=turtle.Pen()
for i in range(0,3):
t.forward(150)
t.right(_____)
-60
120
-120
60
What will be the output shape of the following Python code?
import turtle
t=turtle.Pen()
for i in range(1,4):
t.forward(60)
t.left(90)
Rectangle
Trapezium
Triangle
Square
The correct syntax for creating a turtle is
Turtle = turtle
house = tutle.Turtle()
house = turtle-Turtle()
house = turtle.Turtle()
How do we create variables in python?
Var ==1
Var != 1
Var = 1
Var ;= 1
How do we print a statement in python?
print_(x)
print.x
print.(x)
print(x)
What will be the output for the following program
x = 'apple'
print(x)
X
x
print(X)
apple
There is an error on this piece of code, what is the correct statement?
screen.bgcolor("lightblue")
screen.bgcolor="lightblue")
screen.bgcolour("lightblue")
screen.bgcolor=lightblue()
What is the correct syntax for the for loop in python turtle?
for i in range()
for i in range()::
for i in range
for i in range():
What is the correct syntax for the for loop in python turtle?
for i in range()
for i in range()::
for i in range
for i in range():
What is a network?
A single computer that is not connected to any other.
Two or more computers that are connected together by cables or Wi-Fi.
Lots of computers in one place
What is a client?
A client is any computer in a network.
A client is a single computer that is not connected to any other.
A client is the central hub in a network.
What is a server?
A server is any computer in a network.
A server is a powerful computer that acts as a central hub in a network.
A server is a single computer that is not connected to any other.
Which of these would be a benefit of having a network?
Preventing any viruses spreading from computer to computer.
Sharing hardware, software and data.
Preventing computers from being hacked.
Which of these is a problem that could occur with a network?
A virus spreading from computer to computer.
Sharing software and data.
Sharing hardware.
What is a computer called when it is not connected to a network?
A client.
A server.
A standalone.
What is a local area network?
Computers or devices that are connected over a large geographic area.
Computers or devices that are not connected together.
Computers or devices that are connected over a small geographic area.
What is an example of a local area network?
A school network.
The internet.
A standalone.
What is a wide area network?
Computers or devices that are connected over a small geographic area.
Computers or devices that are connected over a large geographic area.
Computers or devices that are not connected together.
What is an example of a wide area network?
A home network.
A standalone.
The internet.
What is a network?
A group of 1 or more devices which communicate
A group of 2 or more devices which communicate
When 2 or more computers are in the same building.
A group of 3 or more devices which communicate
Hospitals, banks and supermarkets are all linked using which network type?
WAN
LAN
BUS
WiFi
What is the fastest type of network connection?
Ethernet
Mobile data
Fibre optics
Wi-fi
How far can Wi-fi reach?
Around 50 meters
Around 70 meters
Around 20 meters
Around 100 meters
Which of these is not a wireless connection?
Bluetooth
4G
Wi-fi
Ethernet
Which is faster, a Wired or wireless connection?
Wired
Wireless
Both are the same speed
Which of these is an disadvantage of a Bus network?
Expensive
Needs extra hardware
Slow
What are networks used for?
to access the internet
To connect devices to each other
Which of the following is showing part of Arcade coding platform?
Which is the code where you can create/draw your own sprite?
What does this code do to sprite? (select all correct)
Moves up and down
Moves left and right
Shoots projectiles
Changes background
Where can you find codes for Life, Countdown, Score ?
Info
Variables
Game
Controller
Which code is missing from picture that makes sure you always see your sprite?
Where do you find code for Game over?
Sprites
Info
Logic
Game
Code < pick random () to () > code is in (a) .
What is this tool called?
Quick Selection Tool
Rectangular Marquee Tool
Spot healing brush tool
Move Tool
What is the keyboard command to COPY and image?
CTRL + S
CTRL + A
CTRL + V
CTRL + C
What is the keyboard command to PASTE an image?
CTRL + Z
CTRL + P
CTRL + V
CTRL + C
"Marching ants" in your image indicate what?
a selected area
a hidden layer
an area that needs to be saved
you spilled food on your monitor
How can you temporarily make a layer invisible?
delete the layer
use the magic wand tool to select it
click on the eye icon in front of the layer
layers are always visible
The keyboard shortcuts for zooming in and out in Photoshop are
Ctrl + S and Ctrl + V
Ctrl + Space Bar
Ctrl + and Ctrl -
Ctrl + Z and Alt + Z
The pink arrow is pointing to which Photoshop tool?
Save tool
Move tool
Eyedropper tool
Crop tool
This is the Hue/Saturation icon, it is used to adjust what?
the colour of a selected area
the position of a image
the size of an image
the order of the images
