Explore topic-wise MCQs in Compilers.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.

1.

What is Pass 2?

A. Assemble instruction and generate data
B. Perform processing of assembler
C. Write the object program
D. All of the mentioned
Answer» E.
2.

The table created by lexical analysis to describe all literals used in the source program is?

A. Terminal table
B. Literal table
C. Identifier table
D. Reductions
Answer» C. Identifier table
3.

A linker is given object module for a set of programs that were compiled separately. What is not true about an object module?

A. Object code
B. Relocation bits
C. Names and locations of all external symbols denied in the object module
D. Absolute addresses of internal symbols
Answer» E.
4.

Software that measures, monitors, and controls events are ___________

A. System S/w
B. Real Time software
C. Scientific software
D. Business Software
Answer» C. Scientific software
5.

Dividing a project into segments and smaller units in order to simplify design and programming efforts is called?

A. Modular approach
B. Top down approach
C. Bottom up approach
D. Left right approach
Answer» B. Top down approach
6.

The segment base is specified using the register named is?

A. ORG instructions
B. TITLE instruction
C. ASSUME instruction
D. SEGMENT instruction
Answer» B. TITLE instruction