
String Manipulation Quiz
Authored by Mark Halfyard
Computers
12th Grade

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
30 sec • 1 pt
What is the purpose of string manipulation?
To extract characters from a string
To create a new string
To change the font of a string
To add colors to a string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to get the length of a string?
len(string)
string.len()
length(string)
string.length()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to convert a string to uppercase?
string.uppercase()
toUpperCase(string)
string.upper()
string.toUpper()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the substring command do?
Returns the entire string
Returns part of the string
Reverses the string
Counts the number of characters in the string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is concatenation of strings achieved?
Using the join command
Using the merge command
Using the append command
Using the addition or plus operator
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the ASC command?
Returns the character from the ASCII number
Counts the number of characters in a string
Converts a string to lowercase
Returns the ASCII value of a character
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what is the equivalent of string.length()?
len(string)
string.len()
string.length
length(string)
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
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Youtube
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade