
Regular Expressions (Python)
Computers
KG - University
Used 141+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is line of Python code imports the re module?
Import re
import RE
import re
Import RE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which flag will make your search case-insensitive?
re.I
re.c-i
re.CI
re.C-I
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_______ is used to search through a string starting at its beginning. It returns None if no match is found.
re.match()
re.Search()
re.Method()
re.search()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which flag will search over multiple lines?
re.ml
re.M
re.m
re.ML
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_______ searches the entire string, not just starting at the beginning. It returns None if no match is found.
re.match()
re.Search()
re.Method()
re.search()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Will this code match the regular expression?
Yes
No
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Will this code match the regular expression?
Yes
No
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?