Python Strings

Quiz
•
Computers
•
11th Grade
•
Medium
T. Arman
Used 3+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kuis Python 1

Quiz
•
11th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
8 questions
Python Strings Programming Quiz

Quiz
•
11th Grade
15 questions
coding

Quiz
•
KG - Professional Dev...
10 questions
Java Character and String class methods

Quiz
•
10th - 12th Grade
11 questions
ქვიზმენ 2

Quiz
•
9th - 12th Grade
10 questions
Introducing Python Strings

Quiz
•
11th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade