
7 класс. Работа с файлами. Подготовка к сору.

Quiz
•
Computers
•
University
•
Medium
Инна Дреева
Used 7+ times
FREE Resource
7 questions
Show all answers
1.
MATCH QUESTION
5 mins • 5 pts
Создайте верно программный код для задачи, используя комментарии к строкам.
file_out.close()
# создаем файл Output для записи результата
file_in.close()
# считываем строку и разделяем числа пробелом
file_out = open("Output.txt", "w")
# закрываем файл для ввода чисел Input
file_in = open("Input.txt", "r")
# закрываем файл вывода результата Output
p=file_in.read( ).split( )
# открываем файл для чтения Input
2.
MATCH QUESTION
5 sec • 4 pts
Создайте верно программный код для задачи, используя комментарии к строкам.
file_in = open("Input.txt", "r")
# находит произведение чисел из введенных в строку файла, записываем результат в файл Output
file_out.write (str(a * b) +'\n')
# открываем файл для чтения Input
file_in.close()
# вводим ( целые числа в файл)
a,b = map (int, p)
# закрываем файл для ввода чисел Input
6.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
jsidm
idmmkkkddmdmd
аj
ab***fghijklmnopqrstuvwxyz
7.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Текстовый файл содержит строку
“qwertyasdfgh”.
p=fin.readline(5)
Определите результат.
qwerty
qwertyasdfgh
qwert
ab***fghijklmnopqrstuvwxyz
Similar Resources on Wayground
10 questions
Unity 1 ДЛЯ ВСЕХ

Quiz
•
7th Grade - University
10 questions
Dau_Zhan sabaq 9D

Quiz
•
University
11 questions
Power Point Maket

Quiz
•
6th Grade - University
10 questions
Управление циклами в программировании

Quiz
•
8th Grade - University
5 questions
Основы баз данных

Quiz
•
9th Grade - University
11 questions
Цифравая педагогика 75/150

Quiz
•
University
10 questions
Quizizz Python Start test2

Quiz
•
University
5 questions
Кодирование звука и видео

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University