Font size
WorksheetsProgramming terminology
Total questions: 15
Worksheet time: 8mins
Which of these data types can store numerical data?
Real
Integer
Char
Boolean
Which of these data types can store more than two possible values
Integer
Boolean
String
Real
"Assignment" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
"Declaration" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
"Iteration" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
"Selection" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
A loop within a loop is...
Definite iteration
Indefinite iteration
Nested iteration
Reverse Polish iteration
Using "meaningful identifiers" means...
Giving variables and subroutines sensible names
Giving variables the correct data type
Correct use of conditions in loops
Which of these are arithmetic operations?
Addition
Concatenation
Integer division
Substring
Random number generation
Which of these are string handling operations?
Addition
Concatenation
Integer division
Substring
Random number generation
Which of these are Boolean operations?
0
AND
1
NOT
Multiplication
Which of these are Relational operations?
<
=
>=
<>
<
What is the term for a named block of code that can be executed by writing its name.
Subroutine
Condition
Selection
Some subroutines produce a result that is sent back to where they were called from. What is this value called?
Return value
Final value
Parameter
Variable
Local variables...
...only exist while their subroutine is executing
...are only accessible in the subroutine in which they are declared
...can only be of the 'integer' data type
...can be used from anywhere in a program
