1.

A function f is called __________ if there exists a TM T so that for any n and any input string of length n, T halts in exactly f(n) moves.(a) Step function(b) Step counting function(c) Inplace functions(d) None of the mentionedI had been asked this question in an online interview.Question is taken from Class RP and ZPP,Complexity in division Other Classes Of Problems of Automata Theory

Answer»

Correct ANSWER is (b) Step counting FUNCTION

Easiest explanation: If f is a step counting function, T is a TM HALTING in f(n) MOVES where n is the length of input STRING.



Discussion

No Comment Found

Related InterviewSolutions