COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which type of translator creates an executable file of machine code from a program written in a high level language?
A
Compiler
B
Assembler
C
Interpreter
D
Executor
Explanation: 

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: -Compilers have several advantages: Compiled programs run quickly, since they have already been translated. A compiled program can be supplied as an executable file. An executable file is a file that is ready to run.

Detailed explanation-3: -The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).

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

Detailed explanation-5: -A compiler is a special program that translates a programming languageā€™s source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

There is 1 question to complete.