FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

WHAT IS COMPUTER SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which statement about compilers is false?
A
They create an executable file
B
They are platform specific
C
They turn source code into object code
D
They only translate code one line at a time.
Explanation: 

Detailed explanation-1: -Explanation: the statement “a compiler converts a high level language program into machine language, line by line” is false because a compiler is a program developed to translate or convert the programs written in high level languages into machine readable form NOT line by line.

Detailed explanation-2: -Compilers translate code all at once and the processor then executes upon the machine language that the compiler produced. If changes are made to the code after compilation, the changed code will need to be compiled and added to the compiled code (or perhaps the entire program will need to be re-compiled.)

Detailed explanation-3: -Compilers. Compilers translate an entire computer program into machine language before execution. Interpreters. Interpreters, on the other hand, translate programs one line at a time during execution.

Detailed explanation-4: -A compiler is a special program that translates a programming language’s source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

Detailed explanation-5: -Compilers are a type of translator that support digital devices, primarily computers. The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.

There is 1 question to complete.