1.

Ifd is not defined on the current state and the current tape symbol, then the machine ______(a) does not halts(b) halts(c) goes into loop forever(d) none of the mentionedI have been asked this question by my college professor while I was bunking the class.This interesting question is from The Language of Turing Machine in section Introduction to Turing Machines of Automata Theory

Answer»

The correct answer is (B) halts

The explanation is: If we reach hA or hR, we say TM halts. Once it has halted, it cannot move further, sinced is not defined at any PAIR (hA,X) or (hR,X) where hA = accept halting STATE and hR = reject halting state.



Discussion

No Comment Found

Related InterviewSolutions