Skip to content

Paper II · Unit 8: Theory of Computation and Compilers

Syntax Analysis

Syntax Analysis is a topic inside Unit 8 (Theory of Computation and Compilers) of UGC NET Computer Science and Applications, Paper II (code 87). GateIQ has published 32 questions classified under this topic — 13.9% of everything recorded in this unit, and 32 of them carry a written solution.

What this topic covers

Associativity, Precedence, Grammar Transformations, Top Down Parsing, Recursive Descent Predictive Parsing, LL(1) Parsing, Bottom up Parsing, LR Parser, LALR(1) Parser

Syllabus wording above is the official heading for this topic; the question counts are GateIQ’s own classification of its published archive.

Try Syntax Analysis PYQs free

Attempt the 5 most recent published questions on this topic right here, with the published answer and explanation after each check. No account is needed and nothing is saved. Practice tracking and analytics are part of UGC IQ.

0 of 5 checked
  1. 1Previous year question

    Which of the following parser is most powerful parser?

    Choose an option to check it.
  2. 2Previous year question

    Which phase of compiler checks the grammar of programming?

    Choose an option to check it.
  3. 3Previous year question

    Consider the following statements:

    Statement I\text{I}: LALR\text{LALR} parser is more powerful than canonical LR\text{LR} Parser.

    Statement II\text{II}: SLR\text{SLR} parser is more powerful than LALR\text{LALR}

    Which of the following is correct?

    Choose an option to check it.
  4. 4Previous year question

    Shift-reduce parser consists of

    1. input buffer
    2. stack
    3. parse table

    Choose the correct option from those given below:

    Choose an option to check it.
  5. 5Previous year question

    Consider the following grammar GG:

    • S→A∣BS \rightarrow A \mid B
    • A→a∣cA \rightarrow a \mid c
    • B→b∣cB \rightarrow b \mid c

    where {S,A,B}\{ S, A, B\} is the set of non-terminals, {a,b,c,}\{ a, b, c, \} is the set of terminals.

    Which of the following statement(s) is/are correct?

    • S1S_1: LR(1)LR(1) can parse all strings that are generated using grammar GG.
    • S2S_2: LL(1)LL(1) can parse all strings that are generated using grammar GG.

    Choose the correct answer from the code given below:

    Choose an option to check it.

27 more questions on Syntax Analysis

These 5 are free to try without an account. The rest of the published questions on Syntax Analysis are part of UGC IQ: see what it includes, or create an account to get started.

Syntax Analysis: questions people ask

How many UGC NET Computer Science questions are asked on Syntax Analysis?

GateIQ has published 32 UGC NET Computer Science previous year questions on Syntax Analysis, and 32 of them carry a written solution. That is 13.9% of the questions in Unit 8, Theory of Computation and Compilers.

Which unit of UGC NET Computer Science Paper 2 is Syntax Analysis in?

Syntax Analysis is a topic of Unit 8, Theory of Computation and Compilers, in Paper II (Computer Science and Applications, code 87).

Can I practise Syntax Analysis PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup, and each shows the published answer with its explanation. The full archive, practice tracking and analytics are part of UGC IQ.

Related topics in Unit 8

Full syllabus · Paper II overview