Source code is generated by human or programmer. | Object code is generated by compiler or other translator. |
Source code is high level code. | Object code is low level code. |
Source code is written in plain text by using some high level programming language. | Object code is translated code of source code. It is in binary format. |
Source code is human understandable. | Object code is not human understandable. |
Source code is not directly understandable by machine. | Object code is machine understandable and executable. |
It is written in a high-level language like C, C++, Java, Python, etc., or assembly language. | It is written in machine language through compiler or assembler or other translator. |
It can be easily modified. | It can not be modified. |
It contains comments for better understanding by programmer. | It does not contain comments for understanding by machine. |
It contains less number of statements than object code. | It contains more number of statements than source code. |
It is less close. towards machine. | It is more close towards machine. |
Performance of source code is less than object code as it is less close towards machine. | Performance of object code is more than source code as it is more close towards machine. |
Source code is input to compiler or any other translator. | Object code is output of compiler or any other translator. |
Source code is not system specific. | Object code is system specific. |
It can be changed over time. | Source code needs to be compiled or translated by any other translator to get modified object code. |
Language translators like compiler, assembler, interpreter are used to translate source code to object code. | Object code is machine code so it does not require any translation. |
The source lines of code gives the readability and understandability to the user. Use of fewer lines of code gives better performance by giving same results in most cases. | This is not the case with object code. |