Back to Quiz Categories

GATE CS - Previous Year Questions (Official)

Official GATE CS prompts from 2024–2026 (single-answer). Options only on this hub — official answer keys are not shown here.

186 questions19 pages~4.5 hours

Options only — official IIT keys are not shown here. Mark a choice, then check the PDF key.

Progress: 0/1860%

Page 19 of 19 · Questions 181–186 of 186

Questions

Q181hard

GATE CS 2026 Set-2 · Q41

Consider 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 symbol. S → ACB A → aA | ϵ C → cC | ϵ B → bB | b Which one of the following options gives the number of shift-reduce conflicts that will occur in the LR(0) ACTION table?