Consider the grammar defined by the following prod...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
TNPSC Prelims previous year questions

Consider the grammar defined by the following production rules, with two operators * and + S → T + P T → U/T * U P → Q + P/Q Q → id U → id which one of the following is TRUE?

Asked in TNPSC COMPUTER APPLICATION (Subject Code 289)

  1. + is left associative, while * is right associative
  2. + is right associative, while * is left associative
  3. Both + and * are right associative
  4. Both + and * are left associative
  5. Answer not known

Answer under review: our editors are checking this question. Try the other TNPSC Prelims previous year questions questions meanwhile.

More TNPSC Prelims previous year questions questions

All 17,707 TNPSC Prelims previous year questions questions →