COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interpreter
|
|
Compiler
|
|
Assembler
|
|
Error diagnostics
|
|
Interpreter and complier
|
Detailed explanation-1: -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-2: -An interpreter on the other hand, interprets and translates a program written in high-level language to low-level language line by line. An assembler translates a program written in a low-level language (assembly language) into machine code so that it can be directly used by a computer to perform a required task.
Detailed explanation-3: -A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code.
Detailed explanation-4: -A compiler is a translator program that converts a high-level language source program into a machine language object program.
Detailed explanation-5: -Some compilers can translate source code into another high-level programming language, rather than machine code or bytecode. This type of compiler might be referred to as a transpiler, transcompiler, source-to-source translator or it might go by another name.