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
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
CODE CRAFT

Quiz
•
University
25 questions
TOC 3A

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

Quiz
•
University
20 questions
Exploring Regular and Context-Free Languages

Quiz
•
University
20 questions
Kuis (Kisi - kisi UTS)

Quiz
•
University
20 questions
Trivia (Cultura General)

Quiz
•
12th Grade - University
20 questions
Trivia (Cultura General)

Quiz
•
12th Grade - University
22 questions
Disney ID

Quiz
•
KG - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade