You are on page 1of 14

DATE

THoial-
Q1:Descibe ih ehglisk
lanquage the set
a*preenked b RE
a.ao+b ab
stavts oihaGnd
ending Lai ab
abg

C ga+bt tbbta*
Contatn any pam of a 0a b ar
any. paim o bor a,

Qaind »equlal ehmelsion onespondinqo auto malion qini


- (9

A
9, i(14o(o11)
t lq,t14- 93
4 11tolotio )I) o(ot1o'1
Ans)

9 0 0to1) q
9 dodns (q,0) (ot10)"
1t9, 1 +911 114,14q,o(ot10) n
1 t , 1t0otto 11)
Premium
be positive
DATE

Q3 find he R.E for aepresenHng ollbwinq set

.Set all Shing Co.1) ending t 00 ond beinning u11


b.etof all smq tab) 3 eonseuiw' '
C.Set dh Co,having atost one par of o's atmost no
J

a.1b+1 do
b +1)*00o (ot1J
c + 1 ) + (1#6)* ooC+o111 +o+10 (ot1o (ot1 Ci+0)
G tstt se o all shing tankoining ns
par o o.

1+o1) 0o Ct+61) et all shings Conbaoing eb acH1

Bposidva RO
e po
Premium
DATE

Ttial-
1 aCa+b ab

elatbfab

ab
aib

a,b

ab

bab+a) (aatb)
a +a" (aatb)
11)
ab1a Canth)

abta

ab+a
b

TM (
be posite
Premium
a
DATE

C . a b + bta,
abtb

1
b

ab

ta

((1.)

9,A
9 b,tb93T.
|93 9+09,
94 9: ta9t a q4 tb9
S , 9.: A, 93a B, 9C
S> A

AbSB
8 S ( aA

Premiun
C-bAaBac|be}n
DATE

tHome- siqhment 2:*

(aCot1 oot11) tot1*


(bot) o +1)
(o1

(0-41)

(9

o+1

(o+1)

(c Azden's heoy
P And & 0r twoegalak prsions Ovex An P
doe not tontan A hen the follouinq. equaHoo tn R ,namelu.
R RP+Q
has a uniqul toluhon R QP

Premium
bepositive
DATE

K QtRP

RQt QP P
Takin a common)
Re QCt P* P)
R P
RO RP.
solution o f h e equatbn
hs, R Qp is he

n d aequlak e»mess1on.
2 Ebplain equivalenco of PA
is equivalent to N£A aB E m o e s (and
Regular espresion
.equivalent to DEA, NEA).
Pbof
kequla e»res&1on NEA wI E maves
L is accephed ty, a
aegula ebpress1 o n
we, Ll proe
hen there ebist an NEA ib e moes M cuch Bat LL)

(b)o+ lo+11) 0 1
to+(o+1)0

to

+11) o1

L
1L 12

B Premira
DATE L

RegulaExprssion& me vsed to denole neaulalanguages. 1hey an


e tsent equla anquaqeand operqkions on hescessLily
he Set o qulaabpreksioh over án alphábét is de tines
iedy

Any set hat represent e valuu of Ahe Reqular bprestio is


called a Reqular Sset

. Pumpinq Lemma
Let M-(a,6,9., f) be a finrte rQutomalionm n states.
Let L, be he taul ar set accepked M, Let el_and
w . f m24Ren heae ebist »qi such hat wb
y A and z e L fr e ach i2o.

(ao1o+oCo1+10)*11 ove o1
O+oor+15

o1410

( ) DOltto)
TM

Premium
be posit
DATE

olf1)
?

Ko+1

(1

iM TM

be positive Premium
POsitie
DATE

09,t

0
So
9 14t 10
,(O*)-1*

As l and q) a e nal state ,we


ake s
will hot take

2P

6.O+1*) Coot11)
(o+Y

oT (oo 41)

9)
positi Premiumn
(
DATE

Regulah lanquages ane dosed unde oniple nentakon


i eula then L- I*|L is qequ las

94 L is egula,Ren hae is a DEA M (a,E., 5,9o,F)


Such hat
LLM)
kn, He lQ2,n , Q1f) acceptsl
9 S081A
Aol0.s|iAA Stain4 Oo110101
1|1s|88 (b

(a)S= 08 Oo88>0018 >0011IS


106 02120IS >
o10lo602101o1
cb)S 0B O0BB OOB1S
00810 8
02 10lS0 B loloB0 8101ol >02 1lo1o1

C) B (Deairalion Taee )

Oo
Premium POSith
be posidv|
,D DATE
(a
C)
A- OA+18+

B16 f

C 0Bt OC+ fC

SinuAand 8 ane tnal: i

A OA+ 18 + A
0 18+A

8
o,F),

A O+13+.

R.E
,

6 o Ot tomal \anguaae tind iBs applicabilik eutenstuely in


heftelds f toputu"sien.Chomskqoa waemaical
odel at9a-aämth in 1956 which ísache io iniin a
Computtatanguage

T atrne pe GvomAccepledLang.Accep Auctpmaton

lype Unaestatcted qadm. Rettuel Toning Mac


Enumeable lao.

lyp-1 Contet-SensH.
3Tam
ContetSens. Linea
Bounded

Type-2 Contethee Conlet- free Pushdo


lan autom ata

be oithe PIemum Requla qom. Requla lang. fiiTe shate


Tpe-3 autdmat4
DATE
1
Ca)
Condta- tree qrammea
A Contesree qadmme Consist oa tni te set o
92dmme suleg is a quad huple ( N,1,,S)
N Set o mon- tawinal
T= SeB tainal
P Set oprodutid hules.
S Cta»t Bymbe

Deihalion hee
A dedvalHon ree for a cfG G=(VN ZPS)
Saisfioq the 1lowing Condilion
OEvevete has label twhich is'a vntable nA
RoutO hos label S.
Label of an in eonal veates is a
variable
Vere» i s a leaf 1f its läbl'is ae a'A;
m is he 6nly, Son tHs fa he t s labelis A.

f Senkalial. fosm
A paa kade»inalion hee is a subhree of a
detyato tree such hat &the aluoh iks
children ase the u-ee
S AB, A a0 A|e, 8>CL]e

B
(A

Subhee is kndon as Sentéo Hal


fom TM
Bbe posiciv Premium
D
posith
DATE

Letm0st Desivakon 2-
9is obtained by apflying paoduckon to the léftmost
aniable in each sle

Riahfwost Dethvalim
E i s oshaines b applying psoclucion tuRa aabtomost
J
vaaiablein eah tep.J
| aa
(b a"b"22,23 ammeX: a ° > A a A

Saa A RLG:
AaA8 aAa a DbE
6bbbC A aBB
Ba8lbe
C bD
13. o+1* oo(o+1)*
RLG
S-os 1 0OA
AOA 1A|A
LLG
S 0 S 1S00 A

IMG CTlp.s)
P S aSb
Sab
b
a
So,aabb,agabbb
b
aaaa bbbb7
M
a a

eposit
U
reei9nb
b ab
Labh2 2
aabby aaabbb} Saaaabbbb7 -tpe 2
DATE

15.Regula set: atblatb)

ab
Qarb
.
)
let G$AB asb,P,A
A aA A>bB A LB, A
a B:, B LB, - a , B-b

B Premium

You might also like