Символьные строки в Python 10 класс
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Надежда Козлова
Used 71+ times
FREE Resource
Enhance your content in a minute
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 )
Create a free account and access millions of resources
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
11 questions
Youtube
Quiz
•
4th Grade - University
11 questions
Ôn tập Lớp 3
Quiz
•
4th - 12th Grade
10 questions
Microsoft Windows
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
