wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the regular expressions given below represents the following DFA?

I. 0∗1(1+00∗1)∗

II. 0∗1∗1+11∗0∗1

III. (0+1)∗1

A
I and II only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
I, II and III
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
II and III only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
I and III Only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D I and III Only

I. 01(1+001) is correct r.e for the given machine.

II. 011+1101 is not correct.

0101 is accepted by DFA, but can not be generated by this regular expression

III. (0+1)1 is correct since the language accepted by the given DFA is all strings ending with 1.

I and III are equivalent to given DFA.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Evolution and Fossils
Watch in App
Join BYJU'S Learning Program
CrossIcon