Explore topic-wise MCQs in Compilers.

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

1.

Assembler is a program tha?

A. Puts programs into memory and executes them
B. Translates the assembly language into machine language
C. Writes in high level language and produces an object program
D. None of the mentioned
Answer» C. Writes in high level language and produces an object program
2.

Uniform symbol table

A. Has all constants in the program
B. Permanent table of rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
C. Consists of full or partial list of the tokens as they appear in the program created by Lexical analysis and used for syntax analysis and interpretation
D. A permanent table which has all key words and special symbols of the language in symbolic form
Answer» D. A permanent table which has all key words and special symbols of the language in symbolic form
3.

A system program that setup an executable program in main memory ready for execution is

A. Assembler
B. Linker
C. Loader
D. Load and go
Answer» D. Load and go
4.

A loader is a program that

A. Program that places functions into memory and prepares them for execution.
B. Program that automates the translation of assembly language into machine language.
C. Program accepting another program written in a high level language and produces as object program
D. None of the mentioned
Answer» B. Program that automates the translation of assembly language into machine language.
5.

A series of statements explaining how the data is to be processed is called

A. Assembly
B. Machine
C. COBOL
D. Program
Answer» E.
6.

System program such a s compiler are designed so that they are

A. Re-enterable
B. Non reusable
C. Serially usable
D. None of the mentioned
Answer» B. Non reusable
7.

Which of the following is a phase of a compilation process?

A. Lexical Analysis
B. Code Generation
C. Lexical Analysis & Code Generation
D. None of the mentioned
Answer» D. None of the mentioned