UNIT 1 Notes
UNIT 1 Notes
The Fig.shows a general representation of an automaton. The input is a string over a given
alphabet written on an input file; which the automata can read but cannot change. The input
file is divided into set of cells where each cell contains one symbol at a time and also read the
input file left to right one symbol at a time. It also detects the end of the input string by using
specific symbol (i.e. write end marker). The output is also a string of some form. It may have
a temporary storage device, consisting of an unlimited number of cells, each cell containing a
single symbol from an alphabet (cell can contain same or different symbols).
An automaton is used to operate discrete timeframe. At any given time, the system is in some
internal state and the input is scanning a particular symbol on the input file. The internal state
of the system at the next time step is determined by the next state or transition system. This
transition system gives the next state in terms of the current state, the current input symbol and
the information currently in the temporary storage. During the transition from one state to next
state the output may be produced or the information in the temporary storage changed
depending upon the designed machine. The transition from one state to another state is called
move.
Central Concepts Automata
Language :
DETERMINISTIC FINITE AUTOMATON (DFA)
In the Fig the initial state is represented by a ring (or circle) with an arrow pointing towards
it, the final state by two concentric rings (or circles) and the other states are represented by
just a ring (or circle). The edges are labeled by input.
state q0 is an initial state, q2 is a final state and q1 is another state, and the transitions
performed by these states are follows
From state q0 and input 0, go to the next state q1
From state q0 and input 1 go to the next state q0
From state q1 and input 0, go to the next state q1
From state q1 and input 1, go to the next state q2
From state q2 and input 0, go to the next state q2
From state q2 and input 1, go to the next state q2
(2) Transition Table: A DFA may be conveniently represented by a transition table. The transition
table is a tabular representation of a machine. For example, the tabular representation of Fig.
is shown in table 1.
Language of DFA