GATE 1995
January 26, 2024
Computer-Graphics
January 26, 2024
GATE 1995
January 26, 2024
Computer-Graphics
January 26, 2024

UGC 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
(a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)
B
(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
C
(a)-(ii), (b)-(iv), (c)-(i), (d)-(iii)
D
(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)
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)

Leave a Reply

Your email address will not be published. Required fields are marked *