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
16 questions
unit 1 BTEC Level 3 Computer Science

Quiz
•
11th - 12th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
16 questions
Kiểu Xâu

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

Quiz
•
11th - 12th Grade
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
14 questions
Python Quiz

Quiz
•
9th - 12th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
SST Yr8 - NCCE - Programming

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade