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

Which two of the following four regular expressions are equivalent?

(i) (00)(ϵ+0)

(ii) (00)

(iii) 0

(iv) 0(00)


A
(i) and (ii)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(iii) and (iv)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
(i) and (iii)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
(ii) and (iii)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C (i) and (iii)
(i) (00)(ϵ+0)

= (00)ϵ+(00)0=0

Even no. of 0' s and Odd no. of 0's
i.e., any number of 0's

(ii) (00)=Evenno.of0s

(iii) 0=anyno.of0s

(iv) 0(00)=Oddno.of0s

So (i) and (iii) are same.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Endoplasmic Reticulum and Golgi Apparatus
Watch in App
Join BYJU'S Learning Program
CrossIcon