Skip to content

Paper II · Unit 8 of 10

Theory of Computation and Compilers

Theory of Computation and Compilers is Unit 8 of UGC NET Computer Science and Applications (Paper II, code 87). GateIQ has published 231 questions under this unit , recorded between 2004 and 2023 — 8% of the archive, with a written solution on 230 of them (100%).

Official syllabus scope

The topic headings below are the syllabus wording for this unit. Each one shows how many published questions GateIQ has classified under it; where that number is large enough to support a useful page, the topic is a link.

  • Context Free Language

    Pushdown Automaton (PDA), Non-Deterministic Pushdown Automaton (NPDA), Context Free Grammar, Chomsky Normal Form, Greibach Normal Form, Ambiguity, Parse Tree Representation of Derivation Trees, Equivalence of PDA’s and Context Free Grammars; Properties of Context Free Language

    67 published questions · 66 with a solution

  • Regular Language Models

    Deterministic Finite Automaton (DFA), Non-Deterministic Finite Automaton (NDFA), Equivalence of DFA and NDFA, Regular Languages, Regular Grammars, Regular Expressions, Properties of Regular Language, Pumping Lemma, Non- Regular Languages, Lexical Analysis

    60 published questions · 60 with a solution

  • Syntax Analysis

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

    32 published questions · 32 with a solution

  • Turing Machines (TM)

    Standard Turing Machine and its Variations; Universal Turing Machines, Models of Computation and Church-Turing Thesis; Recursive and Recursively- Enumerable Languages; Context-Sensitive Languages, Unrestricted Grammars, Chomsky Hierarchy of Languages, Construction of TM for Simple Problems

    26 published questions · 26 with a solution

  • Code Generation and Code Optimization

    Control-flow, Data-flow Analysis, Local Optimization, Global Optimization, Loop Optimization, Peep-Hole Optimization, Instruction Scheduling.

    13 published questions · 13 with a solution

  • Theory of Computation

    Formal Language, Non-Computational Problems, Diagonal Argument, Russels’s Paradox

    11 published questions · 11 with a solution

  • Run Time System

    Storage Organization, Activation Tree, Activation Record, Stack Allocation of Activation Records, Parameter Passing Mechanisms, Symbol Table

    9 published questions · 9 with a solution

  • Unsolvable Problems and Computational Complexity

    Unsolvable Problem, Halting Problem, Post Correspondence Problem, Unsolvable Problems for Context-Free Languages, Measuring and Classifying Complexity, Tractable and Intractable Problems

    9 published questions · 9 with a solution

  • Semantic Analysis

    Attribute Grammar, Syntax Directed Definitions, Inherited and Synthesized Attributes; Dependency Graph, Evaluation Order, S-attributed and L-attributed Definitions; Type-Checking

    3 published questions · 3 with a solution · not enough published questions for a separate page

  • Intermediate Code Generation

    Intermediate Representations, Translation of Declarations, Assignments, Control Flow, Boolean Expressions and Procedure Calls

    1 published question · 1 with a solution · not enough published questions for a separate page

Try Theory of Computation and Compilers PYQs free

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

0 of 5 checked
  1. 1Previous year question

    Consider the following language :
    L={w∈{a,b,c}∗:na(ω)+nb(ω)=nc(ω)}L=\left\{w \in\{a, b, c\} *: n_{a}(\omega)+n_{b}(\omega)=n_{c}(\omega)\right\}
    L\mathrm{L} is

    Choose an option to check it.
  2. 2Previous year question
    1. The set of turning machine codes for TM’s\text{TM's} that accept all inputs that are palindromes (possible along with some other inputs) is decidable
    2. The language of codes for TM’s\text{TM's} M\text{M} that when started with blank tape, eventually write a 1 somewhere on the tape is undecidable
    3. The language accepted by a TM M \text{TM M }is L (M)\text{L (M)} is always recursive
    4. Post's correspondence problem is undecidable

    Choose the correct answer from the options given below:

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

    Which of the following parser is most powerful parser?

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

    Which of the following statement is correct?

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

    Which phase of compiler checks the grammar of programming?

    Choose an option to check it.

226 more questions on Theory of Computation and Compilers

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

Theory of Computation and Compilers: questions people ask

How many UGC NET Computer Science questions are there on Theory of Computation and Compilers?

GateIQ has published 231 UGC NET Computer Science previous year questions under Unit 8, Theory of Computation and Compilers, recorded between 2004 and 2023. That is 8% of the published archive.

Which topics does Unit 8 (Theory of Computation and Compilers) cover?

The unit has 10 syllabus topics: Context Free Language; Regular Language Models; Syntax Analysis; Turing Machines (TM); Code Generation and Code Optimization; Theory of Computation; Run Time System; Unsolvable Problems and Computational Complexity; and more. Each topic with enough published questions has its own page.

Can I practise Theory of Computation and Compilers PYQs for free?

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

Other units

Full syllabus · Paper II overview