
Квиз по строкам и срезам(повтор)
Authored by Сергей Кузнецов
Other
6th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для проверки наличия подстроки в строке?
in
not
contains
exists
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат будет при выполнении команды print('AB' + 'cd')?
ABcd
ABcd
AB cd
ABcdAB
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для определения длины строки?
size()
count()
len()
length()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что произойдет, если обратиться к несуществующему индексу строки?
IndexError
KeyError
ValueError
TypeError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат будет при выполнении команды print(s[::-1]) для строки s = 'abcdefghij'?
hgfedcba
abcdefghij
jihgfedcba
abcdefg
Access all questions and much more by creating a free account
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?