Time Left - 15:00 mins

Compiler Rapid Quiz -1 (App update required to attempt this test)

Attempt now to get your rank among 664 students!

Question 1

Consider the directed acyclic graph

Find the expression that represents above DAG

Question 2

Which of the following has immediate error detection?

Question 3

Count number of tokens in the following given code :

Question 4

Consider the following augmented grammar -
S' -> .S
S -> .Aa / .bAc
A -> .d
How many rows are present in the parsing table of the CLR(1) parser?

Question 5

In compiler design ‘reducing the strength’ refers to

Question 6

Consider the following SDT :

S TR

R {printf(*)} + T {printf(*)} R {printf(+)}

T num {printf(*)}

R {printf(+)}

How many * will be printed before the first + operator for the input 9 + 5 + 2 + 7 _____________.

  • 664 attempts
  • 4 upvotes
  • 6 comments
Nov 13GATE & PSU CS