A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. S -> aSa|bSb|a|b; The language generated by the above grammar over the alphabet {a,b} is the set of
a. All palindromes
b. All odd length palindromes
c. Strings that begin and end with the same symbol
d. All even length palindromes
Answer:All odd length palindromes
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: