GATE 2007-IT
April 5, 2025
GATE 2007
April 5, 2025
GATE 2007-IT
April 5, 2025
GATE 2007
April 5, 2025

GATE 2007-IT

Question 73

Consider the regular expression

 R = (a + b)* (aa + bb) (a + b)* 

Which one of the regular expressions given below defines the same language as defined by the regular expression R?

A
(a(ba)* + b(ab)*)(a + b)+
B
(a(ba)* + b(ab)*)*(a + b)*
C
(a(ba)* (a + bb) + b(ab)*(b + aa))(a + b)*
D
(a(ba)* (a + bb) + b(ab)*(b + aa))(a + b)+
Question 73 Explanation: 
R = (a+b)* (aa+bb) (a+b)*
Having NFA:

Equivalent DFA:
Correct Answer: C
Question 73 Explanation: 
R = (a+b)* (aa+bb) (a+b)*
Having NFA:

Equivalent DFA:

Leave a Reply

Your email address will not be published. Required fields are marked *