Dive into the essentials of theoretical computer science with this quiz focused on computation theory. Test your understanding of finite state machines, regular expressions, and the pumping lemma, crucial for anyone studying computer science.
The output of the former depend on the present state and the current input
The output of the former depend on the present state
The output of the former depend solely on the current state
None of these
Rate this question:
May be different
Must be different
Must be the same
None of these
Rate this question:
Any grammer
Only CFG
Any unambiguous grammar
Only regular grammar
Rate this question:
A given grammar is regular
A given grammar is not regular
Whether two given regular expressions are equivalent
None of these
Rate this question:
1(01)*0 and (10)*10
X(xx)* and (xx)*x
(ab)*a and a*b*b
X*y and x*x'y
Rate this question:
It can't remember arbitrary large amount of information
It sometimes recognizes grammars that are not regular
It sometimes fails to recognize grammars that are regular
All of these
Rate this question:
Of finite tape length, rewinding capability and unidirectional tap movement
Of finite tape length, without rewinding capability and unidirectional tape movement
Of finite tape length, without rewinding capability and bidirectional tape movement
Of finite tape length, rewinding capability and bidirectional tape movement
Rate this question:
The tape movement is confined to one direction
It has no finite state control
It has the capability to remember arbitrary long sequences of input symbols
None of these
Rate this question:
Mealy Machine
Moore Machine
Kleene Machine
None of these
Rate this question:
(ab)*a and a(ba)*
(a+b)* and (a* + b)*
(a* +b)* and (a+b)*
None of these
Rate this question:
Union
Complementation
Intersection
None the of these
Rate this question:
Any string of odd number of a's
Any string of odd number a's and even number b's
Any string of even number of a's and even number of b's
Any string of even number of a's and odd number of b's
Rate this question:
Regular expression
DFSM
NDFSM
All of these
Rate this question:
All of these
(a + b)*
(a + b)(a + b)*
(a + b)*(a + b)
Rate this question:
Has at least one b
Should end in an 'a'
Has no consecutive a's or b's
Has at least two a's
Rate this question:
S → ab /aSb
S → aaSbb /ab
S → ab /aSb /€
None of these
Rate this question:
All languages can be generated by CFG
Any regular language has an equivalent CFG.
Some non-regular languages can be generated by any CFG
Some regular languages can't be generated by any CFG.
Rate this question:
Union
Kleene Star
Complementation
Product
Rate this question:
Regular
Context free
Not context free
None of these
Rate this question:
Context free
Not context free
Not context free whose complement is not CF
Context free but whose complement is not CF
Rate this question:
Need not be regular
Need not be context free
Is complement of regular
Is always CF
Rate this question:
Context free
Regular
Context sensitive
LR(k)
Rate this question:
Regular Grammar to Context free Grammar
Non deterministic FSA to Deterministic FSA
Non deterministic PDA to Deterministic PDA
Non deterministic TM to Deterministic TM
Rate this question:
1
2
3
4
Rate this question:
Quiz Review Timeline (Updated): Feb 4, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.