Which of the following derivations does a top-down parser use while parsing an…

PYQ UGC NET 2013

Which of the following derivations does a top-down parser use while parsing an input string ? The input is scanned from left to right.

  1. A.

    Leftmost derivation

  2. B.

    Leftmost derivation traced out in reverse

  3. C.

    Rightmost derivation traced out in reverse

  4. D.

    Rightmost derivation

Attempted by 367 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…