What is the term for invoking a subroutine that does not return a value?

Enhance your understanding of IGCSE Algorithms and Pseudocode Foundations. Engage with flashcards and multiple-choice questions, each offering hints and explanations. Prepare thoroughly for your exam!

Multiple Choice

What is the term for invoking a subroutine that does not return a value?

Explanation:
Calling a procedure is the standard way to describe invoking a subroutine that doesn’t return a value. In programming, a function returns a value, whereas a procedure performs actions without yielding a result. The act of starting that subroutine is called a procedure call, i.e., you call the procedure. Other phrases are less conventional or imply a return value, so the most precise and widely used term is call procedure.

Calling a procedure is the standard way to describe invoking a subroutine that doesn’t return a value. In programming, a function returns a value, whereas a procedure performs actions without yielding a result. The act of starting that subroutine is called a procedure call, i.e., you call the procedure. Other phrases are less conventional or imply a return value, so the most precise and widely used term is call procedure.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy