1
GATE CSE 1997
MCQ (Single Correct Answer)
+1
-0.3

In the following grammar:

$$\eqalign{ & X:: = X \oplus {Y \over Y} \cr & Y:: = Z*{Y \over Z} \cr & Z:: = id \cr} $$

Which of the following is true?

A
$$' \oplus '$$ is left associative while $$'*'$$ is right associative
B
Both $$' \oplus '$$and $$'*'$$ is left associative
C
$$' \oplus '$$ is right associative while $$'*'$$ is left associative
D
None of the above
2
GATE CSE 1995
MCQ (Single Correct Answer)
+1
-0.3
A linker is given object modules for a set of programs that were compiled separately. What information need to be included in an object module?
A
Object code
B
Relocation bits
C
Names and locations of all external symbols defined in the object module
D
Absolute addresses of internal symbols
3
GATE CSE 1994
MCQ (Single Correct Answer)
+1
-0.3
Generation of intermediate code based on an abstract machine model is useful in compilers because
A
it makes implementation of lexical analysis and syntax analysis easier
B
syntax-directed translations can be written for intermediate code generation
C
it enhances the portability of the front end of the compiler
D
it is not possible to generate code for real machines directly from high level language programs
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12