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*
695
0
Do you find this helpful?
1

View all MCQs in

Theory of Computation

Discussion

No comments yet

Related MCQs