{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ALGO_SP08_T1

ALGO_SP08_T1 - MAD 3512 TEST THEORY OF ALGORITHMS#1...

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

(15) (15) (20) (15) (20) (15 ) MAD 3512 - THEORY OF ALGORITHMS FLORIDA INT'L UNIV. TEST #1 - SPRING '08 TIME: 75 min. Answer all 6 questions. Provide all reasioning and show all working. An unjustified answer will receive ,little or no credit. BEGIN EACH QUESTION ON A SEPARATE PAGE. 1. (a) Define what is the extended transi - tion function of a DFA. (b) Convert the NFA on the right into an equivalent DFA. Find regular expressions which describe the languages below (a) Ll = {~E{a,b}*: ~ contains both aab ~ bab as substrings} (b) L2 = {~E{O,l}*: ~ has at most one ocqurrence of 01} 2. 3. 4. 5. 6. (a) (b) Find all the inaccessible states im the DFA below. Then partition the remaining sQates into blocks of indistinguishable states and find the reduced machine. w CW C -?>D @ G) G H I ~--------------- 01 D G B B (jI CAB 11 F BFA E, A H G (a) Find a DFA which accepts precisely the strings in the language L4 = {CD E{a,b}*: [nb(CD) -n)(CD) -1] (mod 4) < 2}. Verify your DFA works with babb a,s input. (b) (a) Define what are unreachable pioductions and non- terminating productions in a CFG G.1 Find

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.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern