
P2-Regular Expressions

Quiz
•
Computers
•
University
•
Hard
Dr. Jopate
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Basic Computer Troubleshooting

Quiz
•
University
10 questions
KUIS PRAK. 9: MANAGEMENT FILE 😼

Quiz
•
University
15 questions
Introduction Of Laravel

Quiz
•
KG - University
15 questions
CNET151 - Chapt 9 - Computer Security Technology

Quiz
•
University
10 questions
Bitmap v Vector Images

Quiz
•
KG - University
15 questions
Web Development Seminar

Quiz
•
University
15 questions
Web Scraping 102 - Quiz 2

Quiz
•
University
10 questions
Kvíz o počítačových sítích

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade