Back to quiz

6. What is definite iteration?

  • Something that runs a certain number of times
  • Something that is run repeatedly
  • Something that runs until a condition is met
  • Something that runs when it is called without returning a value

7. What is indefinite iteration?

  • Something that is run repeatedly
  • Something that runs when it is called without returning a value
  • Something that runs until a condition is met
  • Something that runs a certain number of times

8. What is iteration?

  • A mail protocol
  • Repetition of something
  • A changing variable
  • Limited repeats of a function

9. What is selection?

  • A boolean
  • Something that is run when a condition is met
  • Something that returns an answer
  • Something that is run repeatedly

10. What is a subroutine?

  • A block of code that can be called upon to run
  • A block of code that can be reassigned
  • A block of code that makes it easier to copy code
  • A block of code that corresponds to a constant

11. What is a variable?

  • Something that stores functions
  • Something that stores information
  • Something that stores numbers only
  • Something that stores characters only

12. What is a Boolean?

  • A variable declaration
  • True/False
  • A reference
  • A word

13. What is nested iteration?

  • A selection operation within a selection operation
  • A recursion operation within a recursion operation
  • A loop operation within a loop operation
  • An instantiation operation within an instantiation operation

14. What is the advantage of using meaningful identifier names on variables?

  • Makes the code more readable and easier to debug
  • Makes the code more readable and runs much more efficiently
  • Makes the code shorter
  • Makes the code more interesting to read

15. What is a class?

  • A block of code that recalls itself and passes parameters to itself
  • An object with common characteristics or behaviours that can be assigned
  • A global variable
  • An object with constants and recursive objects that can be assigned

16. What is nested selection?

  • A selection operation within a selection operation
  • An instantiation operation within an instantiation operation
  • A recursion operation within a recursion operation
  • A global selection algorithm

17. What is a procedure?

  • Something that runs when a condition is met
  • Something that runs when it is called and returns a value
  • Something that runs when it is called without returning a value
  • Something that is run repeatedly

18. What is OOP (Object Oriented Programming)?

  • A computer programming model that organises design around data in global objects
  • A computer programming model that organises design around data in classes and objects
  • A computer programming model that organises design around data in indefinite iteration
  • A computer programming model that organises design around data in logic and functions

19. What is the advantage of coding for exception handling?

  • Makes it easier to read the code
  • Makes the code easier to debug
  • Stops the code from crashing when something unexpected occurs
  • Makes the code run more efficiently

20. What is a float (real) ?

  • A date/time
  • A decimal
  • A pointer
  • A single character