...
Question 8886 – ISRO CS 2020
January 7, 2024
ISRO CS 2020
January 7, 2024
Question 8886 – ISRO CS 2020
January 7, 2024
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

Leave a Reply

Your email address will not be published. Required fields are marked *