Алфавит и словарь языка Python

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Андрей Баранов
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
программе используется символьная строка s: s = "Привет от старых штиблет!"
Отметьте все правильные операторы, работающие с этой символьной строкой.
s = "12345"
"12345" = s
s[1] = "0"
s1 = s[:]
s[:] = s1
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения программы?
s = "123" s = s + "0" + s; s = s + s; print ( s )
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения этой программы?
s = "123" s = s + s[1] + s + s[2] print ( s )
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения этой программы?
s = "12345" n = len(s) + len("456") print ( n )
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения программы?
s = "123456789" s1 = "abcdef" s = s[4:6] + "0" + s1[2:5] print ( s )
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Что будет выведено на экран после выполнения этой программы?
s = "0123456" q = "abc" s = s[:2] + s[5:] q = q[0] + s + q[1:] print ( q )
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
то будет выведено на экран после окончания работы программы?
s = "0123456789" q = s[2:] n = q.find("6") print ( n )
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Цикл FOR

Quiz
•
10th Grade
13 questions
OOP Python

Quiz
•
12th Grade
15 questions
Методы строк

Quiz
•
10th Grade
10 questions
Сpp 1_3

Quiz
•
9th - 12th Grade
10 questions
Python списки

Quiz
•
10th Grade
10 questions
Python

Quiz
•
1st - 12th Grade
10 questions
Строки. Промежуточный контроль

Quiz
•
9th Grade
9 questions
Язык программирование Python

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade