Disk-Management
February 4, 2024
ISRO CS-2023
February 4, 2024
Disk-Management
February 4, 2024
ISRO CS-2023
February 4, 2024

Question 6307 – CHENNAI MATHEMATICAL INSTITUTE M.Sc. / Ph.D. Programme in Computer Science (15 May 2018)

Which of the words below matches the regular expression a(a + b)* b + b(a + b)* a?

Correct Answer: D

Question 1 Explanation: 
Word should start with an a and end with b, or start with b and end with a.
A
aba
B
bab
C
abba
D
aabb

Leave a Reply

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