Consider the language L={All strings of odd length} over the input alphabet {a, b} .Which of the following is the correct regular expression for the language L?
Which of the following is the correct regular expression for the language L?
a) ((a + b)a(c-i + b))* +((a + b)b(a + b))*
b) +b)* + b)* +b(a + b)* (a + b)*
c) a((a + b)(a + b)) * +b((a + b)(a + b))
d) None of the above
Answers
Answered by
2
Explanation:
a) ((a+b)a(a+b)) * +((a+b)b(a+b))
Similar questions
Math,
1 month ago
Science,
2 months ago
Math,
2 months ago
Political Science,
10 months ago
Math,
10 months ago