answersLogoWhite

0


Best Answer

An object program is a compiled program ready to be loaded on a computer,

i.e. machine code, ready to be executed by the machine.

A source program is what the programmer wrote, which is then translated into object program by a compiler.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

Source files are the high-level code files that we use to both develop and maintain our programs. Object files contain the symbolic machine code produced by the compiler from our source files. Object files are used by the linker to produce a machine code executable.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Source files are a requirement of any programming language -- that's where the code is actually written. Object files are created by compilers. They are important because they are the files used by the linker to produce the actual machine code.

Java does not produce machine code, it produces byte code which can run in the Java virtual machine.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Object code is necessary because compiling a large and complex program can take many minutes or even hours. By modularising your code into separate translation units, only those units affected by code changes since the last compilation need to be recompiled. This is achieved by creating object files containing the object code for each translation unit. Once all translation files have been compiled, they can then be linked to create the final executable. Some translation units may be inter-dependent upon other translation units. For instance, suppose unit A is dependent upon units B and C, but B and C are not dependent upon each other. Assuming all three have been compiled at some point, any future changes to B will result in both B and A being recompiled (in that order), but the object code for C is not affected and does not need to be recompiled. For that reason it is (usually) best to start with low-level units first, those for which there may be a high number of dependants. Once the low-level units are finalised you shouldn't have to change them in future thus their dependants won't need to be continually recompiled. It is also useful to create just one dependant (even a temporary one) that thoroughly tests your low-level units.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

The source program is the source code the programmer writes. The object program constitutes the object files containing the object code created by the compiler which is used by the linker to create the machine code.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

source program is a program written in general language (English) which can be understood by users. where as, object program or object module is written in a language which the system can understand( binary language 0's and 1's)....

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

A source program contains source code while an object module contains object code. Object code is the output typically produced by a C or C++ compiler from source code. Each translation unit in the source code produces one object module. In order to produce machine code from the object code, the object modules must be linked together along with any static library code required by the program. This is achieved with a separate program called a linker.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between a source program and an object module?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between make and compile in c?

make is a utility program, compile means translation from source to object module.


What is the difference between a sprite and an object?

a sprite is a computer program that moves.


Difference between source program and object program in fortran 77?

plz tel me befre 12 pm as i hv sessnal xam...


In vb6.0 difference between bas file and cls file?

Deciding between a standard module and a class module is not a decision based on performance, but one of design. The main difference between the two is in the way that they handle data. A standard module stores only one copy of the data. A class module encapsulates the data within each instance of the class. That is, for each instance of the class, the data exists separately. The other main difference is the scope of variables and procedures within the module. In general, any variables and procedures declared as Public within a standard module are visible anywhere in the project or external programs if the standard module is in a component. Variables and procedures declared as Public within a class module can only be seen through a reference to an instance of the class module. The lifetime of data and procedures stored within a module is affected by which type of module is used. The lifetime of the data and procedures in a class module is defined by the lifetime of the object. So data and procedures are available only if a reference to the object exists. Data and procedures declared within standard modules are available for the lifetime of the program. Therefore, to answer your question, if you are writing a function that you want available throughout the lifetime of the program and visible to all code in the application, then place the function within a standard module.


difference between object and oriented program?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


What is difference between Schema and Subschema?

SCHEMA is the physical arrangement of the data as it appears in the DBMS. SUB-SCHEMA is the logical view of the data as it appears to the application program.


What is the difference between a form file object and a windows form object?

difference between a form file and a form.


difference between tripitaka and jataka?

[object Object]


What is the difference between force and tension?

[object Object]


What is the difference between nature miracles and healing miracles?

What is the difference between nature miracle and healing miracle


What is difference between design and debug visual basic?

Design - Placing object on the form - Buttons, Textboxes.... Debug - The program actually runs the code.


what is the biggest difference between soot and diamond?

[object Object]