Explore topic-wise MCQs in Compilers.

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

1.

The fourth Generation computer was made up of ______________

A. Transistor
B. Vacuum tubes
C. Chips
D. Microprocessor chips
Answer» E.
2.

A compiler can check?

A. Logical Error
B. Syntax Error
C. Both Logical and Syntax Error
D. Not Logical and Syntax Error
Answer» C. Both Logical and Syntax Error
3.

Which of these features of assembler are Machine-Dependent?

A. Instruction formats
B. Addressing modes
C. Program relocation
D. All of the mentioned
Answer» E.
4.

Which of these is not true about the Symbol Table?

A. All the labels of the instructions are symbols
B. Table has entry for symbol name address value
C. Perform the processing of the assembler directives
D. Created during pass 1
Answer» D. Created during pass 1
5.

A grammar for a programming language is a formal description of _______________

A. Syntax
B. Semantics
C. Structure
D. Library
Answer» D. Library
6.

Parsers are expected to parse the whole code.

A. True
B. False
Answer» B. False
7.

From where it takes its input from?

A. Lexical analyser
B. Syntactic Analyser
C. Semantic Analyser
D. None of the mentioned
Answer» B. Syntactic Analyser
8.

Syntax Analyser takes Groups Tokens of source Program into Grammatical Production.

A. True
B. False
Answer» B. False
9.

Syntax Analyser is also known as ___________

A. Hierarchical Analysis
B. Hierarchical Parsing
C. None of the mentioned
D. Hierarchical Analysis & Parsing
Answer» E.
10.

Which phase of the compiler is Syntax Analysis?

A. First
B. Second
C. Third
D. None of the mentioned
Answer» C. Third