...
Question 8886 – ISRO CS 2020
January 7, 2024
Question 8888 – ISRO CS 2020
January 7, 2024
Question 8886 – ISRO CS 2020
January 7, 2024
Question 8888 – ISRO CS 2020
January 7, 2024

Question 8887 – ISRO CS 2020

The language which is generated by the grammar S aSa | bSb | a | b over the alphabet {a,b} is the set of

Correct Answer: C

Question 18 Explanation: 
The grammar generates {a, b, aaa, aba, bab, bbb, aaaaa, aabaa, …}
So the grammar generate odd length palindrome.
A
Strings that begin and end with the same symbol
B
All odd and even length palindromes
C
All odd length palindromes
D
All even length palindromes
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!