Back to the 2020 paper

Module 1: Introduction, Regular languages and finite automata

20202m

Let L={w∣w∈{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) (0∗10∗1)∗(0^* 10^* 1)^*
(ii) 0∗(10∗10∗)∗0^*(10^* 10^*)^*
(iii) 0∗(10∗1∗)∗0∗0^* (10^* 1^*)^* 0^*
(iv) 0∗1(10∗1)∗10∗0^* 1(10^* 1)^* 10^*

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.