asked 173k views
3 votes
If L is a language over the alphabet S, the complement of L, written L' is the language of all strings of letters from S that are words in L.

True or False

1 Answer

4 votes

Final answer:

The complement of a language L, written L', is the set of all strings in the alphabet S that are not in L.

Step-by-step explanation:

The statement is False. The complement of a language L, written L', is the set of all strings in the alphabet S that are not in L. In other words, L' consists of all possible strings over S that do not belong to L.

For example, let's say we have a language L over the alphabet {a, b} consisting of the words 'aa' and 'bb'. The complement of L, denoted L', would be the set of all strings over {a, b} that are not 'aa' or 'bb'. In this case, L' would include strings like 'ab', 'ba', 'aaab', 'bbba', and so on.

answered
User Brotzka
by
8.6k points

No related questions found