Срезы. Функции и методы строк. (Часть 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
Программирование C#

Quiz
•
1st - 10th Grade
5 questions
Основы языка программирования Python

Quiz
•
9th - 12th Grade
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
9 questions
Управление циклом: continue

Quiz
•
10th Grade
13 questions
python для новичков

Quiz
•
4th - 11th Grade
12 questions
Python Сестрорецк №10 Тест по функциям

Quiz
•
9th - 12th Grade
5 questions
М1У4 Python Start

Quiz
•
3rd Grade - University
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade