Question 7
All strings with at most one b
All strings where no two b's are adjacent
All strings ending in a
All strings with an equal number of a's and b's
All strings with at most one b
All strings where no two b's are adjacent
All strings ending in a
All strings with an equal number of a's and b's
Correct answer
All strings where no two b's are adjacent
Question 7 of 16 in the IIT Madras BS Compiler Design (Compiler Design) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (Compiler Design 16 Jul 26). It carries 2 marks.