Chapter Study

BSC CSIT Semester 4 Theory of Computation () Questions & Answers | Past TU Exam Papers

Practice from Theory of Computation with detailed solutions and model answers from past Tribhuvan University exams.

12
Questions
95
Marks
Back to All Chapters

Define the NFA with ε-transition and ε-closure of a state. Show that for every regular expression r, representing a language L, there is ε-NFA accepting the same language. Also convert regular expression (a+b)ab into equivalent Finite Automata.

HardNumerical10 marks2076(TU Final)

Give the formal definition of DFA. Construct a DFA accepting all strings of {0, 1} with even number of 0’s and even number of 1’s.

MediumTHEORY5 marks2076(TU Final)

Construct a NFA accepting language of {0, 1} with each string ending with 01 and convert it into equivalent DFA.

MediumTHEORY5 marks2076(TU Final)

Give the formal definition of DFA and NFA. How NFA can be converted into eqivalent DFA? Explain with suitable example.

HardTHEORY10 marks2078(TU Final)

Find the minimum state DFA for the given DFA below:

StatesInput
01
ABF
BEC
CBD
*DEF
EBC
FBA
HardTHEORY10 marks2078(TU Final)

Show that, For any NFA N=(Q, ∑, δ, q0, F) accepting language L=∑, There is a DFA D= (Q’, ∑’, q0′, δ’, F’) accepting the same language L.

HardTHEORY10 marks2079(TU Final)

State and prove the Pumping Lemma for regular languages. How can you show with example that pumping lemma is used to prove that a given language is not a regular? Explain.

HardTHEORY10 marks2079(TU Final)

Explain the ε-closure of states on an ε-NFA with suitable examples.

MediumTHEORY5 marks2079(TU Final)

What is NFA? How is it different from DFA? How is NFA to DFA conversion done? Convert the following NFA into DFA. image

HardTHEORY10 marks2080(TU Final)

Design a DFA that accepts single line and multi-line comments of the C-Language.

MediumTHEORY5 marks2080(TU Final)

Describe the extended transition function of NFA. Construct a NFA, using transition table and transition diagram , over {0, 1} that accept the string having substring 01 and ends with 1. Show the acceptance of 0111.

HardTHEORY10 marks2080(TU Final)

Design a Melay machine over {a, b} that generates output ‘A’ if the input string ends with aa else output ‘B’ if the string ends with bb.

MediumTHEORY5 marks2080(TU Final)
Showing 12 questions

Unit II: Introduction to Finite Automata (8 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.