Question: Explain types of compiler OR
Question: Difference between Single Pass and Multi Pass Compiler.
Single pass compiler v/s Multi pass Compiler
No. | Single pass compiler | Multi pass compiler |
1 | 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. |
2 | A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times. | A multi-pass compiler is slower than single- pass compiler. |
3 | One-pass compiler are sometimes called narrow compiler. | Multi-pass compilers are sometimes called wide compiler. |
4 | Language like Pascal can be implemented with a single pass compiler. | Languages like Java require a multi-pass compiler. |
Download the Android app to get all Government Job Notifications on your Mobile.
Download Now
Important: Please always Check and Confirm the above details with the official Advertisement / Notification.