FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A program that translates entire high level language into machine language at onceWhat is this Translator?
A
Assembler
B
Interpreter
C
Compiler
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The high-level program is referred to as ‘the source code.

Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.

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

Detailed explanation-4: -The translator program that converts source code in high level language into machine code line by line is called Interpreter. 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-5: -compiler, computer software that translates (compiles) source code written in a high-level language (e.g., C++) into a set of machine-language instructions that can be understood by a digital computer’s CPU. Compilers are very large programs, with error-checking and other abilities.

There is 1 question to complete.