Question 28Asked in BEL PE Computer Science, 20 Dec 2025 (5:00 PM)

For the grammar below, what is FIRST(S)? S → aA | bB

For the grammar below, what is FIRST(S)? S → aA | bB
  1. A{a}
  2. B{b}
  3. C{a, b}
  4. D{ε}
Show answerHide answer

Correct answer: (C) {a, b}

From BEL PE Computer Science PYQ, 20 Dec 2025 (5:00 PM)

This is question 28 of BEL PE Computer Science PYQ, 20 Dec 2025 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.