Question
a.
Leftmost derivation
b.
Leftmost derivation traced out in reverse
c.
Rightmost derivation
d.
Rightmost derivation traced out in reverse
Posted under Systems Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following derivation a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order ?
Similar Questions
Discover Related MCQs
Q. The error that can be pointed out by the compiler are
View solution
Q. The task of the logical analysis phase is
View solution
Q. The output of lexical analyzer is
View solution
Q. Pick the machine independent pahse of the compiler
View solution
Q. The bottom up parser generates
View solution
Q. The top down parser generates
View solution
Q. Type checking is normally done during
View solution
Q. The action of parsing the source program into proper syntactic classes is called
View solution
Q. A top down parser generates
View solution
Q. Shift reduce parsers are
View solution
Q. Input to code generator is
View solution
Q. Local and loop optimization in turn provide motivation for
View solution
Q. _________or scanning is the process where the stream of characters making up the source program is read from left to right and grouped into tokens.
View solution
Q. The symbol table implementation is based on the property of locality of reference is
View solution
Q. Which of the following are Lexemes?
View solution
Q. What constitutes the stages of the compilation process?
View solution
Q. The lexical analyzer takes_________as input and produces a stream of_______as output.
View solution
Q. Parsing is also known as
View solution
Q. __________ a part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories.
View solution
Q. _________an IR-to-IR transformer that tries to improve the IR program in some way.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Systems Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!