Time Left - 12:00 mins

ISRO CS 2019 : Compiler Booster Quiz 2

Attempt now to get your rank among 663 students!

Question 1

S Xx
X xX | d
The above grammar is

Question 2

Consider the following grammar
SaAa | ε
AabS | ε
The above grammar is_______ .

Question 3

Which of the following information is not available in the activation record of a procedure?

Question 4

Consider the following grammar.
S A|BC
AxAz|B
CyCz|e
BxBy| ε
Which of the following is set of First of S?

Question 5

Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?

Question 6

Consider the following CFG.

Find the number of RR conflicts in CLR (1).

Question 7

Match the following -
LIST- I
a) Token
b) Pattern
c) Lexeme
LIST – II
I) A rule describing the set of lexemes that can represent a particular token in the source program
II) A sequence of characters in the source program that is matched by the pattern for a token
III) A set of characters grouped together

Question 8

Given the following expression grammar:
E EF | F + E | F
F F - F | id
Which of the following is true?

Question 9

Viable prefix property is supported by____________
(i) LR parsing
(ii) LL parsing

Question 10

Consider the following grammar
SÃ ABA
AÃ Bc|dA|
BÃ eA
How many entries have multiple productions in LL(1) table?
  • 663 attempts
  • 0 upvotes
  • 5 comments
Dec 28GATE & PSU CS

Posted by:

Richa TiwariRicha TiwariMember since Feb 2019
Want to create my own success story✌️
Share this quiz   |