ISRO Computer Science (CSE) 2008 - Question 7

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2008

Consider the grammar: S -> ABCc | bc, BA -> AB, Bb -> bb, Ab -> ab, Aa -> aa. Which of the following sentences can be derived by this grammar?

  • A. abc
  • B. aab
  • C. abcc
  • D. abbc

Explanation: None of the given options can be derived from the grammar as specified in the question text.

| | All questions of ISRO Computer Science (CSE) 2008