Y13 Regular expressions

Y13 Regular expressions

11th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

if/else statements quiz

if/else statements quiz

9th Grade - University

10 Qs

String Manipulation

String Manipulation

9th - 11th Grade

13 Qs

L.8. STRINGS AND STRING MANIPULATION -1

L.8. STRINGS AND STRING MANIPULATION -1

12th Grade

10 Qs

Regular Expressions

Regular Expressions

8th Grade - Professional Development

18 Qs

GCSE Computing: Computational Logic 2.4

GCSE Computing: Computational Logic 2.4

11th - 12th Grade

15 Qs

Python Booleans

Python Booleans

11th Grade

10 Qs

Quiz 11 - Strings

Quiz 11 - Strings

11th Grade

10 Qs

Level Up! Welcome to Ninja Quiz

Level Up! Welcome to Ninja Quiz

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?