Theory Of Computation MCQ

1:

 Consider an alternate Turing machine model, in which there is an input tape on which the tape head can move in both directions but cannot write, and one or more work tapes, one of which serves as an output tape. For a function f, denoted by DSpace ( f ) , the set of languages that can be recognized by a Turning machine of this type which uses no more than f(n) squares on any work tape for any input string of length n. The only restriction we need to make on f is that f(n) > 0 for every n. The language of balanced strings of parentheses are in

A.

DSpace (1+  ⌈log2 (n + 1 ⌉). (⌈ x  ⌉) means the smallest integer greater than or equal to x.

B.

DSpace (1+ ⌈logn⌉)

C.

DSpace ( 1+ ⌈ log2 n2⌉)

D.

none of these

 

Answer : A

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.