Computer Science for IGCSE & O level - Programming (Section 4 - No. 10)

In a pseudo-code program, what is the purpose of a PROCEDURE?
To return a value.
To group a set of statements to perform a specific task.
To declare variables.
To define a conditional statement.

Explanation

Procedures are used to organize code into reusable blocks that perform specific tasks, thus avoiding the need to write the same instructions multiple times.

Comments (0)

Advertisement