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

Coal India Management Trainee CBT 2019

Which of the following derivation does a top-down parser use while parsing a input string? The input is assumed to be scanned in left to right order.

  1. A.

    Topmost derivation

  2. B.

    Leftmost derivation traced out in reverse

  3. C.

    Leftmost derivation

  4. D.

    Rightmost derivation

Attempted by 756 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…