Consider the following grammars
(S1) :
A --> aBCD
B --> bc|c
C --> d|?
D -> b(S2) :
A --> aBCD
B --> bc|?
C --> d|c
D -> b
( S3) :
A --> aBCD
B --> bc|?
C --> d|?
D -> b
( S4) :
A --> aBCD
B --> bc|c
C --> d|c
D -> b
Which of the following grammar has same follow set for variable B?
A) Only (S1) , (S2) and ( S33) , ( S4)
B) Only (S1) , ( S33) and (S2) , ( S4)
C) Only (S2) , ( S33) and (S1) , ( S4)
D) None of the above
Correct Answer:
Verified
Q3: Assume that the SLR parser for a
Q4: Consider the grammar shown below S ?
Q5: Consider the translation scheme shown below
S ?
Q6: Which of the following is essential for
Q7: The grammar whose productions are
Q9: Which is True about SR and RR-conflict:
A)If
Q10: Which of the following statement(s) regarding a
Q11: Shift-Reduce parsers perform the following:
A)Shift step that
Q12: Incremental-Compiler is a compiler
A)which is written in
Q13: Which one of the following is FALSE?
A)A
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents