13
AssignmentMultiple Choice

Functions, Procedures, Arguments and Parameters

Question 13 • Introduction to Information Technology - EL3701

What is a special type of variable used in subroutines that refers to a piece of data?

Answer
A
a parameter
B
a constant
C
a function
D
a routine

Explanation

A parameter is a variable used by a subroutine to refer to data that is passed to it. A constant has a fixed value, while a function or routine is a set of instructions rather than a variable. So the correct choice is a parameter.

AI-written and checked against the verified answer.

Previous
Next