
C++ String Manipulation
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Summer Ehresman
Used 69+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The concatenation operator is what in C++?
=
,
+
""
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To make a string uppercase I would use which function?
uppercase()
upper()
makeUpper()
transform()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If I had the following code what will display?
string word = "Purdue";
int x = word.length();
cout<<x<<endl;
5
6
7
nothing
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the variable word be after this code?
string word = "Chase Ross";
word.erase(0,4);
Chase Ross
e Ross
se Ross
Chase
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the variable word be after this code?
string word = "Chase Ross";
word.erase(6);
Chase Ross
Chase
Ross
e
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
string word = "Jacob Tallman";
string w2= word.substr(0,2)
What letters are in w2?
Jacob Tallman
cob Tallman
Ja
Jac
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
string word = "Carter Franklin";
string w2= word.substr(7,5);
What letters are in w2?
Carter
Frank
Franklin
Carter Franklin
Create a free account and access millions of resources
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
QUIZ INTEGRASI PERKANTORAN - KELAS X
Quiz
•
10th Grade - University
20 questions
Ulangan1-DETIC-Informatika
Quiz
•
10th Grade
15 questions
Unbound Report Quiz
Quiz
•
9th - 12th Grade
11 questions
Câu hỏi ôn tập HKII_Tin học 6
Quiz
•
8th Grade - Professio...
11 questions
Google Slides Quiz
Quiz
•
12th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
14 questions
Archivos Digitales
Quiz
•
9th Grade - University
15 questions
tik kelas 7
Quiz
•
1st Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
