Source Program/Source Code

  • Home
  • Source Program/Source Code
Shape Image One

SOURCE PROGRAM/SOURCE CODE

advanced divider

A program or A program written by a programmer in any language other than machine language is called a source program or source code.

OBJECT PROGRAM/OBJECT CODE:

Object program is a program or code that is converted into machine language. (OR) The output from a language translator, which consists of machine language instructions, is called the object program.

DIFFERENCES BETWEEN INTERPRETER AND COMPILER:

Interpreter

⦁ Interpreter translates high level language program into machine language line by line.
⦁ The interpreter translates the program every time when executed.
⦁ The interpreter does not make any object file.
⦁ Errors are displayed for every instruction interpreted if any.
⦁ Examples: BASIC, LISP etc.

Compiler:

⦁ Compiler translates high level language program into machine language as a whole.
⦁ The compiler translates the program once at a time.
⦁ The compiler makes a separate object file for the translated program.
⦁ Errors are displayed after entire program is checked.
⦁ Examples: C Compiler, C++ compiler etc.

Quiz

advanced divider