Exam 11: Compilers and Language Translation
Exam 1: An Introduction to Computer Science50 Questions
Exam 2: Algorithm Discovery and Design50 Questions
Exam 3: The Efficiency of Algorithms50 Questions
Exam 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates50 Questions
Exam 5: Computer Systems Organization50 Questions
Exam 6: An Introduction to System Software and Virtual Machines50 Questions
Exam 7: Computer Networks and Cloud Computing50 Questions
Exam 8: Information Security50 Questions
Exam 9: Introduction to High-Level Language Programming50 Questions
Exam 10: The Tower of Babel: Programming Languages50 Questions
Exam 11: Compilers and Language Translation50 Questions
Exam 12: Models of Computation50 Questions
Exam 13: Simulation and Modeling50 Questions
Exam 14: Ecommerce, Databases, and Data Science50 Questions
Exam 15: Artificial Intelligence50 Questions
Exam 16: Computer Graphics and Entertainment: Movies, Games, and Virtual Communities50 Questions
Exam 17: Making Decisions About Computers, Information, and Society50 Questions
Select questions type
High-level languages must be translated into machine language before they can be executed. _________________________
(True/False)
4.8/5
(45)
A(n)____ is a compiler embedded with a collection of supporting software.
(Multiple Choice)
4.8/5
(34)
During the parsing phase, the sequence of tokens formed by the scanner is checked to see whether it is _________ correct according to the rules of the programming language.
(Multiple Choice)
5.0/5
(24)
Explain what the goal symbol is, and explain what its significance is.
(Essay)
4.8/5
(35)
Focus on one of the three optimizations discussed and explain the type of program it would be best suited for and the type of program that it wouldn't be very good with.
(Essay)
4.9/5
(37)
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.
(Short Answer)
4.8/5
(36)
The code a compiler produces should be reasonably efficient and concise.
(True/False)
4.7/5
(35)
A ____ is a data structure that stores information about a nonterminal, such as the actual name of the object and its data type.
(Multiple Choice)
4.8/5
(48)
____ is the ability to write highly optimized programs that contain no wasted time or unnecessary memory cells.
(Multiple Choice)
4.8/5
(43)
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.
(Short Answer)
4.8/5
(49)
____ is where the compiler polishes and fine-tunes the translation so that it runs a little faster or occupies a little less memory.
(Multiple Choice)
4.9/5
(43)
In BNF, the syntax of a language is specified as a series of rules . _________________________
(True/False)
4.7/5
(29)
Parsing is the first phase of the compilation process. _________________________
(True/False)
4.7/5
(48)
____ begins at the productions in the tree that are nearest to the original input tokens.
(Multiple Choice)
4.8/5
(36)
Present what each individual BNF rule looks like, and briefly explain its components.
(Essay)
4.7/5
(37)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)