What is an algorithm?, a) A specific type of variable, b) A set of loops that runs forever, c) A step-by-step set of instructions to solve a problem or complete a task, d) A visual object used in a program, What is the purpose of initialisation in an algorithm?, a) To debug a program, b) To execute a sub-routine, c) To set up variables or conditions at the start, d) To run a loop indefinitely, What is a count-controlled loop?, a) A loop that runs until the program stops, b) A loop that runs a specified number of times, c) A loop that is executed once, d) A loop with no defined end, What is a forever loop?, a) A loop that runs a specific number of times, b) A loop that only runs once, c) A loop that runs indefinitely until stopped by an external condition, d) A loop that calls a sub-routine, What does decomposition involve?, a) Combining multiple tasks into one large task, b) Running a loop indefinitely, c) Breaking down a complex task into simpler, smaller parts, d) Initializing variables, What is a sub-routine?, a) A command to start a loop, b) A section of code that runs indefinitely, c) A reusable section of code that performs a specific task within a program, d) A type of variable used in initialization, What is the definition of a sequence in programming?, a) A type of loop that runs a specific number of times, b) A step-by-step set of instructions to solve a problem, c) The order in which instructions in a program are executed, d) A sub-routine that is executed multiple times, What does it mean to call a sub-routine?, a) To debug a program, b) To create a new sub-routine, c) To execute a pre-defined section of code, d) To run a loop until an external condition is met

Leaderboard

Visual style

Options

Switch template

Continue editing: ?