Imp Flat
Imp Flat
Questions
S a S/A A a
18. Write the derivation of the string 110 from CFG –
SA0/B A0/12/B B A/11
19. Write the Regular Expression to generate atleast one b over
Σ ={a,b}
20. Write the Context free grammar for equal number of a‟s and b‟s.
Long Answer Questions
1. Convert Regular Expression 01* + 1 to Finite Automata.
2. Convert given Finite Automata to Regular Expression using
Arden‟s theorem with an example.