Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Assignment No: 2
Issue
Date:
Last date:
Faculty:
Bhaskar
Kapoor
Semester: 4th
Pages: 3
I-Term Exam
15/2/2016 Day
20. Convert the Regular Expressions (Given below) to NFA using Kleenes Theorem or
using Thompson Construction.
(i) (0+1)*1(0+1)
(ii) (00+1)(10)*
21. Design a FA from given Regular Expression 10+ (0+11)0*1(Hint:-first convert it
into Regular Expression using Direct Method in to NFA then convert in to DFA)
22. Construct FA equivalent to the Regular Expression (0+1)*(00+11)(0+1)*
23. Obtain a Regular Expression for the FA shown below:
25. Construct a Regular Expression from the given FA by Algebraic Method using
Ardens Theorem.
26. Construct a Regular Expression from the given FA by Algebraic Method using
Ardens Theorem.
27. Using pumping lemma Prove that(i) Language L= (0p1m2p | p and m are arbitrary integers) is not regular.
(ii) Language L= { 0p1m | p m} is not regular.
(iii) Prove that the Set of Strings of the form wwR over the alphabet {0,1} is not regular.
(iv) Prove that the language L={ 0n |n is Perfect Square} is not regular.
28. (i) Construct a Regular Grammar G generating the regular expression 0*(0+1)*
(ii) Construct a regular grammar G generatingthe Regular set represented by
{a,aa,aaa,aaaa,..}
29. Consider the regular Grammar G={[A0,A1],{0,1},{A00A1,A11A1|0|1A0},A0).
Construct the transition System M,which accepts the language generated by Grammar
G.
30. Consider the following Productions of the Regular Grammar G:
SaA|a, AaA|aB|a, BbB|c.
Find the Regular Expression corresponding to Regular Grammar G.