GATE | GATE CS 1996 | Question 10

Let L ⊆ ∑* where ∑ = {a, b}. Which of the following is true?

a). L= { x | x has an equal number of a‘s and b‘s } is regular
b). L= { anbn | n ≥ 1 } is regular
c). L= { x | x has more a‘s than b‘s } is regular
d). L= {ambn | m ≥ 1, n ≥ 1 } is regular
(A) a
(B) b
(C) c
(D) d

Answer: (D)


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.