edited by
23,166 views
41 votes
41 votes

The string $1101$ does not belong to the set represented by

  1. $110^*(0 + 1)$
  2. $1(0 + 1)^*101$
  3. $(10)^*(01)^*(00 + 11)^*$
  4. $(00 + (11)^*0)^*$
edited by

7 Answers

1 votes
1 votes

from option c and d we can't generate string 1101.

therefore both c and d are correct

0 votes
0 votes

Here point to keep in mind is, question is asking string not substring, means given RE should not generate 1101 as string. If we look at option d, it will generate either no 1 or even no. of 1's always & can't generate odd no. of 1's. Hence is the answer.

0 votes
0 votes
c and d both are right

So,No need much think about which one is more correct and which one to choose because both are equally correct & if we take 1101 as substring (instead of string in question) then c will be answer but  should we correct that?

I think we should not apply over logic in correcting question and if such a ambiguity arise now a day they will give marks to all.
Answer:

Related questions

29 votes
29 votes
5 answers
1
Arjun asked Oct 17, 2014
8,872 views
Give a regular expression for the set of binary strings where every $0$ is immediately followed by exactly $k$ $1$'s and preceded by at least $k$ $1$’s ($k$ is a fixed...
37 votes
37 votes
4 answers
2
Kathleen asked Sep 25, 2014
11,250 views
If the regular set $A$ is represented by $A = (01 + 1)^*$ and the regular set $B$ is represented by $B = \left(\left(01\right)^*1^*\right)^*$, which of the following is t...
23 votes
23 votes
3 answers
4
Kathleen asked Sep 25, 2014
6,403 views
Which of the following statements is false?Every finite subset of a non-regular set is regularEvery subset of a regular set is regularEvery finite subset of a regular set...