No student devices needed. Know more
17 questions
A type of error that occurs when a rule of the programming language code is broken?
Syntax error
Logic error
Run-time error
Program error
Which data type would be used in Python to store the value of pi to 2 decimal places?
Integer
Float
Boolean
String
What is this a description of?
A named piece of storage used by a computer program that can change its value
Variable
Constant
Function
Parameter
In what way is a constant different from a variable?
It can not change its value during program execution
It can store more than one value
It can only be used in the global scope
Its name must be written in UPPER CASE
Use the correct order of operations to evaluate this expression ...
6 * 8 / 2 + (15 - 6) + 3 ^ 2
42
32
52
72
The process of giving a value to a variable?
Assignment
Initialisation
Coercion
Declaration
Choose all the recognised control structures in a computer program ...
Sequence
Selection
Iteration
Duplication
Example of ... ?
Selection
Repetition
Sequence
Iteration
Example of ...?
Conditional loop
Unconditional loop
Selection
Sequence
Odd one out ...?
Example of ...?
Sequence
Selection
Repetition
Recursion
Example of ...?
Nested loop
Nested selection
Recursion
Sequence
Example of ...?
Nested selection
Nested loop
Repetition
Iteration
Type of loop to use when the number of repetitions is known before the loop starts?
FOR ... loop
WHILE ... loop
FOR ... EACH ... loop
REPEAT ... UNTIL ...
A special type of loop that never ends?
Infinite loop
Recursive loop
Nested loop
Unconditional loop
Symbols used for entering comments in Python ...?
# This is a Python comment
''' This is a Python comment '''
// This is a Python comment
/* This is a Python comment */
An error in the way a program works where program can run but does not do what it is expected to do is called a ...
Logic error
Syntax error
Runtime error
Catastrophe
Explore all questions with a free account