Step 1: Recall closure properties.
Context-free languages are closed under union and concatenation. They are also closed under intersection with regular languages.
Step 2: Analyze each option.
\(L_1 \cap L_2\) is context-free because CFLs are closed under intersection with regular languages.
\(L_1 \cdot L_2\) is context-free because CFLs are closed under concatenation.
\(L_1 \cup L_2\) is context-free due to closure under union.
Step 3: Examine set difference.
The language \(L_1 - L_2 = L_1 \cap \overline{L_2}\). Context-free languages are not closed under complementation. Hence, this operation does not guarantee a context-free language.
Step 4: Conclusion.
Therefore, \(L_1 - L_2\) is NOT necessarily context-free.
Final Answer: (C)
Consider the following languages: \[ L_1 = \{a^n w a^n | w \in \{a, b\}^*\} \] \[ L_2 = \{ w x w^R | w, x \in \{a, b\}^*, |w|, |x| > 0 \} \] Note that \( w^R \) is the reversal of the string \( w \). Which of the following is/are TRUE?
Consider the following languages:
\( L_1 = \{ ww \mid w \in \{a,b\}^* \} \)
\( L_2 = \{ a^n b^n c^m \mid m, n \geq 0 \} \)
\( L_3 = \{ a^m b^n c^n \mid m, n \geq 0 \} \)
Which of the following statements is/are FALSE?