
Python Strings
Authored by T. Arman
Computers
11th Grade
Used 4+ 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
45 sec • 1 pt
Strings in python are surrounded by either single quotation marks, or double quotation marks.
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You can display a string literal with the type() function.
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns the string in upper case.
upper()
lower()
strip()
replace()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns the string in lower case.
upper()
lower()
strip()
replace()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method removes any whitespace from the beginning or the end.
upper()
lower()
strip()
replace()
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method replaces a string with another string.
upper()
lower()
strip()
replace()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns a list where the text between the specified separator becomes the list items.
upper()
lower()
split()
replace()
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
Data Visualization Quiz
Quiz
•
9th - 12th Grade
10 questions
Artificial Intelligence
Quiz
•
6th - 12th Grade
13 questions
Python Fundamentals and Programming
Quiz
•
11th - 12th Grade
12 questions
Word Processing Terms
Quiz
•
8th - 12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade