Back to the 2020 paper

Module 1: Introduction, Regular languages and finite automata

20202m

Let L={ww{0+1},w has even number of 1s}L = \{w \mid w \in \{0+1\}^*, w \text{ has even number of 1s}\}. Which one of the regular expression below represents LL?

(i) (0101)(0^* 10^* 1)^*
(ii) 0(1010)0^*(10^* 10^*)^*
(iii) 0(101)00^* (10^* 1^*)^* 0^*
(iv) 01(101)100^* 1(10^* 1)^* 10^*

Similar questions