Assignment 1 Automata
Assignment 1 Automata
Heg no : B021csENO500301
Date
Page
Asstgoment
DEA
Dra a DEA to accept 8triogs of a's
and bS hauing not more than three
's.
Ans
Trap State
Ja,b
Transstoo Taole
State b
Mubhar Aza elassMAte
Date
BUCSENO500301 Page
SCao)-9fa.23
Start State(a) qa
Bioa Stakes(e)=49
TransReitfon Table
State
Mubasheer Azam clAsSMAte
Date
BU21CSENOGo03OI Page
3.
Oraua DFA to aceept anguage
An
State
FA to RE
Convert the qiven Cioite Qtomata
in to relar expression
Ans
Sub e in eg O
4 4 t b +4Chtab)
+ R P
R=le Q- bP-b+ab
Solution,
4e-4b( b+ab)
>44atqb (baba
R RPtQ
R= q, e P : at b(btabaa
clAssMAte
Mubahr Azam Date
Page
BU2ICSENO50030|
q(aA b(b+ab)"aa)
REof F.A s Catb(btab)aa)
2) Convert the giuen Roite automata
(P.A) înto regular expresion(B.£)
Ans 4,0+
Sub ) in Q
R=R +Q
Sub to
BMubasher Azam elassMate
Date
Ans 9 =q,©+90
9.-9+9,1+9,lO
R= p* R RP+ Q
Sub in 8)
9,- (o+L(1+oDo) o*