Exam 11: Compilers and Language Translation

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The input to a scanner is the machine language statement from the source program.

(True/False)
4.7/5
(73)

A ____ shows how individual tokens can be grouped into predefined grammatical categories until the desired goal is reached.

(Multiple Choice)
4.8/5
(77)

In the ____ phase, the compiler examines the individual characters in the source program and groups them into tokens.

(Multiple Choice)
4.9/5
(94)

Online debuggers help programmers locate and correct errors in programs.

(True/False)
4.8/5
(78)

The output of a parser is a(n)complete ____________________, or an error message if one cannot be constructed.

(Short Answer)
4.7/5
(82)

Discuss the difference between syntax and semantics and how it's important in how programs are compiled.  <addition operator> \text { <addition operator>} ::= +

(Essay)
4.9/5
(83)

Following ____, the compiler makes a second pass over the parse tree to produce the translated code.

(Multiple Choice)
4.9/5
(57)

The goal symbol is the final nonterminal.

(True/False)
4.9/5
(74)

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.8/5
(75)

The right-hand side of a BNF rule is the name of a single grammatical category.

(True/False)
4.8/5
(77)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)