logo

AQA A-Level Computer Science practice

A student says, 'A value is first-class only if it is a function.' Assess this statement using the specification requirement and give relevant examples.

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

At a glance

Question

Type

practice

Style

Topic

Functional programming paradigm

Exam-style question

Try this first

A student says, 'A value is first-class only if it is a function.' Assess this statement using the specification requirement and give relevant examples.

Answer and explanation

Concise answer

The statement is incorrect.

Why this is correct

The answer must reject the claim that only functions can be first-class. It should use the listed properties of first-class objects and include examples from the specification.

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