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

Quiz
•
Computers
•
University
•
Medium
Инна Дреева
Used 7+ times
FREE Resource
7 questions
Show all answers
1.
MATCH QUESTION
5 mins • 5 pts
Создайте верно программный код для задачи, используя комментарии к строкам.
file_in.close()
# создаем файл Output для записи результата
p=file_in.read( ).split( )
# открываем файл для чтения Input
file_in = open("Input.txt", "r")
# закрываем файл для ввода чисел Input
file_out = open("Output.txt", "w")
# закрываем файл вывода результата Output
file_out.close()
# считываем строку и разделяем числа пробелом
2.
MATCH QUESTION
5 sec • 4 pts
Создайте верно программный код для задачи, используя комментарии к строкам.
file_in.close()
# находит произведение чисел из введенных в строку файла, записываем результат в файл Output
file_out.write (str(a * b) +'\n')
# открываем файл для чтения Input
file_in = open("Input.txt", "r")
# вводим ( целые числа в файл)
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
Создание 3D фигур в SketchUp

Quiz
•
6th Grade - University
10 questions
00300_Elmi texnologiyaların istifadəsinin əsasları

Quiz
•
University
10 questions
Lesson-1

Quiz
•
University
10 questions
Создание веб-узла в MS Publisher

Quiz
•
1st Grade - University
10 questions
Современные языки программирования. Тема-12

Quiz
•
University
10 questions
История вычислительной техники

Quiz
•
University
6 questions
Информатика

Quiz
•
University
8 questions
Архивация

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University