The production grammar { S → aSbb, S → abb } is
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.
The production grammar { S → aSbb, S → abb } is
The loop-free testing graph indicates that
A shift register is a
Consider the following regular expression : R = ( ab + abb ) * bbab. Which of the following is not in the set denoted by R ?
Which of the following is correct ?
The reduced grammar of S → AB | a, A → a is
Which of the following grammars generates strings with any number of 1's ?
Input sequence of an information lossless machine can be determined from the knowledge of
Context Free Grammar can be recognized by
Which of the following statements is wrong ?
State the pumping lemma for regular language.
Using pumping lemma prove that the set L = { 0^i 1^i | i ≥ 1 } is not regular.
Draw the transition diagram of a finite state automaton that accepts all strings over {0, 1} having odd number of 0's
Draw the transition diagram of a finite state automaton that accepts all strings over {0, 1} having even number of 0's and even number of 1's.
Convert the following context free grammar into an equivalent grammar in CNF : S → aAbB, A → abAB / aAA / a, B → bBaA / bBB / b.
State and discuss Myhill-Nerode's theorem.
Construct a regular grammar G generating the regular set represented by P = a*b(a+b)*.
State the difference between DFA and NFA.
Design an NFA which accepts set of all binary strings containing 1100 or 1010 as substrings.
What is Regular language?
Find Regular expressions over Σ = { a, b } for the languages defined as follows: i) L1 = { a^m b^m : m > 0 } ii) L2 = { a^(2n) b^(2m+1) | n ≥ 0, m ≥ 0 } iii) L3 = { b^m ab^n : m > 0, n > 0 }
Find the Regular expression for the following transition graph :
Define pushdown automata.
Construct a PDA accepting the set of all strings over { a, b } with equal number of a's and b's.
What are the nonempty transitions in an NPDA?
Let G be a grammar s → 0B | 1A, A → 0 | 0S | 1AA, B → 1 | 1S | 0BB. For the string 00110101, find i) leftmost derivation ii) rightmost derivation iii) derivation tree.
Construct the minimum state automata equivalent to given automata M defined below :
Convert the following NFA to DFA.
Prove that CFLs are not closed under intersection and complement operation.
What is information lossless machine?
Consider the machine shown in the following table : | Present State | Next State | | |---|---|---| | | X = 0 | X = 1 | | A | A, 1 | C, 1 | | B | E, 0 | B, 1 | | C | D, 0 | A, 0 | | D | C, 0 | B, 0 | | E | B, 1 | A, 0 | Is this machine information lossless of finite order? If yes, find the order μ.
Design a 2-input 2-output Mealy machine, which takes as input a binary stream and generates on output of 1 only when a sequence of the pattern 01011 is found in the input stream. Design should be clearly justified.
Consider the following machine : | PS | NS | | | | |---|---|---|---|---| | | I1 | I2 | I3 | I4 | | A | - | - | E, 1 | - | | B | C, 0 | A, 1 | B, 0 | - | | C | C, 0 | D, 1 | - | A, 0 | | D | - | E, 1 | B, - | - | | E | B, 0 | - | C, - | B, 0 | i) Draw the merger graph. ii) Draw the merger table. iii) Draw the compatibility graph. iv) Find the minimal closed covering with justification.
Consider the machine given below : | PS | NS | | |---|---|---| | | X = 0 | X = 1 | Z | | A | D | G | 0 | | B | C | E | 0 | | C' | H | F | 0 | | D | F | F | 0 | | E | B | B | 0 | | F | G | D | 0 | | G | A | B | 0 | | H | E | C | 1 | Derive the closed partitions. Construct a π-lattice for it.