

McqMate
Q. |
The regular expression have all strings in which any number of 0’s is followed by any number of 1’s followed by any number of 2’s is : |
A. | (0+1+2)* |
B. | 0*1*2* |
C. | 0* + 1 + 2 |
D. | (0+1)*2* |
Answer» B. 0*1*2* |
View all MCQs in
Theory of ComputationNo comments yet