TOC UNIT 2B

Quiz
•
Other
•
University
•
Hard
SAJU RAJ T
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language is generated by the regular expression (a|b)abb?
Strings ending in abb
Strings containing abb
Strings starting with abb
All strings over {a, b}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a regular language?
{aⁿbⁿ | n ≥ 0}
{a, ab, abb, abbb, …}
{w | w contains an even number of 0s}
{w | w does not contain the substring '11'}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is TRUE about regular expressions and finite automata?
Every regular expression can be converted to an NFA
Every DFA has a corresponding regular expression
They both define regular languages
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these operations preserve regularity?
Union
Concatenation
Kleene star
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pumping Lemma is used to:
Convert NFA to DFA
Prove a language is regular
Prove a language is not regular
Minimize a DFA
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT closed under regular languages?
Union
Intersection
Complement
Context-Free Grammar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If L1 and L2 are regular, then L1 ∩ L2 is:
Always regular
Never regular
Regular only if L1 ⊆ L2
Not guaranteed to be regular
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
TOC 1 A

Quiz
•
University
20 questions
TOC quiz

Quiz
•
University
25 questions
TOC 1 B

Quiz
•
University
20 questions
Triệu chứng học thận tiết niệu

Quiz
•
University
25 questions
TOC 3A

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

Quiz
•
University
25 questions
TOC 4A

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

Quiz
•
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