What are the concepts of source program and object program? Also describe the importance of language translator. | web4study

What are the concepts of source program and object program? Also describe the importance of language translator.



programming language

 

Source Program:

A program written in a high-level language such as C files, C++ files, Java files is called source code. The source code is also called source. program. The computer cannot understand the statements of the high-level language. The source code cannot be executed by computer directly. It is converted into machine language (object code) and then executed. 

 

Object code:

A program in machine language which may be assembly language is called object code. It is also called object program or machine code. The computer understands object code directly.

 

Importance of Language Translator:

Language is a system for representation and communication of information or data. Like human beings, a language or signal is required to communicate between two persons. Similarly, we cannot obtain any result by computer without language.

The computer does not understand directly what. we are communicating with the computer in English or Arabic, it understands only machine language (binary codes 0- 1 ). The computer translates the English language into machine codes through language translator then process instructions and gives us the results.


Leave a Reply

Your email address will not be published. Required fields are marked *