1.

Let A and B be finite alphabets and let # be a symbol outside both A and B. Let f be a total function from A* to B*. We say f is computable if there exists a Turing machine M which given an input x in A*. always halts with f(x) on its tape. Let Lf denote the language {x # f(x) |x ∈ A*}. Which of the following statements is true:

A. f is computable if and only if Lf is recursive.
B. f is computable if and only if Lf is recursively enumerable.
C. If f is computable then Lf is recursive. But not conversely.
D. If f is computable then Lf is recursively enumerable, but not conversely.
Answer» B. f is computable if and only if Lf is recursively enumerable.


Discussion

No Comment Found

Related MCQs