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, The Internet, and the World Wide Web50 Questions
Exam 8: Information Security50 Questions
Exam 9: Introduction to High-Level Language Programming50 Questions
Exam 10: The Tower of Babel50 Questions
Exam 11: Compilers and Language Translation50 Questions
Exam 12: Models of Computation49 Questions
Exam 13: Simulation and Modeling50 Questions
Exam 14: Electronic Commerce and Databases50 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
____ is the ability to write highly optimized programs that contain no wasted time or unnecessary memory cells.
Free
(Multiple Choice)
5.0/5
(38)
Correct Answer:
D
In the ____ phase, the compiler examines the individual characters in the source program and groups them into tokens.
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
C
The singular goal of compilers is correctness.
Free
(True/False)
4.8/5
(36)
Correct Answer:
False
Explain what metasymbols are and discuss their use as part of BNF rules.
(Essay)
4.9/5
(38)
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.9/5
(40)
Explain what the goal symbol is, and explain what its significance is.
(Essay)
4.9/5
(36)
During parsing, a compiler deals only with the ____ of a statement.
(Multiple Choice)
4.9/5
(28)
____ is the replacement of slow arithmetic operations with faster ones.
(Multiple Choice)
4.9/5
(34)
The English-language sentence, "The orange artichoke flew through the elephant" is semantically meaningful. _________________________
(True/False)
4.7/5
(33)
A(n) ____ definition defines a nonterminal symbol in terms of itself.
(Multiple Choice)
4.7/5
(36)
One of the possible local ____________________ is eliminating unnecessary operations.
(Short Answer)
4.8/5
(35)
____________________ for high-level languages like C++ or Java are very large.
(Short Answer)
4.7/5
(38)
A grammar that allows the construction of two or more distinct parse trees for the same statement is called a recursive grammar.
(True/False)
4.7/5
(39)
In the ____ phase, the compiler takes the generated code and sees whether it can be made more efficient, either by making it run faster or having it occupy less memory.
(Multiple Choice)
4.8/5
(38)
____ parsing algorithms examine several tokens "down the road" to see what would happen if a certain choice was made.
(Multiple Choice)
4.8/5
(33)
A ____ shows how individual tokens can be grouped into predefined grammatical categories until the desired goal is reached.
(Multiple Choice)
5.0/5
(46)
The input to a scanner is the machine language statement from the source program.
(True/False)
4.8/5
(31)
The output of a(n) ____________________ is a list of all the tokens contained in a high-level language statement, as well as the classification number of each token found.
(Short Answer)
4.7/5
(34)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)