1
AssignmentMultiple Select

Unit Test

Question 1 • VA-Information Technology Fundamentals B

Which of the following correctly defines a procedure in computer programming? Choose all the apply.

Answer
A
a code block that performs a single task
B
a value that can be used anywhere in a code block
C
a code block programmers can reuse multiple times
D
data in code that is passed into a parameter

Explanation

A procedure is a block of code designed to carry out a task, so A is correct. Procedures can also be called repeatedly in different parts of a program, making them reusable, so C is correct. B describes something more like a variable, and D describes an argument passed to a parameter.

AI-written and checked against the verified answer.

Next