
Python - Работа со строками и файлами
Authored by Евгений Гусак
Computers
1st - 4th Grade
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Одна из следующих функций не является встроенной функцией строк в Python
Split
Remove
Replace
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите правильный синтаксис встроенного метода replace
x.Replace(x)
x.replace(3,x)
x.replace(y)
x.replace("j","3")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите правильный синтаксис встроенной функции len
x.len()
LEN[]
len[x]
len(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как правильно привести строку х к верхнему регистру?
X.upper()
x.UPPER[ ]
upper(x)
x.upper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каким методом необходимо воспользоваться, чтобы закрыть файл
MyFile = close()
close = MyFile()
MyFile.close
MyFile.close()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Вывод программного кода x= "Python" в случае вызова следующих функций будет?
print(x[0])
print(x[1])
print(x[2])
PYT
P
y
t
T
h
o
n
oh
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите какую функцию мы должны вызвать для добавления строки в конец файла
MyCipher = open("MyCipher.txt", "w")
MyCipher = open("MyCipher.txt", "w+")
MyCipher = open("MyCipher.txt", "a")
MyCipher = open("MyCipher.txt", "s")
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
10 questions
Pernyataan Function dan Procedure
Quiz
•
1st - 3rd Grade
16 questions
Powtórzenie z I półrocza
Quiz
•
4th Grade
10 questions
Maze Game Scratch T2
Quiz
•
4th Grade
13 questions
CHƯƠNG 9
Quiz
•
1st - 5th Grade
15 questions
Programación Web
Quiz
•
1st Grade
16 questions
Quiz - Perintah Dasar Linux & Supervisor
Quiz
•
2nd - 3rd Grade
15 questions
Starting Searches
Quiz
•
1st - 5th Grade
16 questions
Apresentações Google - Final
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
18 questions
Comparing Fractions with same numerator or denominator
Quiz
•
3rd Grade
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade