HamiIT
Sign inGet started
Home
Theme
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBsc CSITSemester 4Theory of Computation Unit IV: Context Free Grammar (9 Hrs.)
Chapter Study

Bsc CSIT Semester 4 – Theory of Computation – Unit IV: Context Free Grammar (9 Hrs.)

Comprehensive questions and detailed answers for Unit IV: Context Free Grammar (9 Hrs.). Perfect for exam preparation and concept clarity.

12
Questions
75
Marks
Back to All Chapters
1

Define Chomsky Normal Form and Greibach Normal Form in reference to CFG. Give a suitable example of each.

MediumTHEORY5 marks2076(TU Final)
2

Explain about the Chomsky’s Hierarchy about the language and programs.

MediumTHEORY5 marks2078(TU Final)
3

Construct the following grammer into Chomsky Normal Form.

S → abSb | a | aAb

A → bS | aAAb | ε

MediumTHEORY5 marks2078(TU Final)
4

Given the following expression grammar for simple arithematic expression with operator + and *. E→ E+T | T T → T+F | F F → (E) | a Remove the left recursion from this grammar then simplify and convert to CNF

HardTHEORY10 marks2079(TU Final)
5

Define the term: Parse Tree, left-most and right-most derivation, sentential form and ambiguity with example.

MediumTHEORY5 marks2079(TU Final)
6

Define regular grammar. Also explain the method of converting right linear grammar into equivalent finite automata.

MediumTHEORY5 marks2079(TU Final)
7

Define context free grammar with an example. Explain with example, how context free grammar is converted to Chomsky Normal Form.

HardTHEORY10 marks2080(TU Final)
8

What is the meaning of the term “Context Free” in context free grammar? Justify with a suitable example. What is the need of a parse tree?

MediumTHEORY5 marks2080(TU Final)
9

Define CFG. Construct a CFG that generates the language of all palindromes over {a,b} that do not contain the substring aa. Show the leftmost derevation and construct the equivalent parse tree for string babbbab.

HardTHEORY10 marks2080(TU Final)
10

Prove that the language L={ anbncn∣n≥0 }L=\{\,a^n b^n c^n \mid n \ge 0\,\}L={anbncn∣n≥0} is not a context free grammar.

MediumTHEORY5 marks2080(TU Final)
11

Define the language of a grammar. For the grammar S → 0S0 | 1 | ε, show the leftmost derivation for the string 00100 with its parse tree.

MediumTHEORY5 marks2081(TU Final)
12

Convert the following grammar to CNF. S → AAB, A → aA | ε, B → ab | a

MediumTHEORY5 marks2081(TU Final)
Showing 12 questions

Sample Questions

Define Chomsky Normal Form and Greibach Normal Form in reference to CFG. Give a suitable example of each.

Marks: 5Chapter: Unit IV: Context Free Grammar (9 Hrs.)

Explain about the Chomsky’s Hierarchy about the language and programs.

Marks: 5Chapter: Unit IV: Context Free Grammar (9 Hrs.)

Construct the following grammer into Chomsky Normal Form. S → abSb | a | aAb A → bS | aAAb | ε

Marks: 5Chapter: Unit IV: Context Free Grammar (9 Hrs.)

Given the following expression grammar for simple arithematic expression with operator + and . E→ E+T | T T → T+F | F F → (E) | a Remove the left recursion from this grammar then simplify and convert

Marks: 10Chapter: Unit IV: Context Free Grammar (9 Hrs.)

Define the term: Parse Tree, left-most and right-most derivation, sentential form and ambiguity with example.

Marks: 5Chapter: Unit IV: Context Free Grammar (9 Hrs.)

And more questions available on this page.

About Unit IV: Context Free Grammar (9 Hrs.) Questions

This page contains comprehensive questions from the Unit IV: Context Free Grammar (9 Hrs.) chapter of Theory of Computation , part of the Bsc CSIT Semester 4 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Theory of Computation Chapters

Unit IV: Context Free Grammar (9 Hrs.) chapter questions with answers for Theory of Computation (Bsc CSIT Semester 4). Prepare for TU exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact
  • Terms of Service
  • Privacy Policy

Contact

  • 📧contact@hamiit.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

Community

  • Join Discord
  • Report a bug
  • Request feature

© 2026 Hami IT. All rights reserved.