1,694 views
1 1 vote
Consider these statements:
S1: If a language is infinite, it has to be non-Regular.
S2: Let L be any language.
$(\overline{L})^{*} \neq (\overline{L^{*}})$

(a) Both are True
(c) S1 → True, S2 → False
(b) Both are False
(d) S1 → False, S2 → True

1 Answer

Best answer
3 3 votes

$S_1$ is false. The counter example is a very popular regular language - $(a+b)^*$

$S_2$ is true and at first glance, it looks like its prove must be subtle. But no, it is not difficult to notice that LHS will never have an empty string $\epsilon$, however, the RHS will always have an empty string. This one small difference on the two side of equality will never let them be equal to each other.

Thus, the correct answer is (d) S1 → False, S2 → True

HTH

• selected by
Position:
Show:

Related questions

1 1 vote
0 0 answers
555
555 views
aftab0711 asked Aug 13, 2024
555 views
Select the correct statements (1) L1 = L2 if and only if L1* = L2* (2) For any languages L1, L2 and L3, L1 (L2 ∩ L3) ⊆ (L1L2) ∩ (L1L3)(3) For any languages L1, L2 and L3,...
1 1 vote
2 2 answers
638
638 views
aftab0711 asked Aug 11, 2024
638 views
Which of the following languages is/are regular?
1 1 vote
4 answers 4 answers
1.4k
1.4k views
0 0 votes
2 answers 2 answers
936
936 views