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

Which of the following statements is TRUE about the regular expression 01∗0 ?

A
It represents a finite set of infinite strings.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
It represents an infinite set of infinite strings.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
It represents an infinite set of finite strings.
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
It represents a finite set of finite strings.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C It represents an infinite set of finite strings.
Given regular expression is infinite set (because of *) of finite strings. A regular expression cannot generate any infinite string (since string is always finite in length by definition).

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Algebra of Derivatives
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon