Computer Science EngineeringHard
A universal Turing machine is able to
- A. simulate any other Turing machine given its description and input
- B. solve the halting problem
- C. accept only regular languages
- D. run in constant time
Correct answer: A. simulate any other Turing machine given its description and input
It reads an encoding of another machine and its input and simulates it step by step.
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
- Which computational model recognizes exactly the class of regular languages?
- Which compiler phase reads the character stream and groups it into tokens?
- How many states are in the minimal DFA over {a, b} that accepts exactly the strings ending in 'ab'?
- The regular expression (a+b) over the alphabet {a, b} denotes
- Context-free grammars correspond to which type in the Chomsky hierarchy?
- Which of the following languages over {a, b} is NOT regular?