logo

AQA A-Level Computer Science practice

Which statement about exception handling is correct?

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

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

Which statement about exception handling is correct?.

  1. A.It can provide a planned response when an exceptional condition occurs
  2. B.It guarantees that a program contains no errors
  3. C.It means that all input is automatically correct
  4. D.It prevents a program from executing any statements

Answer and explanation

Concise answer

It can provide a planned response when an exceptional condition occurs

Why this is correct

Exception handling does not guarantee that a program is error-free. It provides a way to respond to certain problems that occur during execution.

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