logo

AQA A-Level Computer Science practice

Which statement best describes the general task associated with the Halting problem?

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

At a glance

MCQ

Type

practice

Style

Topic

Classification of algorithms

Exam-style question

Try this first

Which statement best describes the general task associated with the Halting problem?.

  1. A.A program must determine whether one fixed program stops on one fixed input
  2. B.A program must determine whether any program stops for a particular input
  3. C.A programmer must remove every loop from a program before running it
  4. D.A programmer must count the number of instructions in a program

Answer and explanation

Concise answer

A program must determine whether any program stops for a particular input

Why this is correct

The problem is general: it asks whether any program will eventually stop when given particular input. It is not limited to one predetermined program and input.

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