
Робота з файлами
Quiz
•
Computers
•
KG - University
•
Easy
Дмитро Ларін
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Метод модуля os, що допомагає об'єднати дві або більше частин шляху, щоб отримати повний шлях до файлу.
join
connect
mkdir
remove
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Який аргумент потрібно передати у метод open, щоб відкрити файл для читання?
r
w
a
c
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Щоб програма правильно читала кирилицю, функції open необхідно передати наступний аргумент:
encoding = 'utf-8'
path = 'utf-8'
path= 'ascii'
encoding = 'ascii'
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Маємо файл з іменем file. Як прочитати з нього текст, як показано на малюнку?
file.read()
file.readlines()
file.write()
file.all()
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Маємо файл з іменем file. Як прочитати з нього текст, як показано на малюнку?
file.read()
file.readlines()
file.write()
file.all()
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Який аргумент потрібно передати у метод open, щоб відкрити файл для повного перезапису?
r
w
a
c
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Який аргумент потрібно передати у метод open для додаваня тексту в кінець тексту файлу?
r
w
a
c
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
Ms. Excel
Quiz
•
5th Grade
10 questions
Quiz 8 (01.09.2021)
Quiz
•
1st - 12th Grade
13 questions
Year 10 Data Transmission
Quiz
•
9th - 12th Grade
13 questions
Thiết kế bài trình chiếu- những gì em đã biết
Quiz
•
3rd - 5th Grade
15 questions
Web Development Revision 1
Quiz
•
University
13 questions
Pengenalan Aplikasi Blender
Quiz
•
11th Grade
10 questions
emtech
Quiz
•
12th Grade
10 questions
Review PAT TIK kelas 5
Quiz
•
5th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
41 questions
Respectful or Not Respectful
Quiz
•
6th Grade
20 questions
Logos
Quiz
•
2nd - 8th Grade
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade