Time Left - 15:00 mins

GATE CS 2022 : Compiler design -1

Attempt now to get your rank among 325 students!

Question 1

In a compiler, keywords of a language are recognized during?

Question 2

Consider the C program
Main()
{
int x = 10;
x = x + y + z;
}
How many tokens are identified by lexical analyzer?

Question 3

Substitution of values for names (whose values are constants) is done in

Question 4

The grammar S aSa | bS | is

Question 5

Which one of the following statements is FALSE?

Question 6

Identify an equivalent non-left recursive CFG for the following CFG.

S → Aa|b

A → Ac|Aad|bd|ϵ

  • 325 attempts
  • 3 upvotes
  • 2 comments
Jul 20GATE & PSU CS

Posted by:

Harshita AgarwalHarshita AgarwalMember since Jul 2020
Share this quiz   |