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-Dependen?

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

Which of these is not true about 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 take 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.

What is Syntax Analyser also known as

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

Which phase of compiler is Syntax Analysis

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