CS and IT GATE 2014 Set-2 Questions with Answer

Ques 53 Theory of Computation


Let < M > be the encoding of a Turing machine as a string over ∑ = {0, 1}. Let L = {< M > | M is a Turing machine that accepts a string of length 2014}. Then, L is

A

decidable and recursively enumerable

B

undecidable but recursively enumerable

C

undecidable and not recursively enumerable

D

decidable but not recursively enumerable



Ques 54 Theory of Computation


Let L1 = {w ∈ {0, 1}∗ | w has at least as many occurrences of (110)'s as (011)'s}. Let L2 = {w ∈ {0, 1}∗ | w has at least as many occurrences of (000)'s as (111)'s}. Which one of the following is TRUE?

A

L1 is regular but not L2

B

L2 is regular but not L1

C

Both L1 and L2 are regular

D

Neither L1 nor L2 are regular



Unique Visitor Count

Total Unique Visitors

Loading......