1
GATE CSE 1988
Subjective
+5
-0
Consider the following grammar:
$$\eqalign{ & S \to S \cr & S \to SS\,|\,a\,|\,\varepsilon \cr} $$(a) Construct the collection of sets of LR(0) items for this grammar and draw its go to graph.
(b) Indicate the shift-reduce and reduce-reduce conflict (if any) in the various state of the LR(0) parser.
Questions Asked from Parsing (Marks 5)
Number in Brackets after Paper Indicates No. of Questions
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages