Week 4 NFA
Week 4 NFA
Note: the language that needs memory can not be recognizes by any FSA
because the memory of FSA is very limited that cannot store or count
strings.
Example1 what is the rule of this language
ababbababb?
• The first five letters is going to repeated
ababb ababb to recognize this string we should the first five
letter to repeated again. Then we can say that this language is not
regular language because we can not save five letters in FSA memory!
0,1 0,1
Ex 2) L2={set of all strings that contain ‘0’}
0
A B
Ex 3) L3={set of all strings that starts with ‘10’} 0,1
1 0
A B C
HW1: design L4={set of all strings that contain ‘01’}
HW2: design L5={set of all strings that ends with ‘11’}
Example: which strings are accepted in this
NFA