Machine-translated by Google. Questions are authored in English.
Top

Intermediate Code Generation Questions and Answers

81.

Among the various ways an Intermediate code is represented, .................. intermediate code representation is close to the source program/language itself and ............. intermediate code representation is close to the target machine.

Exam Year(s)

MH SET - 2021, SET Exam - 2021,

Answer: C

The blanks are filled by High level, Low level.

Compilers use intermediate representations at different levels. A high-level representation, such as a syntax tree, keeps the structure of the source program (loops, array accesses, expressions), so it is close to the source language and suits machine-independent tasks such as type checking.

A low-level representation, such as three-address code close to machine instructions, is near the target machine and suits register allocation and instruction selection. The options that put low level first reverse the two, and 'medium level' is not the term used for the representation near the machine.

Please log in or register to report this question.

Loading…
Tags: Intermediate Code Generation Questions and Answers || Intermediate Code Generation MCQ Questions and Answers || Intermediate Code Generation GK Questions and Answers || Intermediate Code Generation GK MCQ Questions || Intermediate Code Generation Multiple Choice Questions and Answers || Intermediate Code Generation GK || GK on Intermediate Code Generation || Compiler Design Questions and Answers || Compiler Design MCQ Questions and Answers || Compiler Design GK Questions and Answers || GK on Compiler Design