December2015 cs Q24

0. The language of all non-null strings of a’s can be defined by a context free grammar as follow: S → aS|Sa|a The word a3 can be generated by __________ different trees.

  • Option : C
  • Explanation :
    The production: S → aS|Sa|a will generate

    So, option (C) is correct
Cancel reply

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


Cancel reply

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