Question 9826 – Compiler-Design
February 13, 2024
Question 9755 – Compiler-Design
February 13, 2024
Question 9826 – Compiler-Design
February 13, 2024
Question 9755 – Compiler-Design
February 13, 2024

Question 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
A
Leftmost derivation
B
Leftmost derivation traced out in reverse
C
Rightmost derivation
D
Rightmost derivation traced out in reverse
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!