Time Left - 15:00 mins

GATE CS 2022 : Compiler Design-3 (App update required to attempt this test)

Attempt now to get your rank among 289 students!

Question 1

Which of the following is the machine dependent phase of compiler?

Question 2

Consider the following C expression:

x = (a+b)-b+c*d

Find the minimum number of variables in the equivalent three address code for the given expression.

Question 3

Which of the following is not a token in C language.

Question 4

Which of the following code can produce lexical error?

Question 5

Given the below DAG, what will be the output?

Question 6

Count number of tokens in the following given code :

  • 289 attempts
  • 1 upvote
  • 4 comments
Aug 29GATE & PSU CS