
TOC 1 A
Authored by SAJU RAJ T
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let L be the set of all strings over {a, b} that do not contain "aaa" as a substring. What is the minimum number of states in a DFA accepting L?
2
3
4
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following regular expressions defines the language of all strings over {a, b} that end with "ab"?
(a+b)ab
ab(a+b)
(a+b)a(b)
(a+b)*ba
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a DFA that accepts binary strings divisible by 3. How many states does the minimal DFA have?
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A language L over alphabet {a, b} is defined by the regular expression (a+b)abb. Which of the following strings is in L?
abab
abb
baab
bba
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given an NFA with ε-transitions and 4 states, what is the maximum number of states in the equivalent DFA after removing ε-transitions and determinizing?
8
16
4
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a DFA with 6 states. What is the worst-case number of equivalence classes during DFA minimization?
6
5
2
Depends on language
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What language is recognized by the regular expression (a+b)a(a+b)(a+b)?
Strings with 'a' as the 3rd-last symbol
Strings starting with 'a'
Strings ending in 'aa'
Strings of length 3
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?