
Робота з файлами
Quiz
•
Computers
•
KG - University
•
Practice Problem
•
Easy
Дмитро Ларін
Used 1+ times
FREE Resource
Enhance your content in a minute
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
10 questions
Unit #8 | Worksheet #2
Quiz
•
6th Grade
15 questions
kuis tools coreldraw
Quiz
•
10th Grade
12 questions
Linux-expansionShell
Quiz
•
1st - 5th Grade
15 questions
UIT 2221 MALWARE (COPTPA)
Quiz
•
University
12 questions
Моделі. Етапи побудови інформаційної моделі.
Quiz
•
12th Grade
10 questions
BAB 3
Quiz
•
KG
10 questions
POST TES INFORMATIKA BAB 2
Quiz
•
9th Grade
15 questions
dasar desain grafis
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
45 questions
Cybersecurity Quiz
Quiz
•
12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
