59 59 votes 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. Theory of Computation gateit-2005 theory-of-computation regular-expression easy + – Ishrat Jahan 16.5k views answer comment Share Follow Print See all 9 Comments 9 9 Comments reply Show 6 previous comments air1ankit commented Dec 11, 2017 reply Follow flag anyone please explain above question 0 0 replyShare js__ commented Sep 26, 2025 reply Follow flag a string is always Finite 1 1 replyShare Rohit_Raj_Kumar commented Jul 12 reply Follow flag Regex do not generate infinite length strings 0 0 replyShare Please log in or register to add a comment.
Best answer 99 99 votes Correct Option: B Infinite set (because of $^*$) of finite strings. A string is defined as a FINITE sequence of characters and hence can never be infinite. Arjun answered Nov 4, 2014 • edited May 6, 2021 by soujanyareddy13 Arjun comment Share Follow See all 9 Comments 9 9 Comments reply Show 6 previous comments svas7246 commented Jul 2, 2021 reply Follow flag Great explanation 1 1 replyShare SougataSarkar commented Jul 26, 2022 reply Follow flag Suppose IF1, IF2, IF3, IF4, ….. be some infinite languages then if we generate 2 languages L1 and L2 such that :- L1 = { IF1, IF2, IF3, IF4, …...} ; then can we say L1 is a infinite set of infinite strings/ members? L2 = { IF1 } ; then can we say L2 is a finite set of infinite strings/ members? 0 0 replyShare ash_khola commented Dec 18, 2024 reply Follow flag @Deepak Poonia sir, here count of strings is directly proportional to length of string possible if we say string is finite then count will also be finite because only 1 string is possible for each length. 0 0 replyShare Please log in or register to add a comment.
4 4 votes The given expression01*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. Optins B is correct varunrajarathnam answered Aug 21, 2020 varunrajarathnam comment Share Follow See 1 comment 1 1 comment reply anon1 commented Jul 15, 2021 reply Follow flag The given expression01*0 is regular. So this is a finite string The expression is regular it’s ok but this is not the reason for the string to be finite. Whatever a string can never be infinite. Correct me if I’m wrong. 1 1 replyShare Please log in or register to add a comment.
2 2 votes string can be of infinite length but if it is recognised by finite automaton then this is finite so i think infinite number of strings are possible but the string length will be finite as it can be represented by the finite automaton so ans B arkaprabha1012 answered Aug 22, 2020 1 flag: ✌ Low quality (jacknroll “string must be of finite length”) arkaprabha1012 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes SET: can be finite set if number of elements are finite and infinite set if numbe of elements are infinite String:finite sequence of symbol of alphabet a string always must be finite in lenght and all symbol taken from alphabet where it is defined now a set can be infinte and string cant be so here we are generating a infinte set since number of strings will be infinite and u got ur answer jacknroll answered May 8, 2025 jacknroll comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes there our set is infinite and each element in set which is string are of finite lengthMeans u have finite lenght string and they are infinite in numberssoanswer is B jacknroll answered Nov 19, 2025 jacknroll comment Share Follow 0 reply Please log in or register to add a comment.