5
AssignmentMultiple Select

Unit Test

Question 5 • VA-Information Technology Fundamentals B

Which of the following is true of a procedure? Check all that apply.

Answer
A
It can be reused.
B
It saves programmers time.
C
It is a block of code that performs a single task.
D
It lets you exit a function.

Explanation

A procedure is a named block of code that performs a task, so C is true. Once written, it can be called again wherever that task is needed, making A true and saving programmers from rewriting the same code, which makes B true. Exiting a function is generally done with a return statement, not by using a procedure itself, so D is false.

AI-written and checked against the verified answer.

Previous
Next