Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Liberty University - CSIS 110|Chapter 11-CSIS 110 Question and answers 100% correct

Document preview thumbnail
Preview 2 out of 6 pages

Liberty University - CSIS 110|Chapter 11-CSIS 110 Question and answers 100% correct High-level languages must be translated into machine language before they can be executed. T/F - True 2. Parsing is the first phase of the compilation process. T/F - False 3. In BNF, the syntax of a language is specified as a series of rules. T/F - True 4. Building two parse trees implies that the parser has demonstrated correctness in two different ways. T/F - True 5. The English-language sentence, "The orange artichoke flew through the pink eight-legged elephant" is semantically meaningful. T/F - False 6. The output of a scanner is a list of all the ____________ contained in a high-level language statement as well as the classification number of each token found. - tokens 7. The output of a parser is a(n) complete _______________, or an error message if one cannot be constructed. - parse tree 8. If a parser can convert the sequence of input tokens into the goal symbol, then that sequence of tokens is a syntactically __________ statement of the language. - valid 9. _________

Content preview

Chapter 11-CSIS 110 Question and
answers 100% correct
High-level languages must be translated into machine language before they
can be executed. T/F - True


2. Parsing is the first phase of the compilation process. T/F - False


3. In BNF, the syntax of a language is specified as a series of rules. T/F - True


4. Building two parse trees implies that the parser has demonstrated
correctness in two different ways. T/F - True


5. The English-language sentence, "The orange artichoke flew through the
pink eight-legged elephant" is semantically meaningful. T/F - False


6. The output of a scanner is a list of all the ____________ contained in a
high-level language statement as well as the classification number of each
token found. - tokens


7. The output of a parser is a(n) complete _______________, or an error
message if one cannot be constructed. - parse tree


8. If a parser can convert the sequence of input tokens into the goal symbol,
then that sequence of tokens is a syntactically __________ statement of the
language. - valid


9. ____________ for high-level languages like C++ or Java are very large. -
Grammars

, 10. One of the possible _________ optimizations is eliminating unnecessary
operations. - local


11. A high-level language statement is translated into a single machine
language instruction. T/F - False


12. The singular goal of compilers is correctness. T/F - False


13. The code a compiler produces should be reasonably efficient and concise.
T/F - True


14. The input to a scanner is the machine language statement from the source
program. T/F - False


15. A BNF rule is also known as a token. T/F - False


16. The right-hand side of a BNF rule is the name of a single grammatical
category. T/F - False


17. The goal symbol is the final nonterminal. T/F - True


18. A grammar that allows the construction of two or more distinct parse trees
for the same statement is called a recursive grammar. T/F - False


19. Online debuggers help programmers locate and correct errors in
programs. T/F - True

Document information

Uploaded on
March 8, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$15.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Academia199
3.9
(53)
Sold
377
Followers
209
Items
20098
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions