0% found this document useful (0 votes)
19 views21 pages

Toc Assignment 2

Uploaded by

vocojo5037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views21 pages

Toc Assignment 2

Uploaded by

vocojo5037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PAGE NO

DATE

Assfqnment -A

uehu n a wide Uadety o tet


paocng tak ond
pRDUng whuA
memud
qnealy
dato nnt
sting
te teotual

|(ommon abpllcation ndude


Data Naldatien
Data Srapiny
Data wTanging
-smple þautng
The pabduton o} Sqntai thgh Yahhing.
Systans

QRuld an Rt uem kolouwlng Pnt Stot


Mauhne.

Step |3 Add a statt betore btaut stad

|betaue statt u also nal atat

|Step 2 (hetk uohethey thew Ps ony


Stat,Ph not add a stot
PAGE HO
DATE

Eliminat Btot 3
aab

Eliminatu llPb

hatbtaob)
(ate) >6limnct stat 2

EPob+ aa a b)

RemDw A.

RE =) ab+aa at b) "(a+E)

bb
PAGE NO
DATE

R-f =Xatbb) (b*a)

6imnPnati

()
Elfmanah q Eimnot

R-E(o1+1o)

blaub)b)

i) ab(a+ b) *
PAGE HO

atb) *
fu)(atb)* a a

a+b)*

(aa)

Iatb)* Qa latb)
PAGE NO
DATE

LnduRrqustabl
&
4Deyene distnquiahablo
FA
Stay. minîmu the kollowing
b
A B
A C

DFA A B,C1 D,E;5,6,H


stup a:Bansiten daqran.

G
H4
A B C D
(PAGEHO
DATEL

B
X X

X
X
X
H
B P G D

foY eah pain


(,
a)=
and
,0
R)
het eauh a beleng
(Pa) =s. If pau
to&, Pind 6
g dis tqiirable
s) aleady maukua
habu 4
then þain (p, 9) also dutirouis

mok as,X:
(B, G) E,)
(ByA)
KAD)
CAE)
(B,
(B, H)
)(E G)

A) (B, C)EG)
A, 6) (B,G) (F,E)
A,t) (») (E, )
Bt)
UB,D)

JB,6)
CG,

(G,6)
H)v (C 6)
B,) (G)
DE) (C, ) (G,6)
(c,G)(G, E)
DiH) Gl(Gc)
CC,
PAGE NO:
DATE:

(E,G)H;6)
EH) b)
G)GE
FG)Ca,
CH,

E,H)lC,G)CGi)
a,)CG,G)xe,)
BX

XX
FXXX
GXX X
HX
A
XX
CD B
X
P G

state whch aHe not mahed.


8a
A6)B,) (E,)
/8, ) (G)()
lD,P)CG)cG,G)
e,E)(H,)Pb
pau (A€) (B,H)(D,P)
Indit tinguuhable_
atadihable oae(G a)
Minimnihg DEA
stapl: Dintnguikhable pag > (C6
Thdistinquiuhable (A,E) (6,H) (D,f)
Sup 2; Th stotis_o minimind DH
(A) (6,H), (08,(DE,(G)
Shp 3_Lambute Tranibon diaqa
PAGE NO:

DATE

b
(D,E)
lCA,€)(B,H)
B,H) C
(Aj5)
D,F) G
GL
CA,E)

A,E

(B,H)
O
>A
B A C
D B
A
D P

G
P
D
B
D X X X
X
X
G X
X
DE
D F G
PAGE NO :
DATE :

(A,B) B,A)CA,)
A, ) (BD)A,B)
A,E) (BD) (A
(B,G) (A)E
(A,G) (B,F) (A 0)
A, H) (B,6) (A, D)

(A, D Ce, B)
JB,E) CA, D)f)
B, (A,G)
(B,) CC6)
CC, D)
C8,F)
ti) D,6) (BE)
(B,6)

(D, G) (E,6)
5)
E,G) (D) ( )
JE, H)
I(,6) (G)) (E,6)
CGG) (E,D)
(G,D)
BIX
CXX
XX X
XX
X X XX
HX A
X
X
X
X
PAGE NO:
DATE

6
PA, B) (B,)(A,)
B,
YA)8,6)tA6)
A,) (B,F)
(8,)(A,G) (c,E)
B,) CA,)
C,€) (B,F)
t,5) (GF) (E, )
tnd?stingishable paiy' (A,G) BF) (,
E)

Dùs ting wuhable


paw (D,H)
Miniming DPA
Staty ol mimùmied DEA> (A,),B,Ð,(C,E),D,
6
S(A,6) (B,f) (A,Gb)
(B,E)
CA (CE)
(CE) (B)
Aa (A16)
(A,6) D

- A
PAGE NO
DATE

Gontruut the lanquaqe Pot ollowtng


|qramman
Saa
CaCalb A4.
S Ca
5aaCaa
a
aaaCaaa
Saaaabaaa
adaaCaaa

d taba n9 a

1Obtaln qramman
AAn=0 anta m n04m to
for
(bwng
>n4
anguag:

m>| m
m>3
LEaabb* aaabbb* daaabbb

S aAb
AaAbab
B5bB|e
m)oglh5i204)20y
S>A|B
S>
A
0SI
0Ao
B 1BI

-S asb lbs a

SS
PAGE NO :
DATE

al pal ndueme
vSet o, au
nd

S>alb
S>asalbsb
b(w)y
H:wlDa (w)>n
A>aAbAa
A >b
A>AA
BalaB atteat to gna ne

etra a

S>BA
AB
S
S5 A BA

n O, m>o y
for
ck=abmek+2m=k
a"bmcnt 2m
a'bmcDcam
2m
ancnbmc
S AB
A> BlaAc
Bb Bcc
with no m than 3 as
vi)Set o al stireA

V))st o os 4 'a hauing subs ti r9 00


S Aoo oA
AElOA|A
PAGEHO
DATE

:
da, ab,asb2-y
SSaagf
AElaAb
O12

BE|B 2B28
226
2.2

8. Deline Po,e Tse Frplain th tyþe paxe


|ie wtth etamp
det 61= (V,7,P,s) be Cordet e gamraa.

delfned uoPth foloutng propenty


|Tha toot has lobel s

)l922 (ter ha label whfoh in (vuTU)


Bah lea mode has abel sem and an
Lrteos Bees has label om T

V.
Sv) detel abelled A and ib ,X n
OHe at childoen b} A kem letthon A>Xb
Xn must be roduibn Pn p"
Tubeso Dertvatign
1del DestvatRen
most
R- Rioht most Dertvaten
•elt most Doivaten At eah ste rplacing

|bodiessuuh desioalory es
Repusented by usra melati e2 callka dalt

folmau
mostDehyc
tLmeu st
PAGE HO
DATE

idt E

hbie
AesloaiM At eah &tep,
RRa ht most
fos meu s tee
se the
and

6E+E
EtE*E

fd t id*id.
iut the Ytublly
Cenkext Jue quamrd)
9.hat À
e_belou g7ammak bSboS€,
A>aA >abC9S5aSa gS
s500SIIf, F DOF
HnhowHS) tubles et qundul donotad k)
Vis q BaHlablu
lG=(VP, uthaH het

Nen-Teminal, lup per (asel, Bt Tù o TeminaA


Hlowe case] Pis set o, pHDduti em ,Siu

Symbol.
Statt
Aaf A>abc •Sasa
V=A N=@A VeS
T=a,b, C T=a
PAaAy PAabcy PsaSo
S= A SA S=S
PAGE NO :
DATE

S>bsb
V=S V=ST=
s
T=b
P=sbsby
S= S

SSoos PS00F)E
V= S, E

T= 0,E
p=SSoos|11Fy PAE>0OP|
S=S
Lo Cenytdey the poctien X>xXx*xlx)
asn an alphalb et. at obtain datmo A

Constw c panse Ju e &ame


Punditi en X>X+X
X>XXTahet 3trg'
X X ataa
Xa.
vahen.
aXX+
deltmost

X>a+X
Desl
X

X>atX*X
X>atax
>at ata.
|RiqhimoSt eniuati em
X>X+X
12d XtX *a Co

Xt at a
Co
PAGE NO:
DATE :

kuun's thorem untth Clample


lHDerneutiatte

et thato eat an eqivgle


dThenthan
langugd.Then
the
RERe (onegagad,
Requlat dnquagdSuchsuth

thatd(D
nt

aEA d accepted by hon


Lf the danguage
DAe that
d d(R).
So that
y2yn4 aue 8tatu o
|BAnol-det Q- statw .The
M wheu n inumbey D

mahin thuough an
i to Stae
path luem tat nnber ot
stat whe4e
totesmot
qALaDH than ku qsen by Rij

R)fwew an
d

Lntemedlat
path uem ?to
tat whese
that

qAu thnuqh
not oyertey tnan k4 uhwik4
rumbyii Iy.
>k.The Sting w can be wden
a e

Wh )>o ahd 4J>o and


(i)-k and
thoo g no
Baai k=0 This lndcatuy th at
rtexmadiate ttat 4 path uem Atot ? toj fs
qusen bu dso gndtin (o

) Theaa drelt edqe hugm tat i to


whun it- Hese DF A Pth al P mbo a

wPh
Cosedl
Stote

No llP
follow?ng
Sumbol, and
case
Requloteien
aOne
Case lP symbol om State i to stddej
Ri a
PAGE NO
DATE

Caue 3 the
thex
ate
j
mHRple 1 -k h.
at ? to
()tranattim
R
F)The0 nestat
m

uh that
Sunmbel a homing Sell boþ os
or path
ond i denoted biy E.
Casel No P Symbols
R;
COseaExatW one lP 8ymbot
Ki;=a+e
Case3 |The Qte muHpu
|thesen thiagstem em
Roo=a, ta,t-tahtE

la stot ushich not high than klk-).

9)Theun erÜst a þath kum tot ?to which dsy


mot

RiklK-) Rre RKi


The path m P tn bunken qntn Bosaxalpita
)The path \em î tn kanot pauying thuugh

Stat' high thon Ki qiun bi Rx


PAGE NO
DATE

h The

Input Jwhat ambiqO qau? Dememytiatu with ez.

Sdet G= (V,T, P, s) be a cntet


Gyammaa Geone
ambiqtus
wer* 07
enly thue
shi ch tuo
eDt ateas stno

elthe the alt


MAt dos ati em
show it a ambiguby
IE (E) |id.
EE¥E E

hooug
fdt+€
ld +E*E

fdtE*E

d+1d*id 6 t

.Hena ft à ambiqio Us. g

Rehu 2th
13. Cenaldy the
9)E E+EE-E
tEElEEE
Shouo that qrama ambiqious
S)o A ume string » {?btibtaeay
PAGE o
DATE

S ts
=) ibtS
fbtiCtseS
)fbtbtSes
ibtibtaeS
s 1bti btaea.

S>iCtSes
SibSeS
ibi btses
3 1bLbtaeS
fbtibtaea
b ii ts
Hente thu ù ambiq uouuy.

4.(enitthetollusfno ambiqueLLI
Poto
qHAmna
nambiqun gsamma

6>EAEEE
6>€+E
E (E) id.
Step
pexato Asso catiity Non teînal ued
deft
det T
Riqht P
>Step A-The basre unit in expien aue fd
tdontiyien) 4 pannthai2ed expHML OD The
poducien cshending to thà

Step 3:The nert hq her 14it


þitomty a U

|Maht axGA (fati ut So the pAdu ci en mut


PAGE NO
DATE

9ws90 a housn belbw


P t^P|E

aedyt ausialmi 4o the puoduetien muat


Ataxt YY nen tru minal T 4 Pt hould hae
HUin au ghoun below
TT PlTPP
|Stap s'The neat hiahs pnon u t 4-4
thuy ate t CsDsiatiue
Uw So the prodsio

8ho uld halt )t Hucul n i


lE-TlT
Stap 6 The ina 9amn
Unambquous Can Be witen a

T*PT/P P

1SDeine PDA PAshdoun Auto mata).E1plain dl


the tnþlA
To prouz l|p sting PDA UeA stauk dleng
ufth Input, uch an autenataiy called

Puah DoUn Autemota ti dolnd wth Susen


tupu &S, 6 2olS FS)
nD o stat Pn PDA
i Input alphabet
86 s tionaitien ntien defnad as QY SX EXT

Zo is ?ntti al su mbol o sta

S
FS
u
Stauk
gtat
lnîtial

fnd! 8tate
Symbol
PAGE NO
DATE

ihe PAA wovke on equal äymbal,?4 thenput

4
Dlouent posi tion kestaik

7 Deteminiy c PDA
Non- Detemnu tic P DA

You might also like