Tafl KCS 402 Cia-I 2019-20
Tafl KCS 402 Cia-I 2019-20
JSS MAHAVIDYAPEETHA
JSS ACADEMY OF TECHNICAL EDUCATION, NOIDA
DEPARTMENT OF INFORMATION TECHNOLOGY
CIA-I
AY 2019-20 (EVEN Semester)
Course : B.Tech. Date : 24-02-2020
Semester : IV Subject Code : KCS-301
Subject : Theory of Automata and Formal Languages Max. Marks : 30
Time : 9:30-10:30 AM
COURSE OUTCOMES
211.1 Design deterministic and nondeterministic automata and regular expressions for specified regular
languages
211.2 Convert among various notations for a regular language, such as DFAs, NFAs, and regular
expressions.
211.3 Design grammar and PDA for CFL and state and prove their equivalence.
211.4 Design TM to recognize language and compute functions.
211.5 State and prove properties of regular, context free, recursive and recursive enumerable
languages.
211.6 Explain the significance of the Universal Turing machine, Church-Turing thesis and concept
of Undecidability.
Q. Questions CO BL
No.
PART- A: Attempt All Questions (5x1 = 5 Marks)
1. How many substrings aab are in wwRw, where w = aabbab CO1 3
2. Give the language of the following DFA CO1 3
a b
→p* q r
q r p
r r r
3. Differentiate between DFA and NFA. CO2 2
4. Use extended transition function to show the result of giving string w = 0011 as input CO1 3
to the following finite automata
5. State the Myhill Nerode Theorem. What are its applications? CO5 2
a b
→q1(Final) q3 q2
q2 q4 q1
q3 q5 q4
q4 q4 q4
q5 (Final) q3 q2
9. Design a DFA for accepting binary numbers whose decimal equivalent is divisible by CO1 4,5
5.
11. a) Design ε −NFA for the language of strings consisting of either 01 repeated one or CO1 4,5
more times, or 010 repeated one or more times over alphabets Σ = {0, 1}.
b) Construct NFA without ε −transitions equivalent to the ε –NFA constructed above. CO2 3