Discussion Locked

Source Program vs. Object Program

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My son is working on a Boy Scout merit badge in computers and needs to know the difference between a Source Program and an Object Program.
TIA for your help.

Andy Hyer
hyers@sisna.com

6 replies

by thechas

From the PC Webopedia:

In object-oriented programming, an object is a self-contained entity that consists of both data and procedures to manipulate the data.

Source programming is where you write a series of statements (arguments, algorithims,commands) and compile them into a program.

I could not find as concise a definition of Source as I did of Object.

Chas

by john_wills

a source program is the text of a program. An object program is the pattern of bits into which a compiler or assembler translates the source program. A computer cannot directly run a source program, so a program(compiler, assembler) translates the source code into object code.
Sometimes we use the expression "Object code" not for what the computer directly executes but for a translation of the source code into a set of instructions which a program called an interpreter reads and produces suitable results for.

The "object" to which the preceding contributor referes is something different, a construct in programming.

This discussion is closed to new replies.