Parsing: GATE CS Previous Year Questions

Parsing · Compiler Design

58 questions · asked in 25 of 27 years (2000–2026)

MCQ 46 · MSQ 5 · NAT 71-mark 39 · 2-mark 19

2000Questions per year2026

Questions 56–58 of 58

Q56GATE 20011 markMCQ−0.33 if wrong
Which of the following statements is false ?

Q57GATE 20001 markMCQ−0.33 if wrong
Given the following expression grammar:

E→E∗F∣F+E∣FF→F−F∣id\begin{array}{l} E \to E * F \mid F + E \mid F \\ F \to F - F \mid id \end{array}

Which of the following is true?

Q58GATE 20001 markMCQ−0.33 if wrong
Which of the following derivations does a top-down parser use while parsing an input string? The input is scanned from left to right.

Keep practising

Topics in Compiler Design

All CS topics ›