Types of Codes and there Difference

Natural Programming languages

Natural programming languages are also known as fifth generation languages (5GL) or intelligent languages. Translator programs for these languages are very complex and require a large amount of computer resources. That is why most of these languages are still in experimental phase.

Types Of Codes

There are two types of codes that are as follows:

Source Code

A program written in a high-level language is called source code. Source code is also called source program. Computer cannot understand the statements of high-level language.

The source code cannot be executed by computer directly. It is converted into object code and then executed.

Object Code

A program in machine language is called object code. It is also called object program or machine code. Computer understands object code directly.

Difference between Source Code ans Object Code

The main difference between source code and object code is as follows:

There are two types of codes that are as follows:
Source Code and object code
A program written in a high-level language is called source code. Source code is also called source program. Computer cannot understand