COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What does a translator do?
|
Swaps between different high-level languages
|
|
Swaps between different machine code types
|
|
Converts pseudocode to machine code
|
|
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.