1.2 Finite-State Machine with Output

  1. What is included in a state machine?
    M = (S, I, O, f, g, ,s0)

    • S = A finite set of states
    • I = An input alphabet
    • O = Output alphabet
    • f = A transition function assigning the next¬†¬† state for every input
    • g = Function assigning the Output for every input given.
    • s0 = A Staring State
  2. Give example of what state machines are used for?
    They are used in spelling programs and word searching. Easy to validate strings etc.
  3. What two ways can be used to visualize state machines?
    State machine tables or state machine diagrams.
  4. Draw up a state machine for with 5 states I=[0,1] O=[0,1] with both a f and g function.
    Image Upload 1
  5. Explain the How and why we can say that
    g(x) = y where y is the output corresponding to the input string x.
    Image Upload 2
  6. Image Upload 3
    • Image Upload 4
    • Image Upload 5
  7. Image Upload 6
    Image Upload 7
  8. Create a finite state machine for subtraction.
    GET HELP?
  9. Image Upload 8
    • Image Upload 9
    • Image Upload 10
Author
ccc
ID
342714
Card Set
1.2 Finite-State Machine with Output
Description
mer matte:)
Updated