Which one of the following regular expressions represents the set of all binary strings with an odd number of 1's?
- (A)
((0 + 1)*1(0 + 1)*1)10
- (B)
(0*10*10*)*0*1
- (C)
10*(0*10*10*)*
- (D)
(0*10*10*)10
Which one of the following regular expressions represents the set of all binary strings with an odd number of 1's?
((0 + 1)*1(0 + 1)*1)10
(0*10*10*)*0*1
10*(0*10*10*)*
(0*10*10*)10
Official answer: marks to all candidatesSource: Official answer key, GATE 2020 CS (IIT Delhi)
From the GATE 2020 CS paper. Every question of this paper · Download the full paper · All 18 Finite automata questions, with notes