Formal Language & Automata Theory
Instructions:
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Which of the following is the smallest unit in the definition of a language?
A language is a
Which grammar type is the most powerful?
Epsilon (ε) transitions are allowed in
Context-Free Grammars are equivalent to
Pumping Lemma for CFLs is used to prove a language is
Which of the following requires context sensitivity?
Recursively Enumerable languages are also called
The Halting Problem is
Which of the following is used to prove many undecidability results?
Define the terms: Alphabet, Language, Grammar, and Derivation. Explain the relationship between them with suitable examples.
Explain Chomsky Hierarchy of languages with examples of each type and their corresponding automata.
Explain the concept of a Finite Automaton. List and describe its main components. Also, differentiate between Deterministic Finite Automaton and Non-deterministic Finite Automaton with suitable examples.
Construct a DFA that accepts all strings over {0,1} containing even number of 0s and odd number of 1s. Also, write its formal 5-tuple definition.
Convert the regular expression (a + b)abb(a + b) into an equivalent DFA. Show all steps.
Using Pumping Lemma, prove that the language L = {0n1n | n ≥ 0} is not regular.
Explain how ambiguity arises in the grammar E → E + E | E * E | id | (E). Remove the ambiguity by rewriting the grammar.
Using Pumping Lemma for CFLs, prove that L = {anbncn | n ≥ 0} is not context-free.
Explain Linear Bounded Automata and its relationship with Context-Sensitive Languages.
Explain the basic model of a Turing Machine with its formal 7-tuple definition.
Design a Turing Machine that accepts the language L = {anbn | n ≥ 0}. Show the transition diagram/table and trace for input aabb.
State and explain the Church-Turing Thesis.
Explain the concept of Universal Turing Machine. How does it help in proving undecidability?
Discuss the power and limitations of Turing Machines. Compare Turing Machines with Pushdown Automata.
Pushdown Automata
Rice’s theorem
Minimization of finite automata
Closure properties of CFLs
