Font size
WorksheetsWeek 7 Quiz
Total questions: 10
Worksheet time: 11mins
What is a variable used for?
Checking a condition
Holding information
Adding some text
Changing the code
Select as many types of variables as you know (use their correct name)
String
Word
Integer
Whole Number
Float
What is the correct definition of syntax?
The text editor to write code
The way we type so we can get the code written quickly
The rules we follow when we write code so the computer can understand
How long the computer thinks before it can write a new line of code
A mobile phone number (e.g. 0431717564) should be stored as a:
String
Float
Integer
Boolean
What is the difference between an integer and a float? Give an example of each.
Write the code to display "Happy Birthday" on the screen.
True or False: A boolean is a type of variable.
True
False
How is data presented in a digital system?
Text
Images
Binary
Audio
True or False: A vector image is used when needing to print a letterhead and a billboard.
True
False
Maybe
Convert 15 to Binary.
1111
1011
101111
11011
