In C or C++, when a = is used when a == is intended, which of the following occu
ID: 3781474 • Letter: I
Question
In C or C++, when a = is used when a == is intended, which of the following occur?
Question 20 options:
The program fails to compile
The = is automatically changed to a ==
A runtime exception will be thrown
The code is misinterpreted and a logic error is the result
---------------------
Which of the following translation systems produces the fastest program execution?
Question 19 options:
A full compiler
A preprocessor
A hybrid implementation
An interpret
-------------------
Which of the following languages was designed as a functional programming language?
Question 16 options:
Fortran
LISP
COBOL
ALGOL
------------------
What language was the first high level language designed for computerizing business records?
Question 15 options:
Fortran
APL
COBOL
LISP
------------
High level language compilers that include macros require which of the following compiler front-ends?
Question 12 options:
Scanner
Parser
Macro translator
Preprocessor
-------------------
What is the output of the syntactic analyzer?
Question 11 options:
Parse Tree
Lexemes
Intermediate code
Tokens
-----------------------
Which of the following is not a correct statement regarding feature interaction?
Question 10 options:
Feature interaction can cause logic errors
Feature interaction can cause ambiguities detected by the compiler
Feature interaction is a highly desirable language characteristic
The more features a programming language has, the more likely the features are to interact
-----------------
Which of the following languages uses a hybrid implementation?
Question 9 options:
Ada
C++
C
Java
----------------------
When every combination of two language features are valid, what term describes the relationship between those features?
Question 8 options:
Compatible
Independent
Orthogonal
Combinable
The program fails to compile
The = is automatically changed to a ==
A runtime exception will be thrown
The code is misinterpreted and a logic error is the result
---------------------
Which of the following translation systems produces the fastest program execution?
Question 19 options:
A full compiler
A preprocessor
A hybrid implementation
An interpret
-------------------
Which of the following languages was designed as a functional programming language?
Question 16 options:
Fortran
LISP
COBOL
ALGOL
------------------
What language was the first high level language designed for computerizing business records?
Question 15 options:
Fortran
APL
COBOL
LISP
------------
High level language compilers that include macros require which of the following compiler front-ends?
Question 12 options:
Scanner
Parser
Macro translator
Preprocessor
-------------------
What is the output of the syntactic analyzer?
Question 11 options:
Parse Tree
Lexemes
Intermediate code
Tokens
-----------------------
Which of the following is not a correct statement regarding feature interaction?
Question 10 options:
Feature interaction can cause logic errors
Feature interaction can cause ambiguities detected by the compiler
Feature interaction is a highly desirable language characteristic
The more features a programming language has, the more likely the features are to interact
-----------------
Which of the following languages uses a hybrid implementation?
Question 9 options:
Ada
C++
C
Java
----------------------
When every combination of two language features are valid, what term describes the relationship between those features?
Question 8 options:
Compatible
Independent
Orthogonal
Combinable
Explanation / Answer
Q20. The code is misinterpreted and a logic error is the result
Q19. A full compiler
Q16. LISP
Q15. COBOL
Q12. Preprocessor
Q11. ParseTree