
Символьные строки в 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
15 questions
Programming and Debugging
Quiz
•
10th Grade
10 questions
Arquitectura de Ordenadores
Quiz
•
10th - 12th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
10 questions
Revision 1
Quiz
•
1st - 10th Grade
16 questions
Python Basics
Quiz
•
KG - University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th 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