Regular Language: GATE CS Previous Year Questions

Regular Language · Theory of Computation

29 questions · asked in 18 of 27 years (2000–2026)

MCQ 25 · MSQ 3 · NAT 11-mark 20 · 2-mark 9

2000Questions per year2026

Questions 26–29 of 29

Q26GATE 20061 markMCQ−0.33 if wrong
If s is a string over (0+1)*, then let n0(s)n_0 (s) denote the number of 0's in s and n1(s)n_1 (s) the number of 1's in s. Which one of the following languages is not regular?

Q27GATE 20051 markMCQ−0.33 if wrong
A language L satisfies the Pumping Lemma for regular languages, and also the Pumping Lemma for context-free languages. Which of the following statements about L is TRUE?

Q28GATE 20011 markMCQ−0.33 if wrong
Consider the following languages :
L1 = {ww| w∈\in {a,b}*}
L2 = {wwR∣w^{R}| w∈\in {a,b} *, wRw^{R} is the reverse of w}
L3 = {02i0^{2i}| i is an integer}
L4 ={0i20^{{i}^{2}} | i is an integer}
Which of the languages are regular ?

Q29GATE 20011 markMCQ−0.33 if wrong
Consider the following two statements :
S1: {02n∣n≥10^{2n} \mid n\geq 1} is a regular language
S2 : {0m1n0m+n∣m≥1 and n≥10^{m}1^{n}0^{m+n} \mid m\geq 1 \text{ and } n\geq 1} is a regular language
Which of the following statements is correct?

Keep practising

Topics in Theory of Computation

All CS topics ›