Символьные строки в Python 10 класс
Quiz
•
Computers
•
10th Grade
•
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
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
15 questions
Bluetooth and Wi-Fi Quiz
Quiz
•
7th Grade - University
15 questions
Types of Network
Quiz
•
10th Grade
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
12 questions
Flowcharts
Quiz
•
7th - 10th Grade
10 questions
2.2 Antivirus
Quiz
•
9th - 10th Grade
11 questions
Informatica - Virus y Antivirus
Quiz
•
4th - 11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
