IAE Academy

GATE 2020 CS Q.7: official answer

GATE 2020 · CSQ.7 · 1 mark · MCQ

Which one of the following regular expressions represents the set of all binary strings with an odd number of 1's?

  1. (A)

    ((0 + 1)*1(0 + 1)*1)10

  2. (B)

    (0*10*10*)*0*1

  3. (C)

    10*(0*10*10*)*

  4. (D)

    (0*10*10*)10

See the question in the paper

Official answer

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

More Finite automata questions