>
Exams
>
Computer Science & Information Technology
>
Compiler Design
>
which derivation is generated by the top down pars
Question:
Which derivation is generated by the top-down parser?
Show Hint
Top-down = leftmost derivation; bottom-up = rightmost derivation in reverse.
TS PGECET - 2024
TS PGECET
Updated On:
May 26, 2025
Right most derivation in reverse
Left most derivation
Right most derivation
Left most derivation in reverse
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
Top-down parsers build the parse tree from the root, choosing leftmost derivations first.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Compiler Design
Which ONE of the following statements is FALSE regarding the symbol table?
GATE CS - 2025
Computer Science and IT Engineering
Compiler Design
View Solution
Which ONE of the following techniques used in compiler code optimization uses live variable analysis?
GATE CS - 2025
Computer Science and IT Engineering
Compiler Design
View Solution
Which among the following is used in various phases of the compiler?
TS PGECET - 2024
Computer Science & Information Technology
Compiler Design
View Solution
Which of the following is NOT a function of the shift-reduce parser?
TS PGECET - 2024
Computer Science & Information Technology
Compiler Design
View Solution
What is the output of lexical analyzer?
TS PGECET - 2024
Computer Science & Information Technology
Compiler Design
View Solution
View More Questions
Questions Asked in TS PGECET exam
A bag contains 3 red and 2 blue balls. Two balls are drawn without replacement. What is the probability that both are red?
TS PGECET - 2025
Probability
View Solution
Which of the following techniques is primarily used for the synthesis of carbon nanotubes?
TS PGECET - 2025
Strength of Materials
View Solution
In which year was the Earth Summit (Rio Conference) held?
TS PGECET - 2025
Environmental pollution
View Solution
The term "carrying capacity" refers to:
TS PGECET - 2025
Sustainable Development
View Solution
Which of the following is an example of non-point source pollution?
TS PGECET - 2025
Environmental pollution
View Solution
View More Questions