COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Before a computer can understand a program it must be____
A
Translated into its machine code.
B
Translated into a high level language.
C
Translated into a low level language.
D
None of the above
Explanation: 

Detailed explanation-1: -Ultimately, the source code of every human-readable programming language must be translated to machine language by a compiler or an interpreter, because binary code is the only language that computer hardware can understand. Each CPU has its own specific machine language.

Detailed explanation-2: -High-level language programs must also be translated to machine language before they can be executed. The translator programs that do this are called compilers (Figure 9-4). Compilers for a particular high-level language can be produced for various computers with different machine languages.

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

Detailed explanation-4: -Answer: We convert our programs to machine language so that it can be understood by the computer.

There is 1 question to complete.