logo

AQA A-Level Computer Science practice

Which of the following is a property of a first-class object or value?

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

At a glance

MCQ

Type

practice

Style

Topic

Functional programming paradigm

Exam-style question

Try this first

Which of the following is a property of a first-class object or value?.

  1. A.It may be assigned to a variable
  2. B.It must be a character
  3. C.It can never appear in an expression
  4. D.It must be returned by every function call

Answer and explanation

Concise answer

It must be a character

Why this is correct

First-class objects or values may be assigned to variables. They may also appear in expressions, be assigned as arguments and be returned in function calls.

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

No flashcards are published for this page yet.

Related practice questions