
String Formats Quiz
Quiz
•
Other
•
9th Grade
•
Medium
Teetreeo Pittman
Used 4+ times
FREE Resource
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?").________()
Similar Resources on Wayground
11 questions
TIGERS
Quiz
•
8th - 12th Grade
10 questions
Prime Ministers of India
Quiz
•
1st Grade - University
10 questions
Logistics
Quiz
•
9th Grade
10 questions
Manchester United Quiz
Quiz
•
1st - 10th Grade
10 questions
Dragon Mania Ledgends Quiz
Quiz
•
1st Grade - Professio...
10 questions
CSS QUIZ #3
Quiz
•
9th - 12th Grade
10 questions
Free fire 2021
Quiz
•
6th - 12th Grade
10 questions
BHS General Knowledge Test Quiz
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
