![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
Let L={w \in (0 + 1)*|w has even number of 1s}, i.e. L is the set of all bit strings with even number of 1s. Which one of the regular expression below represents L? |
A. | (0*10*1)* |
B. | 0*(10*10*)* |
C. | 0*(10*1*)*0* |
D. | 0*1(10*1)*10* |
Answer» B. 0*(10*10*)* |
View all MCQs in
Theory of Computation and Compiler DesignNo comments yet