Professional Documents
Culture Documents
Self-Quiz 2 Compilers Versus Interpreters Attempt Review
Self-Quiz 2 Compilers Versus Interpreters Attempt Review
Self-Quiz 2 Compilers Versus Interpreters Attempt Review
Question 1
Correct
The term compiler was coined in the 1950's by which of the following?
Select one:
a. Grace Hopper
b. Alan Turing
c. John von Neumann
d. John Backus
Question 2
Correct
Which of the following is NOT one of the steps or 'phases' of the compilation process.
Select one:
a. Code Generation
b. Syntax Analysis
c. Lexical Analysis
d. Error Checking
1 of 4 21-Nov-22, 9:00 AM
Self-Quiz 2: Compilers versus interpreters: Attempt review https://my.uopeople.edu/mod/quiz/review.php?attempt=9110245&cmi...
Question 3
Correct
The lexical analysis phase of the compilation process is also known as:
Select one:
a. Tokenizing
b. Optimization
c. Preprocessing
d. Assembling
Question 4
Correct
Which of the following expressions can be evaluated as syntactically correct by the following grammar?
E = N | E "+" E.
N = "1" | "2" | "3" | "4" .
Select one:
a. X=1+2
b. 6 + 3 + 1
c. 4+2+1
d. = 4 + 2 + 1
2 of 4 21-Nov-22, 9:00 AM
Self-Quiz 2: Compilers versus interpreters: Attempt review https://my.uopeople.edu/mod/quiz/review.php?attempt=9110245&cmi...
Question 5
Correct
Select one:
a. Tracing
b. Breakpoints
c. Examine/modify data
d. Assemble code
Question 6
Correct
True/False: Real time, every time is a way of describing the role of a compiler as opposed to an interpreter.
Select one:
True
False
Question 7
Correct
True/False: The front end of a compiler is language-dependent and the back-end is computer dependent.
Select one:
True
False
3 of 4 21-Nov-22, 9:00 AM
Self-Quiz 2: Compilers versus interpreters: Attempt review https://my.uopeople.edu/mod/quiz/review.php?attempt=9110245&cmi...
Question 8
Correct
Select one:
True
False
Question 9
Correct
Select one:
True
False
Question 10
Correct
True/False: The loader compiles a program and performs type checking on it.
Select one:
True
◄ Self-Quiz 1: Syntax and Semantics including EBNF and Compiler concepts
False
Jump to...
4 of 4 21-Nov-22, 9:00 AM