31.3k views
2 votes
If S = {a, b, Λ} than S+= { Λ, a, b,aa, bb,ab, ba,...}
True or False

User Nhuluseda
by
7.6k points

1 Answer

6 votes

Final answer:

The statement is false because the Kleene plus of the set S should only include strings of one or more characters, and should not include the empty string Λ.

Step-by-step explanation:

True. If S = {a, b, Λ} then S+ represents the Kleene plus of the set S, which consists of all possible strings of finite length that can be formed by concatenating elements of S, excluding the empty string Λ. The set S+ will indeed include elements such as Λ, a, b, aa, bb, ab, ba, and continue with all other possible combinations of a and b. However, the presence of Λ within S+ in the context of Kleene plus is incorrect, as S+ should only contain strings of at least one character long. Therefore, the correct version of S+ should exclude the Λ.

User Jterm
by
8.7k points