{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ALGO_SP10_Q1

# ALGO_SP10_Q1 - NAME FLORIDA INT‘L UNIV MAD 3512 uiz l —...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: NAME: FLORIDA INT‘L UNIV. MAD 3512: uiz l — S rin' 2010 TIME: 25 min. JUst write "TRUE" or "FALSE” (10) 1(a) If L is any language on {a,b}, we always have (L‘)c =(LU‘. (b) The set of all regular expresions on {0,1} is countable. (c) If L is any non-empty language, L‘ will always be infinite. (d) If a DFA M has at least one accepting state. then L(M)¢¢. (e) If G is a CFG with a production of the form SeASb and G has no useless production, then L(G) is infinite. Just write down the correct answer. (18) 2(a) Find a regular expression E for the set of all strings in {0,1}* which contains at most one occurrence of the string 00. Ans: E = (b) If G = {s~ASBB, Sab, Aha, Bab, B—JL}, then L(G) = (c) If M is the NFA below, then (d) Find a RLG G for b*.a*.b.a* Ans: G = (e) Find a DEA M with L(M)=(Q.i)* + (2;) Ans: M = Use the back of this paper for question #3. (12) 3(a) Define what are useless productions in a context—free grammar G. (b) Define what is a leftmost derivation in a context-free grammar G. (c) Define when two states A and B of'a DFA M are indistinguishable. (d) Define the extended transition function of an NFA and specify its domain and co—domain. IIMAD 3-572 -— Tharzd/ﬂ/Z6//¢m{ Her/"5’6 5/7 Viv/v. I5J/Lc/rbﬂ5 76 (QM/Z #r 5 rm 20/0 _|---_.______-_-_____ E Z t I : .i 77 -_/6-§.Eé’é_—E_E.--.- 72:461 = @- ,, 7/2651... -2.6 (40*5‘5/3.6.(lac-_._........-....-... --2\$I 7606: Z5-6.-5€ZL 65‘ 63-7- 62.726 eaM= 2‘13 4,1,6, .1,_:_-__r-J-.Cf _ . .. (If/WE..- _Zé_/56..-é-6{2.3._..___Em fr; {2.}. Mé!§.é.-5i§£-/5>?57L6,.- ’Ifﬂ-AS’E 50655166726 .0551. ' . .. 6 7555:- § Msbmﬂgeam‘e A’iﬁféi’: MM véﬂa/W: V??? m [ha/e . _02 a 5263/30) +..___(_/;+ 0020(ch) '_ ' , _CééLGJ-cfaﬁék“.06k626 605/”66f .. .. __J I5: 5653,2654, 14664-1465ﬁ,-B-MB,-5ﬁ/I .. . ., I r . ___-3-(4 22-...6_Q_:6gééaﬁéz727-6454561522? Mower/MM! 555261556;-4-5/4922642 . .. . - giggmezeé-éé [64646/%M W6 _. Mgr/’53? (4614-416,- AZ-Q- ﬂ .. __ I ”252.5-fefmxzz4égy-ﬂzgg’mﬂbzz-.._53:Me 544554. 55551656__61655Q5é/6.- —— I #65:.2-Ergg-zzgé. 6-6§[email protected]&_-/€§m5555/6 557/0- .fé.2’WM/- 52/634534“ 711m . .. ___-__-._----f I 225-225-655 .4562:2£--55§6./65freg/zgééﬂ 4- -_ __Q9 I Aid/miﬂ’éﬁka/féérsweﬁw/rrréizeée/Z’mc’r/Wrw/é’ -_____ _ Lil/\$24652 Maggi/622.421” .7:"_' I; I 73154361796/455643ﬁaﬂfﬂMWé’MQ/ééé’ mmaé/e/ I ﬁre-éﬂééﬁ’lff . 6162:5DVMM) .ﬁ’W/Z) ©21206Jﬂéf) .. ___ I E =f55/9M7‘4/f026é6f0/M2 DEW-M) 6 362546676212” _{é’WJ‘d/ﬁf/ .. 2155- Z ﬂew/£37441 6624.635255..- ﬂrzcﬁww" .455 M94 M 65/674,576! .. I 29/ _._/4726 4.1) 5526 Q -_'_ 5d 6654. ABM/ya: 5565/2 75.2.. 3 .559 MI dame?!” (4*): 6252* , 6649mm” 64):???) ...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

ALGO_SP10_Q1 - NAME FLORIDA INT‘L UNIV MAD 3512 uiz l —...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online