
Python-RegEx
Authored by Sunil Kumar
Computers
University
Used 141+ 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
We import this module to work with regular expressions.
re
ReEx
RegEx
Reg
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The meaning of the meta character * is
One or more occurrences
Occurrences only for Numbers
Zero or more occurrences
Occurrences only for strings
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a meta character
*
%
/
\
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
functions that belongs to regular expression module
findall
match
search
All the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"\S" returns a
Match where the string DOES NOT contain a white space character
Match where the string CONTAINS a white space character
Match where the string DOES NOT contain any word characters
Match where the string DOES NOT contain digits
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[^pqr] returns a
Match for characters p, q, r, P, Q and R only
Match for characters p, q, and r only
Match for any character contain p, q, and r
Match for any character except p, q, and r
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which returns a match for any alphabetic lower or upper case character between a and z.
[a-z]
[a-z-A-Z]
[a-z][A-Z]
[azAZ]
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?