Tutorial - Minimization of DFA States
Tutorial - Minimization of DFA States
δ 0 1
A B A
B A C
C D B
*D D A
E D F
F G E
G F G
H G D
Ans: A≡G, B≡F, C≡E.
δ 0 1
A B E
B C F
*C D H
D E H
E F I
*F G B
G H B
H I C
*I A E
Ans: A≡D≡G, B≡E≡H, C≡F≡I.
Ans: RE is ((a+b)(a+b))*
Ans: RE is (Ɛ+a+b)3
Ans: RE is (1+01)*(Ɛ+0+1*)
(v) Strings of a’s and b’s whose second symbol from right is a.
(vi) Strings of a’s and b’s whose length is either even or multiples of 3 or both.
(vii) Strings of a’s and b’s of the form anbm : m+n is even
(viii) Strings of a’s and b’s containing not more than three a’s.
(ix) Strings of a’s and b’s of the form anbm : n≥4, m≤3
Ans: RE is (b*ab*ab*ab*)