Computer Science, asked by Noeljiji7149, 10 months ago

Differentiate between source program And object program

Answers

Answered by ridhimakh1219
15

Differentiate between source program And object program

Explanation:

Main difference between source program and object program is that source program is set of instructions called program developed by a programmer using any High Level languages like java, C++,  easily readable or understood by human being whereas Object program refers to  machine executable program translated after compilation of a source program using compiler.

For Example:

A program written by programmer in C++ language is called source program having .cpp extension such as add.cpp

Corresponding machine language program is called object program with .obj extension generated by compiling the source code using C++ compiler.

.cpp refers to C++ source file

.obj refers to an object program file.

Answered by niveharsu
11

Answer:

The main difference between source program and object program is that a source program is a collection of instructions written using a programming language, while an object program is an output generated after compiling the source program.

A program is a set of instructions that directs the computer to perform a task. A programmer writes the program using a specific programming language, and this program is called the source program. The compiler compiles the source code to generate the object program. Overall, the programmer understands the source program but does not understand the object program. On the other hand, the machine does not understand the source program but understands the object program.

Explanation:

i hope this helps you

please mark me as brainliest

and please follow me

Similar questions