
Символьные строки в Python 10 класс
Authored by Надежда Козлова
Computers
10th Grade
Used 71+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
1. В программе используется символьная строка s:
s = "Привет от старых штиблет!"
Отметьте все правильные операторы, работающие с этой символьной строкой.
s = "12345"
"12345" = s
s[1] = "0"
s1 = s[:]
s[:] = s1
2.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
2. Что будет выведено на экран после выполнения программы?
s = "123"
s = s + "0" + s;
s = s + s;
print ( s )
3.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
3. Что будет выведено на экран после выполнения этой программы?
s = "123"
s = s + s[1] + s + s[2]
print ( s )
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Что будет выведено на экран после выполнения этой программы?
s = "12345"
n = len(s) + len("456")
print ( n )
5.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения программы?
s = "123456789"
s1 = "abcdef"
s = s[4:6] + "0" + s1[2:5]
print ( s )
6.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения этой программы?
s = "0123456"
q = "abc"
s = s[:2] + s[5:]
q = q[0] + s + q[1:]
print ( q )
7.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Что будет выведено на экран после окончания работы программы?
s = "0123456789"
q = s[2:]
n = q.find("6")
print ( n )
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?
Similar Resources on Wayground
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
12 questions
Identity Theft
Quiz
•
8th - 12th Grade
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
15 questions
Attacks Threats & Vulnerabilities (C1)
Quiz
•
9th - 12th Grade
15 questions
Unbound Report Quiz
Quiz
•
9th - 12th Grade
10 questions
Emerging technologies
Quiz
•
6th Grade - University
15 questions
I.C.T
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade