logo

AQA A-Level Computer Science practice

A subroutine validates input and does not perform any other task. Which characteristic does this most directly demonstrate?

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

At a glance

MCQ

Type

practice

Style

Topic

Marking criteria

Exam-style question

Try this first

A subroutine validates input and does not perform any other task. Which characteristic does this most directly demonstrate?.

  1. A.Cohesive module
  2. B.Global variable use
  3. C.Managed casting of types
  4. D.File path parameterisation

Answer and explanation

Concise answer

Cohesive module

Why this is correct

A cohesive module does just one thing. A subroutine dedicated to input validation is therefore cohesive.

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