Consider the augmented grammar given below:
S' S
S (L) | id
L L, S | S
Let . The number of items in the set GOTO (, ( ) is ________.
GATE CS 2019 (Forenoon) — Question 53
Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)NAT2 marksHard
A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.
More on Lexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)
- GATE CS 2026 (Forenoon) · Q27Consider the following C statements: c char str1 = "Hello; / Statement S1 / char str2 = "Hello;"; / Statement S2 / int str3 = "Hello"; / St…
- GATE CS 2026 (Forenoon) · Q28Which of the following statements is/are true?
- GATE CS 2026 (Afternoon) · Q35A lexical analyzer uses the following token definitions • letter [A - Za - z] • digit [0 - 9] • id letter (letter digit) • number digit + •…
- GATE CS 2026 (Afternoon) · Q41Consider the canonical LR(0) parsing of the grammar below using terminals \ a, b, c\ and non-terminals \ A, B, C, S\ with S as the start sy…
- GATE CS 2025 (Forenoon) · Q46Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
- GATE CS 2025 (Afternoon) · Q40Given a Context-Free Grammar G as follows: S Aa bac dc bda A d Which ONE of the following statements is TRUE?

