UGC-NET | UGC NET CS 2015 Jun – III | Question 20
The regular expression corresponding to the language L where
L = { x ϵ {0, 1}*|x ends with 1 and does not contain substring 00 } is:
(A) (1 + 01) * (10 + 01)
(B) (1 + 01) * 01
(C) (1 + 01) * (1 + 01)
(D) (10 + 01) * 01
Answer: (C)
Explanation: L = { x ϵ {0, 1}*|x ends with 1 and does not contain substring 00 }:
So, option (C) is correct.
Quiz of this Question
Please Login to comment...