Question 9826 – Compiler-Design
February 13, 2024Question 9755 – Compiler-Design
February 13, 2024Question 9827 – Compiler-Design
Which of the following derivations does a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order.
Correct Answer: A
Question 30 Explanation:
Top-down parser – Leftmost derivation
Bottom-Up parser – Reverse of rightmost derivation
Bottom-Up parser – Reverse of rightmost derivation
Leftmost derivation
Leftmost derivation traced out in reverse
Rightmost derivation
Rightmost derivation traced out in reverse
Subscribe
Login
0 Comments