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 242 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 DAG what will be the output:

Question 6

Count number of tokens in the following given code :

  • 242 attempts
  • 1 upvote

Posted by:

Harshita AgarwalHarshita AgarwalMember since Jul 2020
Share this quiz   |