...
Software-Engineering
November 24, 2023
Transmission-and-Propagation-Delay
November 24, 2023
Software-Engineering
November 24, 2023
Transmission-and-Propagation-Delay
November 24, 2023

Parsers

Question 17
Consider the following augmented grammar with {#, @, <, >, a, B, c} as the set of terminals.

S’ ⟶ S

S ⟶ S#cS

S ⟶ SS

S ⟶ S@

S ⟶ < S >

S ⟶ a

S ⟶ b

S ⟶ c  

Let I0=CLOSURE({S’ ⟶.S}). The number of items in the set GOTO(GOTO(I0, <), <) is ____________.

A
8
Question 17 Explanation: 
Correct Answer: A
Question 17 Explanation: 

Leave a Reply

Your email address will not be published. Required fields are marked *