
P2-Regular Expressions
Authored by Dr. Jopate
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 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
_______ 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()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Will this code match the regular expression?
Yes
No
Sometimes Yes
Error in Program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What letter will be printed on the screen after running this code:
e
x
t
Nothing prints
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name "Robert" in the following list:
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, "city" is an example of a what?
List
Loop
Variable
Array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output will this code produce?
Exeter
4
6
city
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
SRD QUIZ 3 CHAPTER 4
Quiz
•
University
10 questions
Kuis Basis Data
Quiz
•
University
10 questions
Pretest Visual Basic 6.0
Quiz
•
University
15 questions
Microcontroller
Quiz
•
University
11 questions
What is a computer
Quiz
•
KG - University
12 questions
PSSI Chp 1 dan 2
Quiz
•
University
10 questions
TestOut Desktop Pro Plus 1.1.18 Concept Questions
Quiz
•
7th Grade - University
10 questions
PENGENALAN UNITY
Quiz
•
University
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