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
Discrete Mathematics
Programming Languages
Theory of Computation
Operating Systems
Computer Organization
Database Management System
Data Structures
Computer Networks
Algorithms
Compiler Design
Software Engineering
Web Technologies
General Aptitude