answersLogoWhite

0


Best Answer

Single pass:

Adv:

More efficient than multi pass compilers in the compiler phase.

Smaller compilers than multi pass

Dis:

Produces less efficient programs.

Multi pass:

adv:

Can be useful when optimizing code.

more machine independent

Java like variable declaration - it doesn't need to be before the use of it, because Java require multi pass compilers.

Dis:

Slower at compile time

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

single pas compiler is simpler than multipass compiler

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantages and disadvatages of single and multi pass compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the four types of grammars used in compiler?

-Single pass compiler -Multi pass compiler -Cross compiler -Optimizing compiler


What is passed on?

A single pass compiler also known as a one-pass compiler is a compiler that only passes through the code once and doesn't go back. They're faster than a multi-pass compiler but they are very limited in what they can do.


Why single pass compiler are faster than multi pass compiler?

A one-pass compiler is a compiler that passes through the source code of each compilation unit only once. A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times.A one-pass compilers is faster than multi-pass compilersA one-pass compiler has limited scope of passes but multi-pass compiler has wide scope of passes.Multi-pass compilers are sometimes called wide compilers where as one-pass compiler are sometimes called narrow compiler.Many programming languages cannot be represented with a single pass compilers, for example Pascal can be implemented with a single pass compiler where as languages like Java require a multi-pass compiler.


Whether MS VC is one pass compiler or multi pass compiler?

one pass compiler


What are the advantages and disadvantages of the Single-user multi-tasking operating system?

fghjk


What are the advantages of a single story building?

social bounding can be good in multi stories


What are the advantages of sailing in a single hull yacht?

Generally they are easier to handle than multi hulled boats


Advantages of the single stage and multi stage rockets?

Single staged rockets are easier to make, but cant reach high speeds. Multi staged rockets can be much lighter but create more space debris and are much more complex.


Arachnids single or multi celled?

Is a arachnids a single or multi celled


What are the advantages of a multi-size memory card reader?

A multi size memory card reader will allow you to use multiple memory cards on one single reader, instead of buying multiple readers.


Humans single or multi celled?

multi celled


Is a plant single or multi celled?

They are multi-celled.