{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# 12. DFA - MATH 224 Discrete Mathematics Deterministic...

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

8/27/09 11 MATH 224 – Discrete Mathematics Deterministic Finite Automata Finite State Machines Set of States Q Start State q0 … Q Accepting States qf 8 Q Alphabet 8 e.g, {0, 1} Transitions 8 ° (T , qi) ± qj q0 qf1 qf2 q1 q2 q3

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

View Full Document
8/27/09 22 MATH 224 – Discrete Mathematics DFA Represented by a Directed Graph Multitasking in an operating System Ready Queue Running Start Blocked Waiting Time slice expired Dequeue d Blocked waiting for a resource, e.g. data from a disk Finished with resource and ready to run
8/27/09 33 MATH 224 – Discrete Mathematics DFA for Multiples of 3 in binary q0 qf-3 q2 q1 0 1 0 1 0 1 1 Start 0 Example 1 46 remainder 1 string 1 0 1 1 1 0 States 0 1 2 2 2 2 1 Example 2 51 remainder 0 string 1 1 0 0 1 1 States 0 1 3 3 3 1 3

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

View Full Document
8/27/09 MATH 224 – Discrete Mathematics DFA for Multiples of 3 in binary including the empty string qf-0 q2 q1 0 1 0 1 1 START 0
8/27/09 55 MATH 224 – Discrete Mathematics DFA to Recognize Floating Point q0 qf-0 q1 0 - 9 +, 0 - 9 e, E q2 q3 +, 0 - 9 0 - 9 0 - 9 q4 Qf-1 q5 Start 0 - 9 .

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