Символьные строки в Python 10 класс
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Надежда Козлова
Used 69+ 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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Ôn tập Tin học Lớp 3_CKI
Quiz
•
3rd Grade - University
11 questions
Računalne mreže
Quiz
•
3rd - 10th Grade
10 questions
Основы программирования на языке Паскаль
Quiz
•
8th - 11th Grade
8 questions
Security Risks & Precautions
Quiz
•
10th - 12th Grade
15 questions
Youtube
Quiz
•
1st - 12th Grade
10 questions
PYTHON
Quiz
•
9th - 12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
11 questions
Programming basics
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
