Professional Documents
Culture Documents
Toa 14
Toa 14
Toa 14
b) Make clear difference between Determinism and Non-Determinism using suitable examples.
c) Make clear the difference between CFG, Regular Grammar and CNF.
d) Explain the difference between the terms Context Free and Context Sensitive.
e) Give two the smallest possible sets whose Kleene’s Closure will be same and prove it.
a) Give the Turing Machine accepting the language PALINDROME over ∑ = {a, b, c}.
OR
S⟶a|XbX|aYXaYc
X⟶Y|aX
d) Give an FA with OUTPUT (MOORE Machine) which can Increment one in any inputted binary string. For example; if
0000 is inputted it will output 0001 and when inputted 0011 output is 0100. HINT (it will add 1 in inputted binary
string).
e) Give the Context Free grammar for the Language EQUAL over ∑ = {b, a}.
f) Construct a PDA for the Language an bm where {m, n} ≥ 0 and m > n always.