Open In App

GATE | GATE CS 1997 | Question 46

Like Article
Like
Save
Share
Report

Which of the following languages over {a,b,c} is accepted by a deterministic pushdown automata?
a. {wcwR ∣ w∈ {a,b}* }
b. {wwR ∣ w∈ {a,b,c}* }
c. {anbncn ∣ n ≥ 0 }
d. {w ∣ w is a palindrome over {a,b,c} }

Note: wR  is the string obtained by reversing ‘w
(A) a
(B) b
(C) c
(D) d


Answer: (A)

Explanation:

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


Last Updated : 23 Oct, 2017
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads