FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Translate and execute high level code-Line by Line, Statement by Statement.
A
Interpretor
B
Translator
C
Compiler
D
Assembler
Explanation: 

Detailed explanation-1: -Compiler: The language processor that reads the complete source program written in high-level language as a whole in one go and translates it into an equivalent program in machine language is called a Compiler. In a compiler, the source code is translated to object code successfully if it is free of errors.

Detailed explanation-2: -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.

Detailed explanation-3: -An interpreter translates source code into object code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence. The resulting object code is then executed immediately. The process is called interpretation .

Detailed explanation-4: -Compiler scans the entire program and convert into machine code while interpreter translate the program line by line.

There is 1 question to complete.