logo

Cambridge IGCSE Computer Science practice

Why is indentation important in nested statements?

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

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

P rogramming concepts

Exam-style question

Try this first

Why is indentation important in nested statements?.

  1. A.To save space
  2. B.To improve performance
  3. C.To enhance readability
  4. D.To avoid errors

Answer and explanation

Concise answer

To enhance readability

Why this is correct

Proper indentation helps to visually represent the structure of nested statements, making the code easier to understand.

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

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions