Oxford, Cambridge and RSA (OCR) GCSE Computer Science Paper 2 Practice

Question: 1 / 400

What are the actual values that parameters take when a subprogram is called?

Arguments

The term that refers to the actual values that parameters take when a subprogram is called is "arguments." In programming, when a function or subprogram is invoked, the values provided to it, which match the parameters defined in the function’s declaration, are known as arguments. This distinction is essential in understanding how data is passed into functions, as parameters define the expected types and number of arguments, while the arguments themselves are the specific inputs provided during the call.

Parameters serve as placeholders in the function definition, specifying what kind of information will be accepted, but it is the arguments that contain the real values used during execution. Constants and inputs, while potentially related concepts in programming, do not accurately describe the specific values passed to a subprogram in this context. Constants refer to fixed values that do not change, and inputs can refer to various forms of entry data but do not specifically denote the values given to parameters at the calling point of a subprogram.

Get further explanation with Examzify DeepDiveBeta

Parameters

Constants

Inputs

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy