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 of the following is a regular language?
{aⁿbⁿ | n ≥ 0}
{aⁿ | n is prime}
{aⁿbᵐ | n, m ≥ 0}
{aⁿbⁿcⁿ | n ≥ 0}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the symbol * (Kleene star) represent in regular expressions?
Zero or more occurrences
One or more occurrences
Optional character
End of input
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which machine accepts regular languages?
Turing Machine
Pushdown Automaton
Finite Automaton
Stack Machine
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid regular expression?
a+b
a(b|c)*
(a|b)*abb
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does (a|b) mean?
Strings with exactly one a or b
Strings of only a's
Any string made of a's and b's
Only empty string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the empty set a regular language?
Yes
No
Sometimes
Only for DFAs
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the language of the regular expression a?
Only strings with one a
Strings with no a
Strings with zero or more a's
Strings with only b's
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
RegEx 01

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

Quiz
•
University
20 questions
Archery Practice

Quiz
•
3rd Grade - Professio...
24 questions
FLAT - UNIT 1

Quiz
•
University
25 questions
FLAT UNIT 5

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

Quiz
•
University
22 questions
Orchestra, Instruments and Composers.

Quiz
•
9th Grade - University
24 questions
Sound (Revision) 1

Quiz
•
4th Grade - 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