967 views

Given the language $L = \left\{ab, aa, baa\right\}$, which of the following strings are in $L^{*}$?

1. $abaabaaabaa$
2. $aaaabaaaa$
3. $baaaaabaaaab$
4. $baaaaabaa$
1. $\text{1, 2 and 3}$
2. $\text{2, 3 and 4}$
3. $\text{1, 2 and 4}$
4. $\text{1, 3 and 4}$
edited | 967 views

$L = \{ab,aa,baa\}$

1. $abaabaaabaa = ab \ \ aa \ \ baa \ \ ab \ \ aa$             belong to $L^*$ (combinations of strings in $L$ )
2. $aaaabaaaa = aa \ \ aa \ \ baa \ \ aa$                       belong to $L^*$
3. $baaaaabaaaab = baa \ \ aa \ \ ab \ \ aa \ \ aa \ \ \mathbf{ b}$    does not belong to $L^*$
4. $baaaaabaa = baa \ \ aa \ \ ab \ \ aa$                        belong to $L^*$
edited by
Only strings 1,2,4 is in the language L^*
–1 vote
c it the answer....as option c is not generated........
0

Option c