SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
An implementation of a language is ____ if a compiler guarantees that the program it accepts will run without type errors.
|
loosely typed
|
|
strongly typed
|
|
weakly typed
|
|
none of these
|
Explanation:
Detailed explanation-1: -A compiled language is a programming language whose implementations are typically compilers (translators that generate machine code from source code), and not interpreters (step-by-step executors of source code, where no pre-runtime translation takes place).
Detailed explanation-2: -Strong typing means that variables do have a type and that the type matters when performing operations on a variable. Dynamic typing means that the type of the variable is determined only during run time.
There is 1 question to complete.