The given regular language corresponds to which of the given regular language e+1+(1+0)*0+(0+1)*11

Ẽm Thư

New member
The given regular language corresponds to which of the given regular language
e+1+(1+0)*0+(0+1)*11
A. The language of all strings that end with 11 or 00
B. The language of all strings that end with 0 or 1
C. The language of all strings which does not end with 01
D. None of the mentioned
 
Answer: C
Explanation: According to the given regular expression, e is accepted by its language and it does not end with 00 or 11 or 0 or 1. Thus option a and b are eliminated. Further, the regular expression is valid for the third option.
 

Tìm kiếm

Back
Top