For the grammar S → AB, A → a | ε, B → b | ε, the set FIRST(S) isA{a}B{a, b}C{b, epsilon}D{a, b, epsilon} Correct answer: D ExplanationFIRST(A) = {a, ε} and FIRST(B) = {b, ε}; because A can vanish, FIRST(S) also contains b, and because both A and B can derive ε, S can derive ε too. Join the discussion Report an error