In Python, strings are…
Splitting, Concatenating, and Joining Strings in Python

Quiz
•
Computers
•
University
•
Hard
Sangameshwar Biradar
Used 20+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
char arrays
changeable
immutable
str objects
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The minsplit parameter to split() specifies the minimum number of splits to make to the input string.
False
True
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following would separate a string input_string on the first 2 occurences of the letter “e”?
'e'.split(input_string, maxsplit=2)
input_string.split('e', 2)
input_string.split('e', maxsplit=2)
'e'.split(input_string, 2)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python strings have a property called “immutability.” What does this mean?
Strings can’t be divided by numbers
You can update a string in Python with concatenation
Strings in Python can be represented as arrays of char S
Strings in Python can’t be changed
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If you want to transform a list of strings input_list into a single string with a comma between each item, which of the following would you give as the input to join()?
string
' , '
str
input_list
6.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following mathematical operators can be used to concatenate strings:
*
/
-
+
Similar Resources on Quizizz
10 questions
Automata - Understanding

Quiz
•
University
10 questions
Programming basic

Quiz
•
University
10 questions
Coding Basics

Quiz
•
5th Grade - University
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
10 questions
PYTHON_CHAPTER 6

Quiz
•
University
10 questions
Session 2

Quiz
•
University
10 questions
Session 2 Quiz

Quiz
•
University
11 questions
Python Data Types Quiz

Quiz
•
10th Grade - University
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
47 questions
2nd Semester 2025 Map Final

Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3

Quiz
•
KG - University
24 questions
Cartoon Characters

Quiz
•
KG - University
9 questions
What is your personality?

Quiz
•
University
10 questions
El Presente

Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology

Quiz
•
KG - University