Функція open() ...
Робота з файлами в Pytohn

Quiz
•
Computers
•
10th Grade
•
Hard
Тетяна Сокол
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
закриває файл
відкриває файл
зчитує усі дані з текстового файла
записує у файл символьний рядок
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка функція записує у файл послідовність символьних рядків?
write()
writelines()
read()
readline()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В якому з поданих режимів файл відкривається для читання?
r (Read)
w (Write)
a (Append)
b (Binary)
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
З поданих розширень файлів оберіть ті, які відносяться до текстових файлів:
html
jpeg
avi
txt
xlsx
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Оберіть всі можливі режими відкриття файлу:
s (Speak)
a (Append)
c (Clean)
r (Read)
w (Write)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
i = open('input.txt','r')
o = open('output.txt','w')
З якого файлу програма зчитує вхідні дані?
i
output.txt
input.txt
o
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
i = open('input.txt','r')
o = open('output.txt','w')
В який файл програма записує вихідні дані (результат виконання програми)?
input.txt
output.txt
і
о
Create a free account and access millions of resources
Similar Resources on Quizizz
8 questions
PYTHON FILES

Quiz
•
9th - 12th Grade
10 questions
Информационные технологии

Quiz
•
1st - 12th Grade
12 questions
Цикл for

Quiz
•
7th Grade - University
11 questions
Безпека в Інтернеті

Quiz
•
1st - 12th Grade
10 questions
Мова гіпертекстової розмітки

Quiz
•
10th Grade
12 questions
Мультимедійні та гіпертекстові документии

Quiz
•
10th Grade
12 questions
Scratch - віддалене навчання - 5 клас Т1

Quiz
•
1st - 12th Grade
12 questions
Створення та публікація веб-ресурсів

Quiz
•
5th - 11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade