2 . List 3 strings in each of the following la nguages:
a. a*b*a*b*
b. a*b* ∩ b*a*
c. a(ab)*(abb|bba)*b
3 . A “goods train” is defined to be a string of cars, whichmust begin with one or two engines. These are followed by one ormore trucks, which are followed by one Guard Van. Example: E E T TT T G Non – goods trains: E G; E T T T; E E E T T T G
a. Write a DFA to recognize a goods train. Use E = engine, T =truck, G = guard van.
b. Write a regular expression that generate s all
PayPal Gateway not configured
PayPal Gateway not configured