GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set2

GATE 2021 set2 · CS · MSQ · 2 marks · Theory of Computation › Context Free Languages

GATE 2021 set2 Computer Science and Information Technology question: For a string w, we define w R to be the reverse of w. For example, if w = 01101 then w R…

For a string , we define to be the reverse of . For example, if then .
Which of the following languages is/are context-free?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: B,C,D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion