




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















If you can keep your head when all about you are losing theirs,
If you can keep your head when all about you are losing theirs, its just possible you haven't grasped the situation. Rose Fitzgerald Kennedy
5 days ago you were given an assignment to write an 11-line program (+ tests)
It’s in a language that you’ve never used before
based on a concept (algebras) that you have forgotten about
You saw some example programs in class, but you didn’t take notes.
A very simple form of “computer”
Used in real life for control circuits
Hardware control: door circuits
Software control: telephone and network communications
FSA that “recognize” languages
0
1
01
10
001
110
Diagram:
Formal definition:
What FSM recognizes the language?
What FSM recognizes the language
What FSM recognizes the language {a}?
What language is recognized by this machine?
Let M = (Q, A, δ, q 0 , F) be a FSM and let w = w 1 w 2 …wn be a string, where each wi ∈ A.
M accepts w if there is a sequence of states r 0 ,r 1 ,r 2 ,…rn ∈ Q such that: