
CS401 T02
Authored by Mike Wong
Computers
Professional Development
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1. What does the regular expression (0 + 1)* represent?
Strings of alternating 0s and 1s
All binary strings, including the empty string
Strings containing only 1s
Strings ending with a 1
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. Which of the following operations is not part of Kleene operators?
Union (+)
Concatenation
Star (*)
Division (/)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3. What does the regular expression a*b represent?
Strings containing only b
Strings containing zero or more a's followed by one b
Strings ending with b
Strings with a and b alternating
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4. Which string is not in the language of the regular expression (ab + ba)*?
abab
baba
abbba
ε
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5. What does the regular expression 0+11+101 represent?
Strings starting with 0 and ending with 1
Strings containing either "0", "11", or "101"
Binary strings of length 2
Strings with alternating 0s and 1s
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6. What is true for any regular language?
It cannot be expressed using a DFA
It can only be described by a regular expression
It can be accepted by both DFA and NFA
It always contains the empty string
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7. According to Kleene's Theorem, a language is regular if and only if:
It can be described using a finite automaton
It has infinite strings
It is accepted by a Turing machine
It has no ε-transitions
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
google drive
Quiz
•
Professional Development
15 questions
Javascript basics
Quiz
•
Professional Development
10 questions
Public Key Infrastructure
Quiz
•
Professional Development
13 questions
Guess the Video Game Pets 1
Quiz
•
KG - Professional Dev...
10 questions
BE1 - Behavioral Design Pattern
Quiz
•
Professional Development
13 questions
Database SQL Part 1 V1
Quiz
•
Professional Development
10 questions
C++Quiz#1
Quiz
•
Professional Development
13 questions
Javascript HTML CSS
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development