Computer Science EngineeringVery hard
Rice's theorem states that every non-trivial property of which of the following, for a Turing machine, is undecidable?
- A. The number of states
- B. The tape alphabet size
- C. The machine's name
- D. The language it accepts
Correct answer: D. The language it accepts
Rice's theorem applies to semantic properties, i.e. properties of the language the machine recognizes.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- For the grammar S -> AB, A -> a | epsilon, B -> b, what is FIRST(S)?
- How many LR(0) items does the production A -> XYZ generate?
- How many tokens are there in the C statement: int a = b + 2;
- A complete DFA has 6 states, of which 2 are accepting. The DFA for the complement language, obtained by swapping accepting and…
- The minimal DFA over {0, 1} for strings having an even number of 0s and an even number of 1s has how many states?
- Which class of languages is recognized by linear bounded automata?