Which is true of the following?
Official theoretical question paper for Formal Language Automata Theory (PCC-CS403) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
Which is true of the following?
The logic of pumping lemma is a good example of
a*(a + b)* is equivalent to
The class of context free language is not closed under
Which of the following strings can be obtained by the language L = {a^i b^2i | i ≥ 1}
Which string is not accepted by the following FSA?
Which of the following production is in CNF?
The solution to the equation R = Q + RP is
A shift register is
Consider the following language: L = {a^n b^n c^n d^n | n ≥ 1} L is
Design a Finite automate the accepts set of strings that every string ends with 00 over alphabet {0, 1}.
Let L = {a^m b^n c^m | n,m > 0}. Prove that the Language L is not regular.
Find the Context Free Grammar for the following language L = {a^m b^n c^m | n,m > 0}.
Construct the regular expression corresponding to the state diagram given below:
Design a Turing Machine that recognizes the language of all strings of even length over the alphabet {a,b}.
a. Construct a DFA from the NFA given below: | State/Σ | 0 | 1 | |---|---|---| | → Q₀ | Q₀, Q₃ | Q₀, Q₄ | | Q₃ | Q₁ | Q₁ | | Q₄ | Q₁ | Q₁ | | Q₁ (Final State) | Q₁ | Q₁ | b. Construct λ - NFA for the regular expression (0 + 1)*1 (0 + 1) c. What is regular expression over the alphabet {a,b}, for the language L = {a^n b^m : n ≥ 4, m < 3}? d. Design a TM that accepts {0^n 1^n | n ≥ 1} e. What do you mean by halting problem of a Turing machine? f. Why a Turing machine is called linear bounded automation?
a. State Myhill-Nerode theorem with the definition of equivalent relation and invariance. b. Minimize the following machine by applying Myhill-Nerode theorem. | PS | X = a | X = b | |---|---|---| | → A | B | E | | B | C | D | | C | I | H | | D | F | G | | E | H | I | | F | H | I | | G | H | I | | H | I | I | | I | I | I | c. Construct a PDA to accept L = { WWR | W belongs to {a,b}* and WR is reverse string of W } by empty stack and final state. d. Construct an equivalent PDA for the following CFG. S → aAB/bBA A → bS/a B → aS/b Show an ID for the string abbaaabbbab for the PDA generated with stack description. e. Explain Ogden's Lemma for CFL.
a) Construct CFG for the following. i) Palindrome for binary numbers. ii) L = { a^n b^m c^n d^m | m, n > 0 } iii) L = { a^n b^m | n ≠ m } b) Convert the following grammar to CNF. S → aA/B/C/a A → aB/E B → aA C → cCD D → abd c) Define non-generating and non-reachable symbols with example.