
Строковые величины и текстовые файлы

Quiz
•
Other
•
10th Grade
•
Easy
Татьяна Кузьмина
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Сравните строки:
"123" и "1111"
"123" > "1111"
"123" = "1111"
"123" < "1111"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каким знаком обозначается операция конкатенация?
+
&
|
-
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string s ="Не слово хозяин хозяину,
а хозяин слову хозяин";
string s1 = "хозяин";
int p1 = s.find(s1);
Чему равно p1?
-1
9
10
40
41
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string s ="informatics";
int n = s.length();
Чему равно n?
11
10
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string s = "informatics";
s1 = s.substr(2,5);
Чему равно s1?
"forma"
"nform"
"intics"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string s = "informatics";
s.erase(2, 7);
Чему равно s?
"incs"
"inics"
"itics"
"iics"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Если необходимо ввести строку со служебными символами, то какой командой необходимо воспользоваться?
get(cin, s1);
getline(cin, s1);
getline(s1);
cin >> s;
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Regression Analysis

Quiz
•
10th Grade - University
15 questions
Kuis TIK C++

Quiz
•
9th - 12th Grade
20 questions
Secondary Math Pretest

Quiz
•
6th - 12th Grade
10 questions
Bài tập biến mảng

Quiz
•
1st Grade - University
15 questions
Bất phương trình bậc hai (lần 2)

Quiz
•
10th Grade
10 questions
Րաֆֆի. <<Սամվել>> վեպը

Quiz
•
10th Grade
15 questions
Introduction to HTML

Quiz
•
9th - 12th Grade
19 questions
ASK - 4.2 HTML

Quiz
•
7th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
18 questions
Characteristics of Living Things

Quiz
•
9th - 10th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade