
TOC quiz
Authored by Hemang Thakar
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following languages over the alphabet {0,1} is described by the regular expression: (0+1)*0(0+1)*0(0+1)* ?
The set of all strings containing the substring 00.
The set of all strings containing at most two 0’s.
The set of all strings containing at least two 0’s.
The set of all strings that begin and end with either 0 or 1.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is FALSE?
There is unique minimal DFA for every regular language
Every NFA can be converted to an equivalent PDA.
Every nondeterministic PDA can be converted to an equivalent deterministic PDA.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are regular sets?
{anb2m|n≥0, m≥0}
{anbm | n = 2m}
{anbm n=m}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the regular language L = (111 + 11111)*. The minimum number of states in any DFA accepting this languages is:
3
4
5
9
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The language recognized by M is :
{w ∈ {a, b}* / every a in w is followed by exactly two b's}
{w ∈ {a, b}* every a in w is followed by at least two b’}
{w ∈ {a, b}* w contains the substring 'abb'}
{w ∈ {a, b}* w does not contain 'aa' as a substring}
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
{q0, q1, q2}
{q0, q1}
{q0, q1, q2, q3}
{q3}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The smallest finite automation which accepts the language {x | length of x is divisible by 3} has :
2 states
3 states
4 states
5 states
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?