1
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
Consider line number 3 of the following C - program.
int main ( ) { /* Line 1 */
int I, N; /* Line 2 */
fro (I = 0, I < N, I++); /* Line 3 */
}
Identify the compiler's response about this line while creating the object-module 2
GATE CSE 2003
MCQ (Single Correct Answer)
+2
-0.6
Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?
3
GATE CSE 2003
MCQ (Single Correct Answer)
+2
-0.6
Consider the syntax directed definition shown below.
![GATE CSE 2003 Compiler Design - Code Generation and Optimization Question 12 English](https://gateclass.cdn.examgoal.net/DvCmEruI6O7341cPq/mKtKSxCDpClCRAL7ipWlPm604Oh7G/Fjs7VTvWDtk2otPTZFsHDG/uploadfile.jpg)
Here, gen is a function that generates the output code, and newtemp is a function that returns the name of a new temporary variable on every call. Assume that ti's are the temporary variable names generated by newtemp. For the statement 'X : = Y + Z', the 3-address code sequence generated by this definition is
Questions Asked from Code Generation and Optimization (Marks 2)
Number in Brackets after Paper Indicates No. of Questions
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages