Time Left - 15:00 mins

GATE CS 2021 : Compiler Design Rapid Quiz 2 (App update required to attempt this test)

Attempt now to get your rank among 644 students!

Question 1

Consider the following grammar :

S-> aAb | Sc

A-> d | Sd | S

The above grammar is:

Question 2

Which of the following are language processors?

Question 3

Semantic Analysis processes

Question 4

Consider the following grammar

E E(E) E | E | epsilon

Which one of the following is true?

1) The grammar is ambiguous

2) The grammar is unambiguous

3) The grammar will generate all strings having balanced parenthesis

Question 5

Which of the following remarks logically follows?

Question 6

Number of elements in follow of A in the following grammar?

T-> AB

A-> a/b

B-> c/d

  • 644 attempts
  • 4 upvotes
  • 13 comments
Dec 16GATE & PSU CS

Posted by:

Harshita AgarwalHarshita AgarwalMember since Jul 2020
Share this quiz   |