Programming Languages With Compiler FQuiz 1 PDF
Programming Languages With Compiler FQuiz 1 PDF
Question 1 Another approach in parsing that starts with the string and reduce it to the start symbol by applying
Correct the productions backwards
Mark 1.00 out of
1.00 Select one:
a. Bottom-up Parsing
b. Middle-up
c. Top-Down
d. Bottom-down
Question 2 It is characterized by its ability to choose the production to apply solely on the basis of the next input
Correct symbol and the current non-terminal being processed.
Mark 1.00 out of
1.00 Select one:
a. Comparative Parser
c. Historical Parser
d. Analytical Parser
e. Predictive Parser
b. Analytical Parser
c. Comparative Parser
a. Comparative Parser
e. Predictive Parser
This study source was downloaded by 100000806178292 from CourseHero.com on 11-04-2022 00:38:38 GMT -05:00
b. Nodes
c. Leaves
d. Terminal
Question 5 An approach in parsing that starts with the start symbol and apply the productions until it arrives at the
Correct desired string.
Mark 1.00 out of
1.00 Select one:
a. Top-Down
b. Middle-up
d. Bottom-down
e. Bottom-up Parsing
Question 6 Placing some restrictions on how to process the input is done in creating a parser for a compiler.
Correct
False
False
This study source was downloaded by 100000806178292 from CourseHero.com on 11-04-2022 00:38:38 GMT -05:00
https://www.coursehero.com/file/103146299/Programming-Languages-with-Compiler-FQuiz-1pdf/
https://trimestral.amaesonline.com/mod/quiz/review.php?attempt=810959&cmid=36538 2/3
10/4/2020 Final Quiz1: Attempt review
c. Lookahead
d. Successor
Question 9 Bottom-down and Top-up are the two major parsing approaches in parsing.
Correct
False
Question 10 The lexical analysis phase of a compiler verifies that the sequence of tokens extracted by the scanner
Correct represents a valid sentence in the grammar of the programming language
Mark 1.00 out of
1.00 Select one:
True
False
This study source was downloaded by 100000806178292 from CourseHero.com on 11-04-2022 00:38:38 GMT -05:00
https://www.coursehero.com/file/103146299/Programming-Languages-with-Compiler-FQuiz-1pdf/
https://trimestral.amaesonline.com/mod/quiz/review.php?attempt=810959&cmid=36538 3/3
Powered by TCPDF (www.tcpdf.org)