Programming Languages With Compiler FQuiz 2 PDF
Programming Languages With Compiler FQuiz 2 PDF
Programming Languages With Compiler FQuiz 2 PDF
Home / My courses / UGRD-CS6207-2013T / Week #12: Runtime Environments (Part 1) / Final Quiz2
Question 1 Placing some restrictions on how to process the input is done in creating a parser for a compiler.
Correct
False
Question 2 Bottom-down and Top-up are the two major parsing approaches in parsing.
Correct
False
Question 3 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. Bottom-down
d. Top-Down
This study source was downloaded by 100000806178292 from CourseHero.com on 11-04-2022 00:38:46 GMT -05:00
https://www.coursehero.com/file/103146815/Programming-Languages-with-Compiler-FQuiz-2pdf/
https://trimestral.amaesonline.com/mod/quiz/review.php?attempt=810987&cmid=36539 1/3
10/4/2020 Final Quiz2: Attempt review
b. Predictive Parser
c. Analytical Parser
e. Comparative Parser
a. Comparative Parser
Question 5 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
Question 6 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. Analytical Parser
b. Predictive Parser
c. Comparative Parser
d. Historical Parser
Question 7 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
c. Bottom-up Parsing
d. Middle-up
e. Bottom-down
https://trimestral.amaesonline.com/mod/quiz/review.php?attempt=810987&cmid=36539 2/3
10/4/2020 Final Quiz2: Attempt review
False
c. Segments
d. Nodes
e. Leaves
b. Successor
d. Predecessor
This study source was downloaded by 100000806178292 from CourseHero.com on 11-04-2022 00:38:46 GMT -05:00
https://www.coursehero.com/file/103146815/Programming-Languages-with-Compiler-FQuiz-2pdf/
https://trimestral.amaesonline.com/mod/quiz/review.php?attempt=810987&cmid=36539 3/3
Powered by TCPDF (www.tcpdf.org)