top of page
Writer's pictureRajesh Singh

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,245 views0 comments

Recent Posts

See All

For Loop MCQs in Python

Q1. What is the output of the following Python code? x={1:"X",2:"Y",3:"Z"} for i,j in x.items():     print(i,j,end=" ") A.    1 X 2 Y 3 Z...

Comments


bottom of page