Document From Er Shubham Marotkar ?
Document From Er Shubham Marotkar ?
Document From Er Shubham Marotkar ?
1. The transition a Push down automaton makes is additionally dependent upon the:
a) stack
b) input tape
c) terminals
d) none of the mentioned
3. With reference of a PDA, which among the following do we perform from the start state
with an empty stack?
a) process the whole string
b) end in final state
c) end with an empty stack
d) all of the mentioned
5. If the PDA does not stop on an accepting state and the stack is not empty, the string is:
a) rejected
b) goes into loop forever
c) both (a) and (b)
d) none of the mentioned
6. A language accepted by Deterministic Push down automata is closed under which of the
following?
a) Complement
b) Union
c) Both (a) and (b)
d) None of the mentioned
7. The instantaneous PDA is has the following elements
a) State
b) Unconsumed input
c) Stack content
d) All of the mentioned
10. Which of the following are the actions that operates on stack top?
a) Pushing
b) Popping
c) Replacing
d) All of the mentioned
11. A push down automata is said to be _________ if it has atmost one transition around all
configurations.
a) Finite
b) Non regular
c) Non-deterministic
d) Deterministic
23. The pumping lemma is often used to prove that a language is:
a) Context free
b) Regular
c) Not context free
d) None of the these
24. Which of the expressions correctly is an requirement of the pumping lemma for the
context free languages?
a) uvmw
b) uvmwm
c) uv2mw
d) All of the mentioned
25. Using pumping lemma, which of the following cannot be proved as ‘not a CFL’?
a) {aibici|i>=0}
b) {ss|s∈{a,b}*}
c) The set legal C programs
d) None of the mentioned
26. Which of the following cannot be filled in the blank below?
Statement: There are CFLs L1 and L2 so that ___________is not a CFL.
a) L1∩L2
b) L1′
c) L1*
d) None of the mentioned
a) We start by assuming the given language is context free and then we get
contradict
b) We first convert the given language into regular language and then apply
steps on
c) Both (a) and (b)
d) None of these