Time Left - 10:00 mins
Mission ISRO 2017 Day-26: Compiler Design Quiz -1
Attempt now to get your rank among 859 students!
Question 1
The number of tokens the following C statement is
printf(“i = %d, &I = %x”, i,&i);
Question 2
Which grammar rules violate the requirement of the operator grammar? A, B, C are variables and a, b, c are terminals
i. A BC
ii. A CcBb
iii. A BaC
iv. A
i. A BC
ii. A CcBb
iii. A BaC
iv. A
Question 3
Which one of the following is a top – down parser?
Question 4
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 5
Yacc stands for
Question 6
Recursive descent parsing is an example of
Question 7
Shift reduce parsing belongs to a class of
Question 8
A top down parser generates
Question 9
The expression 1 * 2 ^ 3 * 4 ^ 5 * 6 will be evaluated as
Question 10
The infix expression A + (B - C) * D is correctly represented in prefix notation as
- 859 attempts
- 5 upvotes
- 37 comments
Apr 12GATE & PSU CS