TAFL 1st Sessional
TAFL 1st Sessional
TAFL 1st Sessional
Q1. Attempt all parts. All parts carry equal marks. Write answers for each part in short. (5*2=10)
SECTION- B
(a)(CO 1): Design a DFA that accepts a language L= { w | na(w) mod 3=0 & nb(w) mod 2=0; Σ=(a,b)*} K6
(b)(CO 1): Define a Deterministic Finite Automata and Design a DFA that accepts all strings for input
alphabet {a, b} not containing substring abb. K6
(c) (CO 1): Find ε-closure for given ε-NFA and convert into NFA. K5
→A A,B A
B C Φ
C D Φ
D C D
Q3. Attempt any four parts. (5*4=20)
(a)(CO 1): Design a DFA that accepts a binary number whose equivalent is divisible by 4. Σ= (0, 1)* K3
(b)(CO 1): Design a DFA for a Language that accepts a string ending with either aa or bb. Σ= (a, b)* K2
(c)(CO 1): Minimize given DFA K3
Mr.Shailendra Singh
Ms.Preeti Gupta
Ms.Neha Verma
(SUBJECT TEACHER) (MODERATOR)