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
The righthand side of a BNF rule is the name of a single grammatical category.
(True/False)
4.7/5
(29)
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.9/5
(36)
Building two parse trees implies that the parser has demonstrated correctness in two different ways. _________________________
(True/False)
4.7/5
(34)
The code a compiler produces should be reasonably efficient and concise.
(True/False)
4.9/5
(32)
The collection of all statements that can be successfully parsed is called the ____ defined by a grammar.
(Multiple Choice)
4.9/5
(36)
In BNF, the syntax of a language is specified as a series of grammars. _________________________
(True/False)
4.8/5
(38)
____ 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
(46)
Regardless of which programming language is being analyzed, every scanner performs virtually the same set of operations. What are they?
(Essay)
4.9/5
(39)
In ____ optimization, the compiler looks at large segments of the program to decide how to improve performance.
(Multiple Choice)
4.9/5
(35)
If a parser is analyzing a statement in a language and it sees exactly the same sequence of objects that appears on the right-hand side of a BNF rule, what is it allowed to do?
(Essay)
4.7/5
(42)
Following ____, the compiler makes a second pass over the parse tree to produce the translated code.
(Multiple Choice)
4.8/5
(33)
____ begins at the productions in the tree that are nearest to the original input tokens.
(Multiple Choice)
4.9/5
(36)
High-level languages must be translated into hybrid language before they can be executed. _________________________
(True/False)
4.8/5
(34)
A high-level language statement is translated into a single machine language instruction.
(True/False)
4.8/5
(31)
Performing local optimization is much more difficult than performing global optimization.
(True/False)
4.9/5
(31)
A(n) ____ is a compiler embedded with a collection of supporting software.
(Multiple Choice)
4.8/5
(44)
The output of a parser is a(n) complete ____________________, or an error message if one cannot be constructed.
(Short Answer)
4.9/5
(38)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)