
Python (Пайтон) работа с файлами
Authored by Itachi Uchiha
Computers
10th Grade
Used 81+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как открыть файл в Python?
Используйте функцию open() в Python для открытия файла.
Используйте функцию close() в Python для открытия файла.
Используйте функцию read() в Python для открытия файла.
Используйте функцию write() в Python для открытия файла.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какая функция используется для записи в файл?
read
write
save
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как прочитать содержимое файла в Python?
write() и close()
readline() и close()
open() и read()
append() и read()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как закрыть файл после работы с ним?
close()
terminate()
end()
finish()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает функция os.remove()?
Удаляет файл
Изменяет файловую систему
Создает новый файл
Переименовывает файл
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как создать новый файл в Python?
read('filename.txt', 'w')
open('filename.txt', 'w')
write('filename.txt', 'w')
create('filename.txt', 'w')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как проверить существование файла в Python?
os.path.exists('путь_к_файлу')
check.file('путь_к_файлу')
file.exists('путь_к_файлу')
os.file.exists('путь_к_файлу')
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
18 questions
Roblox. 1 модуль. Итоговый тест
Quiz
•
3rd - 10th Grade
20 questions
Возможности Текстового процессора MSWord
Quiz
•
10th Grade
16 questions
algorithms and programming
Quiz
•
8th - 10th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
15 questions
Перевод единиц измерения информации
Quiz
•
7th - 11th Grade
15 questions
Основы логики
Quiz
•
8th - 10th Grade
15 questions
Functions in Python
Quiz
•
9th - 12th Grade
20 questions
Programowanie
Quiz
•
8th - 11th 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
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade