{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ALGO_SP09_Q1

# ALGO_SP09_Q1 - NAME FLORIDA INT'L UNIV MAD 3512 uiz l rin...

This preview shows pages 1–3. 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 - rin 09 TIME: 25 min. Just write "TRUE" or "FALSE". (10) 1(a) For any.language A on {0,1}, we always have (AC)R =(AR)c . (b) The set of all infinite languages on {a} is countable. (c) If a DFA, M has no inaccessible states then L(M) #¢. (d) The DFA obtained from an NFA will always have more states. (e) If G is a CFG with a produdtion of the form AsbA and G has no useless production, than 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,l}* which contains at Jessi two occurrences of the string 10. Ans: E = (b) If G = {S-tAASa, Sea, Ash, Aal}, then L{G) e (c) If M is the NFA below, then (d) Find a RLG G for 0.1.0'I Ans: G = \ (e) Find a DFA M with L(M)-—-(a,‘.l_a,)+ la‘ Ans: M = Use the back of this paper for question #3. (12) 3(a) Define what is a regular expression over the alphabet {0,1,2}. (b) Define what is an inherently ambiguous context-free language L. (0) Define when two states of a DFA M are indistinguishable. (d) Define what is the extended transition function of an DFA M. 2 ':l - - . . :MAD 3572-: 746ny 0/ A/ZaI’I/IYMS ' P/ﬂr/Z/ge [/2247 é/I’II'V. _ :!So/M/75’MI 73- 624“ Z4 1 3527/12 .2909, -4222: 3-2122 -——> 22242” 279253222"? :ET 4-. MEI?“ 3L2 _II__YI_I unffjinﬁ? é/e Q 21 7222216222; III” 45/224”: 4-- . _ -4444/2 222222-24 2.24-2£4_.-:[email protected]“02'—_444-4.--.- -_-_4--4 i (2 ’4444211444-(3445-424’4 7424 -464 _- _- 44 7‘” 4.4.4.2 ............ .._,._._..4_.-4-_if”414’:4.44. .44 4:2 444 42/442444224 ”4 4’- 4 .444 _4._22//4é/4{42/€-_- --___4 _---4H__-4-_44_-_ -4 4 _- .4 4-44.__ ________________ .2 -2244; 444 2422 2;". 22"'WEE???)'2""""23¥?2* ___ ______________ __22. 422--..5 42 2:42:11: - _. 2-52.22242wi 4 _.__. ___-4 .L ) 21424:.4- 4444-2-42):- .44 4-4 4. .44- -__- _._- _..-4-4-4.4 41L) 3 w> 04+ 4132/24 24 3.3.4; "£35903 -6" mi 44444444215 [/2an )0_ 6) I 2 A 2222/ 25 .2224 {5444444 25% «22222922233 4.4.-.. 4554” “___ Végwlﬂr MOM-427222 ararfcwzz} 4.5 19,4422/ rygafgI/i/X - ...... 222% 2:2 25-22-222 _..:iZX/LJé/xLé-‘O 2/2 (2:22?“ 5-4.4 ............ _.__ ”_(éjiﬂn 22242222227; ail/15] 222223 2.722242% 242.2 4.4”? .2 I“; .22 /6m 2m 2 744/ (.422 242: ifﬂf/d/f/Iﬁz_ 61717 22222" ”22222.: -4454? I _5 2’ / 2/4 ("/5 _________ -.._ 441424222224444224-2__44 .- 2222:2422-2022:24m_4 1 24424.42: 4722:72- .22 42277-..22C€4-2€44~34272-_454&/22-__ ' 1222-2224-4122- 2242242: ......... 2" * 22-2-4244? 5 2. 222244 E22222" _. n 2/ 2/2/2222 .2 J4: 22/2/2624’7 544‘ ”[4441 4' 7444’- 2424.2444-4444-2444175’4544’74/4 {3474’ (’4 I; /_éf/J2_22/ ranch/V269! 4;; 75/422; (SJ-If IQXZif I72 Q ﬂ/M/(f) A"? 4) “7 H'Q'I) 2.422.222 M24222) 2)” 22 2,2 .222: 22.222» 2 1 l ‘ j A!) aﬁ/Z‘ -: Mew/I 57/‘///Zax//I4MI F/m’M/a’e’ //’IZ‘ / [7/6/- 7750/57/15173 [/5 (Qt/i2 \$5731? 2559 TK’UE (£2) FHJJ‘E __ 35/ 0/54” (77/ Amy (M 545/} (4 #5165557??? (C); H4555 J (7555/5445 7:?! 5/57} W/é’ 7457 577665: Jim/r 5797/57.: (of) I’ll/L515 I 491‘ 77sz #747? A," (4 D/f‘l (e) ZEVJE 2597i Er (.5 7-1)“. 527 (07.0“ 7.2.55 (0’3“ (5) 5(5) :5 {ta/{752W} : 0<l<g 277 77775; {C} 5W) ‘2 6?.(é 4 69)“ x 7‘57} {[7 baf“ 53%? 0A7) 7157/7/73 5 :05/7 N f > «7 ‘5 7,; "((0)531 ' ’” 2(5) /4 7777‘77/4'7' got/{755572.777 duér Ira/(2 Z} [‘5‘ M674NPé/‘VPK¢£FW‘V€/y_ i as [lg/[072753 1_ (/4) 0 ’11 Z A ﬂﬂl/w af‘f’ Vein/(7’1” é’a’JfP-S‘S/bzil' .--:-. —) -..+ (Z) //£‘&F (.7715 75/0 egg/2n 7/7491? 5‘0 are? (5 45> (5 F) 4% (5 4‘) (5) AM MAQ/é’m/y {1757577510565 EOZIfEXZ/ 245612 /‘¢é‘l/1€j5ﬂj{.’ xv 57‘ 755/977"; 14/973 /£¥ﬁ)/LL7!§7(4 7543‘ can/70f 745 (/€(Jé”fﬂZ/?C76‘/ 52/ mm anxzmé/jaoam ran/5771’ 53553 grammar-77’ __ (C) [1755575753 /2 57747! i N m 57 70/774 7775 2741/4 vﬂyywr/a/zég/ 3“ far 5725/ 75c; 2i": _ 75‘“ 65,77,976. 34 _ (/7; 77m} 2/ 78‘ (2/ 77,973 52¢. M)‘ Ilzzé’ €x/7”ﬂﬂ/€/ 7957/75/55}? xH’MZ/(M Oriya 705/} )5 [4.2 757777.155); ‘5 5“! QXZ ‘6—5 & /A¢7Z‘ rs recLLVy/Vze/X 5/6/7297!ch Ml /‘a//5_L7JI. ‘ 5(77 )7“ ’2. and H71 W) 7 5” (22492“) 5777/ AVE :7: (7725/ any 906- ?“‘“‘ ...
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

ALGO_SP09_Q1 - NAME FLORIDA INT'L UNIV MAD 3512 uiz l rin...

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

View Full Document
Ask a homework question - tutors are online