Срезы. Функции и методы строк. (Часть 1)

Quiz
•
Computers
•
10th Grade
•
Medium
Надежда Владимировна Фадина
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Что будет выведено в результате выполнения кода?
s = 'кодирование'
print(s[3:6])
код
кодиров
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой результат выполнения следующего кода?
s = 'регистр'
print(s[:5])
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой шаг среза используется в следующем коде?
s = 'абвгдежзикл'
print(s[1:7:2])
7
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой результат выполнения следующего кода?
s = 'курсор'
print(s[::-1])
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
s = 'Кто-то что-то нашёл, но что-то потерял.'
print(s.count('то')
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой результат выполнения следующего кода?
s = 'филология'
print(s.find('ло'))
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Что делает метод strip()?
Заменяет пробелы на символы новой строки
Добавляет пробелы в начале и конце строки
Удаляет все символы из строки
Удаляет пробелы в начале и конце строки
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Основные алгоритмические конструкции. Следование

Quiz
•
9th - 12th Grade
10 questions
Викторина по программному обеспечению

Quiz
•
9th Grade - University
15 questions
Python - тест

Quiz
•
1st - 12th Grade
15 questions
Урок 14. Строки, списки

Quiz
•
1st - 12th Grade
8 questions
Python Словари

Quiz
•
10th Grade
10 questions
Python

Quiz
•
1st - 12th Grade
14 questions
Повторение Python. 7 класс

Quiz
•
10th Grade
10 questions
Программирование алгоритма 8 класс

Quiz
•
1st - 10th 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