
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
13 questions
Chap 1: What is a program made of?
Quiz
•
University
12 questions
Topik 2 : Microsoft Word S1
Quiz
•
University
10 questions
ITESA Roadmap Event 12-09-24
Quiz
•
University
10 questions
Implementing Mass Storage Application
Quiz
•
10th Grade - University
11 questions
Digital Mindset
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
15 questions
MS. Excel
Quiz
•
12th Grade - University
14 questions
LA6.C6: Graphics Window
Quiz
•
9th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University