2.2.3 String Manipulation Techniques

Quiz
•
Computers
•
11th Grade
•
Medium

Amanda Beacham
Used 1+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is string manipulation?
The process of creating new strings from scratch.
The act of manipulating, extracting, or changing the characters in a string variable.
The process of deleting strings.
The act of converting strings to numbers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the context of an online form, why might string manipulation be necessary?
To delete user input.
To ensure the first letter of each name is capitalised and the rest are lowercase.
To convert all text to numbers.
To remove spaces from the input.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is text parsing in the context of a search engine?
The process of deleting irrelevant text.
The process of extracting and manipulating parts of a string to provide a sensible output.
The process of converting text to images.
The process of encrypting text.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `.length` command do in string manipulation?
It converts a string to uppercase.
It returns the length of a string.
It extracts a substring.
It concatenates two strings.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command would you use to convert a string to uppercase?
`.lower`
`.upper`
`.substring`
`.length`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `.substring` command do?
It returns the entire string.
It returns part of the string starting at a specified position and for a specified number of characters.
It converts a string to lowercase.
It concatenates two strings.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you extract the left-most characters from a string?
Using `.right`
Using `.left`
Using `.substring`
Using `.length`
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
15 questions
python basics

Quiz
•
11th Grade - University
18 questions
GCSE Computer Science Data types

Quiz
•
10th - 12th Grade
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
20 questions
AQA GCSE Computer Science Paper 1

Quiz
•
9th - 11th Grade
16 questions
Database Query

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade