
String Formats Quiz
Quiz
•
Other
•
9th Grade
•
Practice Problem
•
Medium
Teetreeo Pittman
Used 4+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is string concatenation?
Splitting a string into multiple smaller strings.
Combining two or more strings together to create a new string.
Converting a string into a number.
Removing all spaces from a string.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operator is used for string concatenation in Python?
*
+
-
/
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of 'Hello' + 'World' in Python?
WorldHello
HW
HelloWorld
Hello World
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is string formatting?
String formatting is the process of converting a string to uppercase.
String formatting is the process of creating a formatted string by substituting placeholders with values.
String formatting is the process of removing all whitespace from a string.
String formatting is the process of reversing the characters in a string.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the following code to make the string lowercase:
name = "Billy Bob"
print(____.lower())
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the following code to format the input statement to uppercase:
points = int(input("How many points did you score?")._____())
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the following code to format the input statement to convert all upper case to lower case, and lower case to upper case :
myvar = input("Who's your favorite artist?").________()
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
10 questions
ISIZULU - Isifundo 4
Quiz
•
1st Grade - University
10 questions
Music Instrument Family
Quiz
•
5th - 12th Grade
12 questions
PFHS 3.02 Financial Literacy
Quiz
•
9th - 12th Grade
10 questions
TYPES OF MUSICAL INSTRUMENTS
Quiz
•
6th - 11th Grade
10 questions
German Greetings and Farewells
Quiz
•
7th - 12th Grade
10 questions
CE 6b SOP and Checks Review
Quiz
•
7th - 12th Grade
12 questions
TXT
Quiz
•
1st - 12th Grade
12 questions
CA DMV Quiz
Quiz
•
9th - 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
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
