UGC NET CS 2013 June-paper-2 | Parsers



Which is the correct statement(s) for Non Recursive predictive parser ?
S1 : First(α) = { t | α⇒ *tβ for some string β}⇒ *tβ
S2 : Follow(X) = { a | S⇒ *αXaβ for some strings α and β}

  1. Both statements S1 and S2 are incorrect.
  2. S1 is incorrect and S2 is correct.
  3. S1 is correct and S2 is incorrect.
  4. Both statements S1 and S2 are correct.




Answer : D

Explanation:
Both statements S1 and S2 are correct.
Do U have Better Solution ?
Contribute your Solution in Comment Section below

Leave a Reply