top of page

What is difference between Compiler, Interpreter and Assembler?



Compiler:

  • A Compiler is a program used in High level language to convert the low level language or machine code into binary information.

  • A Compiler is faster and occupies more memory.

  • Compiler checks to entire program at once, if no error then sends for execution.

Interpreter:

  • An interpreter is a program used High level language to convert the low level language or machine code into binary information.

  • An interpreter is slow comparison as compiler occupies less memory because it is used in Graphics based programming software.

  • An interpreter checks the program line by line. After checking one line it checks the second and so on. After checking all line it sends to execute.

Assembler:

  • Assembler is converting to high level language into assembly level language. i.e it converts the Mnemonic symbol into object code and send for execution.

  • It is faster than machine level information and consumes less memory.

  • Assembler is used code add for Addition, sub for subtraction etc.



2,155 views0 comments

Recent Posts

See All

Tell () function can be used to get the position of file handle and returns current position of file object where as Seek () function is used to change the position of the file handle to a given speci

Seek () function is used to change the position of the file handle to a given specific position in python. File handle such as a cursor which defines from where the data has to be read or written in t

bottom of page