
Quiz 3.5
Authored by Mohand Mahmoud
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 ???
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?
Similar Resources on Wayground
10 questions
CORSO G_SUITE parte seconda
Quiz
•
Professional Development
11 questions
SENA
Quiz
•
University - Professi...
10 questions
How are you doing?
Quiz
•
Professional Development
13 questions
SALESFORCE OVERVIEW
Quiz
•
Professional Development
20 questions
Révision HTML, CSS et JavaScript
Quiz
•
Professional Development
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Azure Cloud computing
Quiz
•
Professional Development
20 questions
Teaching Strategy
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development