GATE 2003
March 19, 2025GATE 2005-IT
March 19, 2025GATE 2005-IT
|
Question 5
|
Which of the following statements is TRUE about the regular expression 01*0?
|
It represents a finite set of finite strings.
|
|
|
It represents an infinite set of finite strings.
|
|
|
It represents a finite set of infinite strings.
|
|
|
It represents an infinite set of infinite strings.
|
Question 5 Explanation:
The given expression 01*0 is regular. So this is a finite string. So options C and D are false and * is placed. So this is infinite set.
So, given regular expression represents an infinite set of finite strings.
So, given regular expression represents an infinite set of finite strings.
Correct Answer: B
Question 5 Explanation:
The given expression 01*0 is regular. So this is a finite string. So options C and D are false and * is placed. So this is infinite set.
So, given regular expression represents an infinite set of finite strings.
So, given regular expression represents an infinite set of finite strings.
