Quiz 3.5

Quiz 3.5

Professional Development

15 Qs

quiz-placeholder

Similar activities

Tarjetas gráficas

Tarjetas gráficas

Professional Development

10 Qs

Streams

Streams

Professional Development

10 Qs

STIN (EM24) - Tecnologías 4.0 (T13)

STIN (EM24) - Tecnologías 4.0 (T13)

University - Professional Development

17 Qs

Web Application Security Testing-PostTest

Web Application Security Testing-PostTest

Professional Development

18 Qs

ER Model

ER Model

Professional Development

10 Qs

C Programming

C Programming

Professional Development

10 Qs

Interesting Bird Facts

Interesting Bird Facts

KG - Professional Development

11 Qs

machineLearning Test

machineLearning Test

Professional Development

20 Qs

Quiz 3.5

Quiz 3.5

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Mohand Mahmoud

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a valid email address?

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

^\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$

^[a-z\s]+$

^[a-z\s]+$

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a valid phone number in the US?

^[a-z\s]+$

^\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

all of them

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a string that contains at least one digit?

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

^\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$

^[a-z\s]+$

\d+

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a string that contains only lowercase letters and spaces?

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

^\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$

^[a-z\s]+$

\d+

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a string that starts with "Hello" and ends with "world"?

world$

^Hello.*

^Hello.*world$

^Hello_world$

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the regular expression pattern to match a valid URL that starts with "https://"?

^https://[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

^https://[a-zA-Z]*\d{3}$

^https://(?=.*[a-zA-Z])(?=.*\d).+$

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

txt = "The rain in Spain"

x = re.search(r"\bS\w+", txt)

print(x.....())

output is (12,17)

what is method in space ???

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?