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
20 questions
TOC quiz

Quiz
•
University
25 questions
UNIT -2 B Top-Down Parsing Quiz

Quiz
•
University
20 questions
Name the Cartoon Network Shows

Quiz
•
KG - University
20 questions
CHN 2 : RLE COPAR & COMMUNITY DIAGNOSIS

Quiz
•
University
22 questions
Disney ID

Quiz
•
KG - University
25 questions
TOC 1 B

Quiz
•
University
25 questions
TOC 3A

Quiz
•
University
25 questions
UNIT - 2 A Understanding Parsers in Compilers

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade