most closely describes the regular expression 01 * 0
Which statement most closely describes the regular expression 01 * 0 ?
AIt represents a finite set of finite strings
BIt represents an infinite set of finite strings
CIt represents a finite set of infinite strings
DIt represents an infinite set of infinite strings.
All DiscussionsClick here to write answer
Answer:It represents an infinite set of finite strings
Explanation:
The Regular Expression 01*0 means
The set of ==> {00,010,0110,01110,011110,0111110,01......0, and so on.}
so the length of the string like 00 and 011110 are finite and the set is infinite due to 1*
so the ans is B.
All Comments
Post your answers here:
Post