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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
12 questions
Internet
Quiz
•
University
10 questions
Q1 - Python
Quiz
•
University
12 questions
Kuiz Komputer dan ICT
Quiz
•
1st Grade - University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
11 questions
Latex
Quiz
•
University
13 questions
Processing Quiz
Quiz
•
University
15 questions
Pengolahan Citra IK-1 10.45
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University