Y13 Regular expressions

Y13 Regular expressions

11th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Mathematical Calculations and Operations

Mathematical Calculations and Operations

9th Grade - University

15 Qs

CS Python Fundamentals Quiz 2 Review & Practice

CS Python Fundamentals Quiz 2 Review & Practice

9th - 12th Grade

12 Qs

Review of python

Review of python

12th Grade

10 Qs

AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

Regular Expressions

Regular Expressions

8th Grade - Professional Development

18 Qs

EOC Osorio

EOC Osorio

12th Grade

19 Qs

Python

Python

9th - 12th Grade

15 Qs

Lesson Plan 2.2

Lesson Plan 2.2

9th - 12th Grade

16 Qs

Y13 Regular expressions

Y13 Regular expressions

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Sharbrook stapleton

Used 115+ times

FREE Resource

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

Media Image

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

Media Image

Which regular expression matches the FSM?

ab|cb+

(a|b)+cb*

(a|cb+)+

a?c|b*

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?