NEW
Font size
WorksheetsPython - Year 8
Total questions: 10
Worksheet time: 5mins
Q1 - What is a variable?
A loop.
A storage location for values.
A IF Statement.
A function
What is a function?
An IF statement.
A for loop.
A piece of re-usable code.
Changing a variables data type.
Who coined the phrase debugging?
Alan Turing
Ada Lovelace
Charles Babbage
Admiral Grace Hopper
What colour should string be?
"Hello Word"
Green
Blue
Purple
Orange
Which is the correct way to name a variable?
my name
MYNAME
my____Name
myName
Find the Error within this code snippet
Missing Bracket
Missing Speech Mark
Capital Letters for Function Name
Spelling Mistake
Find the Error within this code snippet
Missing Brackets
Missing Speech Marks
Capital Letters for Function Name
Spelling Mistakes
How many errors are in this code snippet?
1
2
3
4
What does INT stand for in Python
Float (Decimal Numbers)
String (Text)
Boolean (True/False)
Integer (Whole Numbers)
What will be the output of print ("Theo_is_awesome")
Theo sucks.
theo_is_awesome
Theo is awesome
Theo_is_awesome
