logo

AQA A-Level Computer Science practice

Which feature best demonstrates self-documenting code?

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

At a glance

MCQ

Type

practice

Style

Topic

Guide to non-exam assessment documentation

Exam-style question

Try this first

Which feature best demonstrates self-documenting code?.

  1. A.Using meaningful identifiers and well-structured code
  2. B.Adding comments to every line of code
  3. C.Using the shortest possible variable names
  4. D.Putting all code in one large section

Answer and explanation

Concise answer

Using meaningful identifiers and well-structured code

Why this is correct

Self-documenting code uses meaningful identifiers and a clear structure, reducing the number of comments needed to understand it.

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