Professional Documents
Culture Documents
TOA 2015 (Solved)
TOA 2015 (Solved)
Short Questions
Kleene's Theorem:
(i) RE or
(ii) FA or
(iii) TG
it may be noted that the theorem is proved by proving the following three parts.
(Q:-2)b
(a) (r1)
(b) r1r2
(d) r1*
(Q:-2)c
CNF:
A → BC, or
A → a, or
S → ε,
Advantage:
The key advantage is that in Chomsky Normal Form, every derivation of a string of n
letters has exactly 2n − 1 steps.
Thus: one can determine if a string is in the language by exhaustive search of all
derivations.
(Q:-2)d
Context Sensitive language:
In theoretical computer science, a context-sensitive language is a formal language that
can be defined by a context-sensitive grammar (and equivalently by a noncontracting
grammar). That is one of the four types of grammars in the Chomsky hierarchy.
Example:
One of the simplest context-sensitive, but not context-free languages is L = { anbncn : n>=
1 }: the language of all strings consisting of n occurrences of the symbol "a", then n "b"'s,
then n "c"'s (abc, aabbcc, aaabbbccc, etc.). A superset of this language, called the Bach
language, is defined as the set of all strings where "a", "b" and "c" (or any other set of
three symbols) occurs equally often (aabccb, baabcaccb, etc.) and is also context-
sensitive.
(Q:-2)e
Turing machine is more powerful than NPDA, NPDA is more powerful than DPDA, DPDA
is more powerful than FA. That is:
FA < DPDA < NPDA < TM
It means TM will accept or process more languages than NPDA, NPDA will accept more
languages than DPDA, DPDA will accept more languages than FA.So we can say that
TM will accept more languages than NPDA, DPDA and FA and TM is has more power
than others.