COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
which two statements are true of a compiler?
A
the translation is done once only and as a separate process
B
when an error is found this is reported and it stops. It pinpoints the error so the programmer knows where it has occurred
C
the program can be easily edited as it always exists as source code
D
the program that is run is already translated into machine code so it can be executed more rapidly
Explanation: 

Detailed explanation-1: -A compiler translates a program written in a high-level language into Machine language or that transforms computer code written in one programming language into another programming language.

Detailed explanation-2: -Statement 1 : A Compiler is a program that translates a high-level language program into a machine language program and then executes it, whereas an interpreter is a program that translates one statement of a high-level language program into machine code and then executes it.

Detailed explanation-3: -False: Compiler: A program that translates instructions written in a high-level language into the equivalent machine language.

Detailed explanation-4: -Programs that use compilers to translate their code can sometimes run faster than interpreted code. A compiler keeps source code contained and private from end-users, which can be especially beneficial for programs that use commercial code. More items •26-Jan-2023

There is 1 question to complete.