Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which among the following is/are correct statement/statements ?

(i) A class of problems with two outputs "yes" or "no" is said to be decidable (solvable) if there exists some definite algorithm which always terminates (halts) with one of two outputs "yes" or "no". Otherwise, the class of problems is said to be undecidable.
(ii) A decision problem is a problem that requires a yes or no answer.
(iii) Undecidable problem can be solved by a computer or a computer program of any kind.

  • A.(i) and (ii) only
  • B.(i) and (iii) only
  • C.(ii) and (iii) only
  • D.(i), (ii) and (iii) only

Answer: A

The correct statements are (i) and (ii) only.

A decision problem is one whose answer is yes or no (ii). It is decidable if some algorithm always halts with the correct yes or no answer for every input, and undecidable otherwise (i).

Statement (iii) contradicts the definition: an undecidable problem, such as the halting problem, cannot be solved by any computer program in general. So options including (iii) are wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.