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?
TOC 1 A

Quiz
•
Other
•
University
•
Hard
SAJU RAJ T
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Grammar and PDA Quiz

Quiz
•
University
20 questions
TOC quiz

Quiz
•
University
25 questions
TOC 4A

Quiz
•
University
25 questions
Quiz on Context-Free Grammars

Quiz
•
University
25 questions
UNIT I B Compiler Construction Quiz

Quiz
•
University
20 questions
IPL Quiz

Quiz
•
University
20 questions
20 Σπουδαία Μυαλά Που Άλλαξαν Τον Κόσμο

Quiz
•
6th Grade - University
25 questions
Push Down Automata Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade