>
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:
June 02, 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
Melting rates of electrodes in manual metal arc welding process is mainly governed by the
TS PGECET - 2024
Manufacturing Processes
View Solution
The maximum area of a rectangle that can be inscribed in a circle of radius $R$ is
TS PGECET - 2024
3D Geometry
View Solution
For the matrix \[ \begin{bmatrix} 2 & 1 & 1 \\ 0 & 2 & 1 \\ 1 & 0 & 1 \end{bmatrix}, \] an Eigen vector among the following vectors is
TS PGECET - 2024
Linear Algebra
View Solution
Which of the following expression is a tautology?
TS PGECET - 2024
Digital Logic
View Solution
The 2’s complement representation of the decimal value $-15$ is
TS PGECET - 2024
Digital Logic
View Solution
View More Questions
TS PGECET Notification
OCT Bhopal Admission 2025
June 02, 2025
OCT Bhopal Admission 2025
Read More