Syntax Analysis26

0. Which of the following grammar rules violate the requirements of an operator grammar?
P, Q, R are not terminals and r, s, t are terminals.
(i) P → Q R
(ii) P → Q s R
(iii) P → ε
(iv) P → Q t R r

  • Option : B
  • Explanation :
    P → QR and P → ε is not possible for operator grammar.
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 *