Skip to content

Compiler Design

What does Lexical analysis refer to?

Difficulty: Medium

About this MCQ

This Medium Compiler Design MCQ checks one syllabus fact.

The question is: “What does Lexical analysis refer to?”

The accepted answer is B. The first phase of compilation that converts source code into a sequence of tokens.. The first phase of compilation that converts source code into a sequence of tokens is the fact required by What does Lexical analysis refer to option B Option A The compiler phase that checks source code for meaningful correctness such as type consistency does not match the stem it is a near-miss used to catch incomplete recall of The first phase of compilation that converts source code into a sequence of tokens Option C A data structure used by a compiler to store information about variables functions and identifiers does not match the stem it is a near-miss used to catch incomplete recall of The first phase of compilation that converts source code into a sequence of tokens Remaining alternatives.

Correct answer

B. The first phase of compilation that converts source code into a sequence of tokens.

Explanation

The first phase of compilation that converts source code into a sequence of tokens is the fact required by What does Lexical analysis refer to option B Option A The compiler phase that checks source code for meaningful correctness such as type consistency does not match the stem it is a near-miss used to catch incomplete recall of The first phase of compilation that converts source code into a sequence of tokens Option C A data structure used by a compiler to store information about variables functions and identifiers does not match the stem it is a near-miss used to catch incomplete recall of The first phase of compilation that converts source code into a sequence of tokens Remaining alternatives.

Source: Compiler Design Official Reference Guide

Tags: computer science, compiler design, compilers, programming languages

Submitted by: MCQsHub Editorial

Related MCQs

More Compiler Design MCQs