Question Bank
Question Bank
UNIT-1
Bloom’s Course
Q
QUESTIONS Taxonomy Outcome
No.
Level
1. 3(Apply) CO1
2.
3(Apply) CO1
3. Construct a Moore Machine that generates an output ‘A’ if string endswith 10 and 3(Apply) CO1
generates output ‘B’ if string ends with 11 otherwise generates output ‘C’.
Convert the given Mealy machine into its equivalent Moore machine.
4. 3(Apply) CO1
5. 3(Apply) CO1
6.
3(Apply) CO1
11. Design a DFA to accept the string of (0,1) not ending with the string 01. 5(Create) CO1
UNIT-II
Bloom’s Course
Q
QUESTIONS Taxonomy Outcome
No.
Level
1. Design a FSM for binary input which is divisible by 3. 3(Apply) CO2
3. Construct a minimal DFA that accepts all strings of 0’s and 1’s such that number 3(Apply) CO2
of 0’s divisible by 5 and number of 1’s divisible by 3.
Convert into minimum state automata for the given DFA.
4. 3(Apply)
CO2
CO2
5. 3(Apply)
6. 3(Apply)
CO2
8. 3(Apply)
CO2
11. 3(Apply)
UNIT-III
Bloom’s Course
Q
QUESTIONS Taxonomy Outcome
No.
Level
Find the context free grammar for the following language- 3(Apply)
(with n>=0, m>=0, k>=0) CO3
1.
L = { aⁿ bmck | n=m or m<=k }
L= { a2nbc | n>=1}
Consider the following productions-
S aAS / a CO3
2. 3(Apply)
A SbA / SS / ba
Find out LMD, RMD & construct a Parse Tree for the string aabbaa
Transform the grammar with productions-
3. A BAB / B / ε 3(Apply)
B 00 / ε CO3
into Chomsky Normal form.
Convert the CFG into GNF-
4. A BC 3(Apply) CO3
B CA / b
C AB / a
Simplify the given CFG
SaSB/aA/bB
5. 3(Apply) CO3
AaA/ ε
BbB/ ε
Bloom’s Course
Q
QUESTIONS Taxonomy Outcome
No.
Level
Construct the PDA that accepts {WCWR | W ≡ (0+1)*} by empty stack, where 3(Apply) CO4
1.
WR represents the reverse of W?
2. Construct the PDA that accepts {WWR | W ≡ (0+1)*} 3(Apply) CO4
8. Give the difference between PDA with ‘Empty stack’ and ‘Final state’ with 2(Understand) CO4
example.
9. Write short note on decision algorithms for Context free languages? 1(Remember) CO4
Bloom’s Course
Q
Taxonomy Outcome
No.
QUESTIONS Level
All natural numbers are either even or odd. Construct a Turing machine that
computes the parity function for natural numbers, i.e. that computes:
0, if n is even 3(Apply)
1. CO5
F(n) =
1, if n is odd
Design a Turing machine to recognize all strings consisting of even number of 3(Apply) CO5
2.
1’s.
3. Design a Turing machine to accept the language. 3(Apply) CO5
L={WWR | W ≡ (0+1)*}
4. Design a Turing machine to accept the language. 3(Apply) CO5
L={WcWR | W ≡ (0+1)*}
Write a brief note on:
5. i. Universal Turing machine. 1(Remember)
ii. Church –Turing hypothesis CO5
iii. P & NP Class problems
Design a Turing machine to recognize all strings consisting of equal number of 3(Apply) CO5
6.
1’s and 0’s.
7. Define Turing machine and its parameters. 1(Remember) CO5
Design a Turing machine to recognize all strings consisting of equal number of 3(Apply) CO5
9.
1’s and 0’s.
Prove that
i. The union of two recursive languages is recursive.
10. ii. If a language L and its complement Ā are both recursively enumerable 4(Analyze) CO5
then Ā
is recursive.