logo

Cambridge IGCSE Computer Science practice

What is a parameter in the context of functions?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

P rogramming concepts

Exam-style question

Try this first

What is a parameter in the context of functions?.

  1. A.A variable that stores the function's output
  2. B.A variable that is passed into a function
  3. C.A type of local variable
  4. D.A global variable used in all functions

Answer and explanation

Concise answer

A variable that is passed into a function

Why this is correct

Parameters allow functions to accept input values, making them more versatile.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions