Y13 Regular expressions

Y13 Regular expressions

11th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

CS Python Fundamentals Quiz 2 Review & Practice

CS Python Fundamentals Quiz 2 Review & Practice

9th - 12th Grade

12 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

Programming - Variables & Constants

Programming - Variables & Constants

4th - 12th Grade

10 Qs

Digital Electronics - Logic Gates - Magic of Electrons - Truth

Digital Electronics - Logic Gates - Magic of Electrons - Truth

6th - 12th Grade

18 Qs

Programming Paradigms

Programming Paradigms

12th Grade

10 Qs

Programming -  Operations on Numeric & Boolean Data

Programming - Operations on Numeric & Boolean Data

2nd - 12th Grade

10 Qs

Regular Expressions

Regular Expressions

12th Grade

10 Qs

Technical Terms - Internet (A-Z) - Jitter

Technical Terms - Internet (A-Z) - Jitter

12th Grade

10 Qs

Y13 Regular expressions

Y13 Regular expressions

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Sharbrook stapleton

Used 116+ 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?