adplus-dvertising
frame-decoration

Question

Which of the statements related to Compilers is wrong ?

a.

Lexical analysis is breaking the input into tokens

b.

Syntax analysis is for parsing the phrase

c.

Syntax analysis is for analyzing the semantic

d.

None of these

Answer: (c).Syntax analysis is for analyzing the semantic

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the statements related to Compilers is wrong ?

Similar Questions

Discover Related MCQs

Q. Which of the following is the most general phase - structured grammar ?

Q. Which activity is not included in the first pass of two pass assemblers ?

Q. The principle of Locality of reference justifies the use of:

Q. Which activity is not included in the first pass of two pass assemblers?

Q. Which of the following is not collision resolution technique?

Q. Code optimization is responsibility of:

Q. Which activity is included in the first pass of two pass assemblers?

Q. In two pass assembler the symbol table is used to store:

Q. Non modifiable procedures are called

Q. Not an assembler directive

Q. In a compiler, the task of scanning the source code, to recognize and classify various elements is known as.

Q. An example of a compiler-compiler is:

Q. Match the description of several parts of a classic optimizing compiler in List - I, with the names of those parts in List - II:

List - I
(a) A part of a compiler that is responsible for recognizing syntax.
(b) A part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories.
(c) A part of a compiler that understand the meanings of variable names and other symbols and checks that they are used in ways consistent with their definitions.
(d) An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation).

List - II
(i) Optimizer
(ii) Semantic Analysis
(iii) Parser
(iv) Scanner

Code:
(a) (b) (c) (d)