Time Left - 10:00 mins
ISRO 2018: Compiler Design Booster Quiz- 1
Attempt now to get your rank among 886 students!
Question 1
3 address code has
Question 2
A basic block can be annualized by .
Question 3
Given the following expression grammar:
E EF | F + E | F
F F - F | id
Which of the following is true?
E EF | F + E | F
F F - F | id
Which of the following is true?
Question 4
S->aAa|
A->abS |a
The grammar is_______ .
Question 5
Which is true of the following
Question 6
Consider the following psuedocode:
x : integer := 1
y : integer := 2
f
procedure add
x := x + y
procedure second (P: procedure)
x : integer := 2
P()
procedure first
y : integer := 3
Second(add)
first()
write _integer (x)
What does it print if the language uses dynamic scoping with deep binding?
x : integer := 1
y : integer := 2
f
procedure add
x := x + y
procedure second (P: procedure)
x : integer := 2
P()
procedure first
y : integer := 3
Second(add)
first()
write _integer (x)
What does it print if the language uses dynamic scoping with deep binding?
Question 7
In compiler terminology, reduction in strength means
Question 8
S->aSa |aAa
A->Aa| a
The grammar is
A->Aa| a
The grammar is
- 886 attempts
- 6 upvotes
- 5 comments
Apr 8GATE & PSU CS