
Python - Modify Strings - 3
Quiz
•
Other
•
12th Grade
•
Hard
Amy Austin
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to return a string in upper case?
capitalize()
makeUpper()
toUpperCase()
upper()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method removes whitespace from the beginning or the end of a string?
removeSpaces()
cut()
strip()
trim()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you replace a string with another string in Python?
change()
replaceString()
replace()
swap()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method splits a string into a list?
break()
cut()
split()
divide()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method returns the string in lower case?
lower()
toLowerCase()
smaller()
makeLower()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid string method in Python?
strip()
splice()
split()
replace()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you concatenate strings in Python?
Using the join() method
Using the + operator
Using the concat() method
Using the append() method
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Famous dogs
Quiz
•
5th Grade - Professio...
15 questions
National Income & Related Aggregates
Quiz
•
11th Grade - University
10 questions
A5 Brakes (ASE Style Questions #1)
Quiz
•
9th - 12th Grade
10 questions
Livestock Feed Identification
Quiz
•
10th - 12th Grade
15 questions
#AgSci_Kale
Quiz
•
10th - 12th Grade
12 questions
Unit 2 Terms 2.4-2.7
Quiz
•
12th Grade
13 questions
Perm Theory and Perm Guest Experience
Quiz
•
12th Grade
15 questions
Strings and Brass Instruments of the Orchestra
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade