
Y13 Regular expressions
Authored by Sharbrook stapleton
Computers
11th - 12th Grade
Used 124+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select the 2 strings that are matched by the regular expression:
a(bc)*d
abcbcbcbcd
acd
ad
acccd
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select the 2 strings that are matched by the regular expression:
a(b|c)?d
abcbcbcbcd
acd
ad
acccd
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select the string that is NOT matched by the regular expression:
ab?c*d
abcbcbcbcd
acd
ad
acccd
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which regular expression matches the FSM?
a?bc(dc)*
a|b(cd)+
a+bc(dc)?
a(b|c)d*c*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Regular expression are used to...
match patterns in text
draw FSMs
define programming language
correct spellings
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the strings that match the regular expression
(D|d)is(c|k)
disc
disK
is
DisK
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which regular expression matches the FSM?
ab|cb+
(a|b)+cb*
(a|cb+)+
a?c|b*
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?