Theory-of-Computation
December 6, 2023GATE 1996
December 6, 2023Theory-of-Computation
|
Question 36
|
Let L ⊆ Σ* where Σ = {a, b}. Which of the following is true?
|
L = {x|x has an equal number of a’s and b’s } is regular
|
|
|
L = {anbn|n≥1} is regular
|
|
|
L = {x|x has more a’s and b’s} is regular
|
|
|
L = {ambn|m ≥ 1, n ≥ 1} is regular
|
Question 36 Explanation:
L = {ambn|m ≥ 1, n ≥ 1}
Here, m and n are independent.
So ‘L’ Is Regular.
Here, m and n are independent.
So ‘L’ Is Regular.
Correct Answer: D
Question 36 Explanation:
L = {ambn|m ≥ 1, n ≥ 1}
Here, m and n are independent.
So ‘L’ Is Regular.
Here, m and n are independent.
So ‘L’ Is Regular.
