Question: Question 1 ( 2 . 5 points ) Saved Which of the following phases of a compiler of a fully compiled language is machine dependent?

Question 1(2.5 points)
Saved
Which of the following phases of a compiler of a fully compiled language is machine dependent?
Question 1 options:
Final code generator
Semantic analyzer
Lexical analyzer
Syntactic analyzer
Question 2(2.5 points)
Saved
Which of the following is not a correct statement regarding feature interaction?
Question 2 options:
Feature interaction is a highly desirable language characteristic
Feature interaction can cause logic errors
Feature interaction can cause ambiguities detected by the compiler
The more features a programming language has, the more likely the features are to interact
Question 3(2.5 points)
Saved
Which of the following language translators translates and executes programs each time it is run?
Question 3 options:
A compiler
An interpreter
An assembler
A JIT compiler
Question 4(2.5 points)
Saved
What kind of an error is an unresolved external reference?
Question 4 options:
Lexical error
Syntax error
Static semantic error
Linker error
Question 5(2.5 points)
Saved
Which of the following languages uses a hybrid implementation?
Question 5 options:
C
C++
Ada
Java
Question 6(2.5 points)
Saved
Which of the following is not a compilation error?
Question 6 options:
Syntax error
Static semantic error
Logic error
Lexical error
Question 7(2.5 points)
Saved
Which of the following languages is not an imperative language?
Question 7 options:
Prolog
ALGOL
Fortran
COBOL
Question 8(2.5 points)
Saved
In a fully compiled language, which pass is machine independent?
Question 8 options:
None of them
Both of them
The second pass
The first pass
Question 9(2.5 points)
Saved
Which of the following translation systems produces the fastest program execution?
Question 9 options:
An interpreter
A preprocessor
A full compiler
A hybrid implementation
Question 10(2.5 points)
Saved
What language was the first high level language designed for computerizing business records?
Question 10 options:
COBOL
LISP
APL
Fortran
Question 11(2.5 points)
Saved
Which of the following phases are generally not included in the first pass of most compilers of fully compiled languages?
Question 11 options:
Syntactic analyzer
Final code generator
Semantic analyzer
Lexical analyzer
Question 12(2.5 points)
Saved
When every combination of two language features are valid, what term describes the relationship between those features?
Question 12 options:
Orthogonal
Combinable
Compatible
Independent
Question 13(2.5 points)
Saved
In C or C++, when a = is used when a == is intended, which of the following occur?
Question 13 options:
The code is misinterpreted and a logic error is the result
A runtime exception will be thrown
The = is automatically changed to a ==
The program fails to compile
Question 14(2.5 points)
Saved
Which of the following languages is the newest?
Question 14 options:
Java
Ada
C
C#
C++
Question 15(2.5 points)
Saved
Which of the following languages was designed as a functional programming language?
Question 15 options:
ALGOL
Fortran
LISP
COBOL
Question 16(2.5 points)
Saved
Which of the following is the input to a compiler?
Question 16 options:
Object code
Executable code
Source code
Intermediate code
Question 17(2.5 points)
Saved
In which of the following orders did the C family of languages evolve?
Question 17 options:
C, C++, Java, C#
C, C#, C++, Java
C, C++, C#, Java
C, C#, Java, C++
Question 18(2.5 points)
Saved
Which of the following programs is responsible for combining the object files that result from separate compiled source files?
Question 18 options:
An interpreter
An assembler
A linker
A compiler
Question 19(2.5 points)
Saved
Which of the following languages is not an object-oriented language?
Question 19 options:
C++
Java
Ada 95
C
Question 20(2.5 points)
Saved
Which phase of the compiler produces the parse tree?
Question 20 options:
Lexical Analyzer
Intermediate Code Generator
Semantic Analyzer
Syntactic Analyzer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!