logo

Question detail

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

Try the question, check the answer, then read the explanation to understand the curriculum point.

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

Model answer

What a good answer should say

  • Cohesive module

Explanation

Why this works

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

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.