da Irphan Ali mancano 7 anni
1392
 
                            
                        Più simili a questo
Example of NFA with Epsilon Move:
Example: Asked in Previous year University Exam: Design a deterministic finite automata(DFA) for accepting the language L = {a^n b^{m} | m+n=even}
Example: Asked in Previous year University Exam: Construct a DFA machine over input alphabet \sum_= {0, 1}, that accept even number of 1's
Subtopic
Example: Asked in Previous year University Exam: Construct a DFA machine over input alphabet Sigma= {0, 1}, that accepts odd number of 0's and even number of 1's
Testing Lets take one input string abab First input is a, so from state A we will go to state B Second input is b, so from state B we will go to state C Third input is a, so from state C we will go to state C itself Fourth input is b, so from state C we will go to state C itself(final state)
Testing Lets take one input string abab First input is a, so from state A we will go to state B Second input is b, so from state B we will go to state C Third input is a, so from state C we will go to state C itself Fourth input is b, so from state C we will go to state C itself(final state)
Example: Convert the following NFA into DFA Solution: Transition table is
Example: Previous year University Exam Question Convert the following NFA into DFA
Transition Table:
NFA Example:
Q-f
qf- Final state or set of final states enclosed in circle or marked by a special symbol in Transition table and enclosed in double circle in Transition diagram
Q-0
q0- Initial/starting state, denoted by Arrow in Transition table and circle with arrow in transition diagram
Delta
Del- Transition function which maps Q x Sigma->Q i.e. there is one transition for each input from one state to another. For exam Del(q0,a)= q1
Sigma
Sigma- Finite set of nonempty inputs denoted by a....z/0.....9
Q
Where. Q- Finite nonempty set of states denoted by q0,q1,q2....../A,B........Z,