Which term describes reusable groups of steps that do not return a value?

Prepare for the IGCSE Algorithms and Pseudocode Exam. Study with comprehensive questions covering key algorithms and pseudocode techniques. Access hints and explanations to gear up for your exam success!

Multiple Choice

Which term describes reusable groups of steps that do not return a value?

Explanation:
This question is about reusable blocks of code that perform actions without giving back a value. A block like this is used to carry out a task—like printing a report or updating records—without computing and returning a result to the caller. That’s what makes it a procedure: it runs, possibly uses inputs, and changes things or has side effects, but it doesn’t produce a value to be used in an expression. If it were a function, it would return a value after performing its actions, which you could use in further calculations or decisions. Parameters are simply the inputs you pass to these blocks to influence what they do; they don’t define whether the block returns a value. Global variables are storage that any part of the program can access, not a block of steps. So the term that fits this description is procedures.

This question is about reusable blocks of code that perform actions without giving back a value. A block like this is used to carry out a task—like printing a report or updating records—without computing and returning a result to the caller. That’s what makes it a procedure: it runs, possibly uses inputs, and changes things or has side effects, but it doesn’t produce a value to be used in an expression.

If it were a function, it would return a value after performing its actions, which you could use in further calculations or decisions. Parameters are simply the inputs you pass to these blocks to influence what they do; they don’t define whether the block returns a value. Global variables are storage that any part of the program can access, not a block of steps.

So the term that fits this description is procedures.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy