COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
ASSEMBLER
|
|
INTERPRETER
|
|
COMPILER
|
|
None of the above
|
Detailed explanation-1: -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-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: -Executable Code means the fully compiled version of a software program that can be executed by a computer and used by an end user without further compilation. Source Code for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
Detailed explanation-4: -Source code is generally understood to mean programming statements that are created by a programmer with a text editor or a visual programming tool and then saved in a file. Object code generally refers to the output, a compiled file, which is produced when the Source Code is compiled with a C compiler.
Detailed explanation-5: -A compiler is similar to an interpreter. However, a compiler is faster than an interpreter and translates the entire file at once. An interpreter reads the source program line by line and, therefore, is a slower process. TurboC++ and Keil are two specific examples of commonly used compilers.