Символьные строки, операции со строками - С++

Quiz
•
Computers
•
10th Grade
•
Medium
Юлия Данилина
Used 16+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для работы с символьными строками в С++ введен тип ...
int
char
float
string
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Начальное значение строки можно задать ...
с помощью оператора присваивания =
с помощью генерации псевдослучайных символов randstr
с помощью функции getline()
с помощью команды cin
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Что будет выведено на экран после выполнения программы?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет выведено на экран после выполнения этой программы?
string s = "123";
s = s + s[1] + s + s[2];
cout << s;
12311232
12321233
249
123s[1]123s[2]
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Как называется операция объединения (сцепления)?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Какой символ используется для конкатенации?
*
/
+
-
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Для чего используется функция substr?
сцепление
удаление
выделение подстроки
вставка
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
X_CYDB1

Quiz
•
9th - 12th Grade
9 questions
Кодирование графич и звуков информации

Quiz
•
7th - 10th Grade
16 questions
Локальные и глобальные компьютерные сети

Quiz
•
10th Grade
10 questions
Электронная почта

Quiz
•
10th - 11th Grade
11 questions
Excel

Quiz
•
1st - 10th Grade
10 questions
Базы данных и системы управления базами данных

Quiz
•
10th - 11th Grade
11 questions
Lesson 6

Quiz
•
1st Grade - University
12 questions
Компьютерная графика

Quiz
•
1st - 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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade