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

Discussion

Which one of the following is not decidable ?

  • A.Given a Turing machine M, a string S and an integer K, M accepts S with K step S
  • B.Equivalence of two given Turing machines
  • C.Language accepted by a given DFSA is non-empty
  • D.Language generated by a CFG is non-empty

Answer: B

The problem that is not decidable is the equivalence of two given Turing machines.

Whether two Turing machines accept the same language is undecidable; if it were decidable, we could decide whether a machine accepts the empty language by comparing it with a machine that rejects everything, which contradicts Rice's theorem.

The others are decidable: whether M accepts S within K steps is settled by simulating M for K steps; emptiness of a DFA's language is checked by searching for a path from the start state to an accepting state; and emptiness of a CFG's language is checked by finding whether the start symbol can derive a terminal string.

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

Post your comment

Please log in or register to post a comment.