What is the term for invoking a subroutine that does 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

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