FAFL Pyqs
FAFL Pyqs
Note: Answer any FIVE full questions, choosing at least ONE question from each MODULE.
Module – 1
Define the following with example. i). Alphabet ii). Power of an alphabet.
(a) 5
iii). Concatenation iv). Language
Define DFSM. Draw a DFSM to accepts
i) decimal strings which are divisible by three.
(b) 10
Q.1 ii) L = {w / w ∈ {a,b}* is the string with even no. of a’s and odd no. of b’s}
iii) L ={w/ w ∈ {a,b}* is the string of a’s and b’s and end with the sub string abb}
(c) With a neat diagram, explain a hierarchy of language classes in Automata Theory 5
OR
ε a b c
(a) p {q, r} Φ {q} {r} 8
q Φ {p} {r} {p, q}
*r Φ Φ Φ Φ
0 1
→A B A
B A C
(c) C D B 8
*D D A
E D F
F G E
G F G
H G D
Module – 2
(a) Define Regular expression. Write RE for the following Languages 8
i) L = {a 2n b 2m | n>=0, m>=0}
ii) L = {w : |w| mod 3 = 0 where w ∈ {a,b}*}
iii) Language of all strings of 0's and l's that has at least one pair of consecutive 0's
Q.3
(b) State and prove the Pumping Lemma Theorem for Regular languages. 8
Table showing the Bloom’s Taxonomy Level, Course Outcome and Programme
Outcome
Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
Module – 1
Define the following terms with examples: Alphabet, Power of an alphabet, String,
(a) 10
Concatenation and Languages.
Q.1 Define DFSM. Design a DFSM to accept each of the following languages:
(b) i) L= {wϵ{0,1}* : w has 001 as a substring} 10
ii) L={ wϵ{0,1}* : w has even number of a’s and even number of b’s}
OR
Q.8 Design a Turing machine to accept L={0n1n2n| n>=0}. Draw the transition diagram. 12
(b)
Show the moves made for string aabbcc.
Module – 5
(a) Explain post correspondence problem. 7
Explain Halting problem in Turing machine. 6
(b)
Q.9 (c) Explain recursively enumerable language. 7
OR
(a) Explain Church Turing thesis. 7
(b) Explain Quantum computer. 6
Q.10 Explain Growth rate of function. 7
(c)
18CS54
Table showing the Bloom’s Taxonomy Level, Course Outcome and Programme
Outcome