Differentiate between Compilers, assembler and translator. Explain their working and the situations where each is useful.


They're computer code that interprets program written in high level language to machine language. Compilers are advanced programs.



They're computer code that interprets programs written in programming language to machine language.


Translators are computer code than will convert programs written in one language to a different language. Compilers, interpreters, assemblers etc. are example of translators.

Compilers use several phases for conversion. They are:-

LEXICAL ANALYSIS: Checking for invalid symbols in program.

SYNTAX ANALYSIS: Checking validity of syntax used.

CODE GENERATION: Convert every statement to equivalent machine language.

CODE OPTIMIZATION: Generated code is analyzed for redundancy and best code is generated.

Assemblers typically uses 2 or 3 phases (passes) for changing programming language program to machine language program. within the initial pass, macro calls are swollen. within the second pass forward references are resolved and within the third pass actual machine language generation is finished.

Once computer code is developed victimization high level languages, compilers are essential for translation. Similarly, assemblers are needed for translation in places wherever programs are developed in programming language.

Post a Comment


  1. That is an extremely smart written article. I will be sure to bookmark it and This article is efficient. Thank you for sharing it with us. I am visiting this blog on a daily basis and I am finding so much helpful article each time. Keep working on this and thank you once again...

    www.mixresult.com, a new-generation Mix education result news portal, publishes update result news from a highly interactive platform.


  2. The is amazing post. I like this so much. The Custom essay writing service is my writing service. We are making the essays, and more types of writing papers for the students.

  3. I have managed to use different compilers but I have not yet used all the compilers. This blog has given very clear guidelines on the types of compilers which can be used in this era. I have gotten the chance to even discover new compilers and this has helped me a lot. Text Citations Revising Help

  4. Speaking Notepad can read each different word or a sentence that you write. This program lets you eyes to have a rest. You may likewise type on your console and not to take a gander at the screen; Speaking Notepad will read everything for you.text to speech

  5. The following article describes some of the headaches and remedies to confront the quoting processBirth Certificate Translation service

  6. With this in mind, we have put together a selection of definitions and commonly used terms, which will arm you with knowledge that can help you when selecting your translation company.ili translator buy Boca Raton

  7. As long as people from different parts of the world have been communicating there has been a need for translators Google translator

  8. For the person that reads slowly or with difficulty, using this type of software is certain to help make writing and reading that much more enjoyable.text to mp3 online

  9. This is such an awesome asset, to the point that you are giving and you give it away for nothing.our article has piqued a lot of positive interest. Mattress Store Austin

  10. There is noticeably a bundle to know about this. I assume you made certain nice points in features also . Adjustable beds Friendswood

  11. Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC.Mattress Houston