GATE 1995
January 26, 2024Computer-Graphics
January 26, 2024UGC NET CS 2017 Nov- paper-2
|
Question 26
|
Match the description of several parts of a classic optimizing compiler in List – I, with the names of those parts in List – II:


|
(a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)
|
|
|
(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
|
|
|
(a)-(ii), (b)-(iv), (c)-(i), (d)-(iii)
|
|
|
(a)-(ii), (b)-(iv), (c)-(iii), (d)-(i)
|
Question 26 Explanation:
Parser→ A part of a compiler that is responsible for recognizing synta
Scanner→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Semantic Analysis→ A part of a compiler that understand the meaning of variable names and other symbols and checks that they are used in ways consistent with their definitions
Optimizer→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Scanner→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Semantic Analysis→ A part of a compiler that understand the meaning of variable names and other symbols and checks that they are used in ways consistent with their definitions
Optimizer→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Correct Answer: A
Question 26 Explanation:
Parser→ A part of a compiler that is responsible for recognizing synta
Scanner→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Semantic Analysis→ A part of a compiler that understand the meaning of variable names and other symbols and checks that they are used in ways consistent with their definitions
Optimizer→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Scanner→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
Semantic Analysis→ A part of a compiler that understand the meaning of variable names and other symbols and checks that they are used in ways consistent with their definitions
Optimizer→ An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation)
