TOC Module 2 Complete Solutions
TOC Module 2 Complete Solutions
9. Convert the automata in which strings end with 101 over an alphabet P ={0,1}
to the Left Linear Grammar and Right Linear grammar.
13. Describe Regular grammar? Explain the types of regular grammar with
examples.
14. Illustrate the steps for conversion of regular grammar to finite automata?
Construct the FA for the following grammar S aS/bA/b ,A aA/bS/a
15. Convert the given Regular Expression 1(11) * to FA and convert it into
NFA.
19. Illustrate the steps for conversion from Finite Automata to Regular
Expression with an example?
20. Describe Pumping lemma. Prove that the language L={yy/y belongs
{0,1}*} is not regular.
PART-C
1. Define Regular Languages.
2. List out any two applications of regular expression.
3. Define Pumping Lemma for Regular Languages.
4. Show an example for a regular set?
5. Define the Regular Expression for the empty string.
6. Describe regular expression for denoting language containing empty.
7. Define right linear grammars.
8. Show the Regular Expression for the set of binary strings.
9. Define Regular grammars.
10. List out the advantages of regular expressions.
11. Define a Regular set?
12. Describe regular expressions for the Set of strings over 0, 1 whose last
two symbols are the same.
13. Describe the regular language generated by regular expression
(0+1)*001(0+1)*.
14. List the difference between left linear and right linear grammars.
15. Describe the Regular Expression to generate at least one b over Σ ={a,b}
16. Describe that following languages are not regular
L={a n b m∨n , m and n<m }
17. Describe that following languages are not regular
L={a n∨n is a perfect square}
18. Define Regular Expression for even numbers of 0’s.
19. Define Regular Expression for an odd number of 0’s.
20. Define Regular Expression for the regular sets consisting of strings
having two consecutive a’s.