COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Each line of the program needs to be translated each time it is run
|
|
Enables programs to be easily re-edited
|
|
Outputs the finished code into a complete machine code program
|
|
Each time an error is encountered, it stops the program and reports it
|
Detailed explanation-1: -Explanation: The primary and main function of a Compiler is to translate source code from a high-level programming language to a lower-level language like object code. A compiler creates a machine code that runs on a processor with a specific Instruction Set Architecture (ISA), which is processor-dependent.
Detailed explanation-2: -Compilers that translate source code to machine code target specific operating systems and computer architectures. This type of output is sometimes referred to as object code (which is not related to object-oriented programming).
Detailed explanation-3: -Many compilers do not directly generate machine code. Instead, the semantic action routines driven by the parser operate in terms of a high-level virtual machine provided by the interface to the code generator.
Detailed explanation-4: -A program in a high-level language, before being compiled. object code: The output of the compiler, after translating the program.