MCQ · 2 marks · Context Free Languages

GATE CS 2014 CS-3 — Q36

Consider the following languages over the alphabet Σ={0,1,c}\Sigma = \{0, 1, c\}:

L1={0n1n∣n≥0}L_1 = \{0^n1^n \mid n \ge 0\}
L2={wcwr∣w∈{0,1}∗}L_2 = \{wcw^r \mid w \in \{0, 1\}^*\}
L3={wwr∣w∈{0,1}∗}L_3 = \{ww^r \mid w \in \{0, 1\}^*\}

Here, wrw^r is the reverse of the string ww. Which of these languages are deterministic Context-free languages?
Select one option