FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which type of major language translator produces an equivalent program in a form suitable for execution?
A
Interpreter
B
Compiler
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Assembler − An assembler is a translator which translates an assembly language program into an equivalent machine language program of the computer. Assembler provides a friendlier representation than a computer 0’s and 1’s that simplifies writing and reading programs.

Detailed explanation-2: -Assembler. Assemblers are used to translate a program written in a low-level assembly language into a machine code (object code) file so it can be used and executed by the computer.

Detailed explanation-3: -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-4: -An assembler converts assembly language into machine language.

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

There is 1 question to complete.