GATE Prev Year : Theory of Computation Test-9
Attempt now to get your rank among 456 students!
Question 1
What is the set of reachable states for the input string 0011?
Question 2
(1) For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine.
(2) Turing recognizable languages are closed under union and complementation.
(3) Turing decidable languages are closed under intersection and complementation.
(4) Turing recognizable languages are closed under union and intersection.
Question 3
Question 4
Question 5
A push-down automation (pda) is given in the following extended notation of finite state diagram:
The nodes denote the states while the edges denote the moves of the pda. The edge labels are of form d, s/s' where d is the input symbol read and s, s' are the stack contents before and after the move. For example the edge labeled 1, s/1.s denotes the move from state q0 to q0 in which the input symbol 1 is read and pushed to the stack.
Introduce two edges with appropriate labels in the above diagram so that the resulting pda accepts the language {x2xR∣x∈{0,1}∗,xR denotes reverse of x}by empty stack.
Question 6
A push-down automation (pda) is given in the following extended notation of finite state diagram:
The nodes denote the states while the edges denote the moves of the pda. The edge labels are of form d, s/s' where d is the input symbol read and s, s' are the stack contents before and after the move. For example the edge labeled 1, s/1.s denotes the move from state q0 to q0 in which the input symbol 1 is read and pushed to the stack.
by given data can we design non-deterministic pda with three states in the above notation that accept the language {0n 1m|n ≤m ≤2n}by empty stack
- 456 attempts
- 2 upvotes
- 13 comments