NEW
Font size
WorksheetsYear 9 Programming Constructs
Total questions: 10
Worksheet time: 4mins
Which of the following data types is used to represent text in a program?
Integer
Float
Character
Boolean
Which of the following data types is used to represent whole numbers in a program?
Integer
Float
Character
Boolean
Which of the following data types is used to represent decimal numbers in a program?
Integer
Float
Character
Boolean
Which of the following data types will return a true or false value?
Integer
Float
Character
Boolean
Which of the following is the correct term for an IF statement
Iteration
Sequence
Branching Point
Selection Statement
Using the image above what is the term used for the code on the first line?
Function
Comment
Procedure
Doc String
How many items are in the Array on line 4?
1
2
3
4
How many stars will be printed using the code on line 3?
10
20
30
40
How many times will the Iteration loop if the user does not enter a 1,2 or 3?
Forever
Once
10 times
It wont work
How many lines will the code for the first choice variable create?
1
2
3
4
