Time Left - 06:00 mins
BARC CS 2018 Nuclear Quiz -3 (CD)
Attempt now to get your rank among 525 students!
Question 1
Debugger is a program that
Question 2
Which of the following grammar is LR (1) ?
Question 3
In compiler design ‘reducing the strength’ refers to
Question 4
du-chaining is
Question 5
Consider the syntax directed translation scheme given below:
S -> L S.val = L.val
L -> L1B L.v al = L .val * 2 + B.val
L -> B L.val = B.val
B -> 0 B.val = 0
B -> 1 B.val = 1
If the input string is 1101, then the value of attribute of starting symbol is
S -> L S.val = L.val
L -> L1B L.v al = L .val * 2 + B.val
L -> B L.val = B.val
B -> 0 B.val = 0
B -> 1 B.val = 1
If the input string is 1101, then the value of attribute of starting symbol is
- 525 attempts
- 4 upvotes
- 11 comments
Apr 9GATE & PSU CS