Context Free Language · Theory of Computation
41 questions · asked in 24 of 27 years (2000–2026)
MCQ 36 · MSQ 51-mark 23 · 2-mark 18
2000Questions per year2026
Questions 41–41 of 41
Let L denote the languages generated by the grammar . Which of the following is TRUE?
Answer: (B)
Start from , which gives 00. Each use of puts one 0 on each side, so it adds two 0s. So the strings are 00, 0000, 000000, and so on:
. This has a regular expression, so it is regular. It is not because the string 0 is in but not in (all lengths in are even).
Answer: (B)
. This has a regular expression, so it is regular. It is not because the string 0 is in but not in (all lengths in are even).
Answer: (B)
Keep practising