FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What does a translator do?
A
Swaps between different high-level languages
B
Swaps between different machine code types
C
Converts pseudocode to machine code
D
Converts programs to machine code
Explanation: 

Detailed explanation-1: -An interpreter translates source code into machine code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence, as they speak. The resulting machine code is then executed immediately. The process is called interpretation .

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

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

There is 1 question to complete.