
String Manipulation Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Demi Oni
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the act of manipulating, extracting or changing the characters in a string variable called?
Variable declaration
Algorithm design
String manipulation
Data analysis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the example of an online form, what do we need to do with the entered strings for the first and last name?
Extract the first letter and convert to uppercase, then convert the rest to lowercase
Convert to binary
Count the number of characters
Remove all special characters
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of text parsing in a search engine?
Extract the number and characters from a string to provide a sensible output
Encrypt the search query for security
Delete the search query after processing
Translate the search query to a different language
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the train ticket example, what is the purpose of manipulating the string for long train station names?
To increase the font size on the ticket
To fit the names on a printed ticket by abbreviating them
To remove the names completely
To change the color of the names
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'dot length' command return for a string?
Number of uppercase characters
Number of special characters
Length of the string
Number of lowercase characters
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do we convert a string to uppercase in the given syntax?
string.uppercase()
string.convertUpper()
string.toUpper()
string.upper()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'dot substring' command do?
Returns the entire string in lowercase
Returns the entire string in uppercase
Returns part of the string starting at the character of the first parameter and up to the number of characters in the second parameter
Returns part of the string starting at the first character
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
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Youtube
Quiz
•
4th Grade - University
20 questions
End of year quiz: Spreadsheet Modelling
Quiz
•
8th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
10 questions
Tables in HTML
Quiz
•
7th - 8th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
