Skip to main content

Posts

Showing posts from January, 2022

Finite automata

What is finite automata ? Finite Automata (FA)   is an abstract machine in the form of a mathematical model system with discrete input and output that can recognize the simplest language (regular language) and can be implemented in real terms. FA is defined as a pair of 5 tuples : (Q, , , S, F). Q: a finite set of states∑ : a finite set of input symbols (alphabet): transition function, describes the transition of FSA states due to reading of input symbols. (Transition function is usually given in the tabular form.) S: STATE state (Start) F: a set of END (Final) states. Characteristics of Finite Automata : 1) Each Finite Automata has finite states and transitions. 2) Transition from one state to another can be deterministic or non-deterministic. 3) Every Finite Automata always has an initial state. 4) Finite Automata can have more from one final state. if after processing the whole string, the final state is reached, it means that the automata accept the string. Each FA  ...