GATE CS 2017 Set 1 — Question 7

Multiple choice 1 mark Question 7 2017

Question 7

MCQ 1 marks · −0.33 Compiler Design

Consider the following grammar:

P → x Q R S
Q → y z | z
R → w | ε
S → y

What is FOLLOW(Q)?

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2017 Computer Science and Information Technology, Set 1, Q7 (question number approximate)