
Вопросы по Python
Authored by Шынара Каршыбекова
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих операторов используется для определения типа переменной в Python?
type
instance
typeof
var_type
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат выведет следующий код?
print(3 * '7')
21
777
3 * 7
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что означает конструкция if __name__ == "__main__": в Python?
Проверка, что модуль импортирован
Условие для выполнения только при запуске файла
Условие для выполнения всех функций модуля
Ничего, это ошибка
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для удаления элемента из списка по индексу?
remove()
delete()
pop()
discard()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих вариантов правильно задает словарь в Python?
dict = {}
dict = []
dict = ()
dict = ""
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что произойдет, если вы попытаетесь открыть несуществующий файл с помощью open() без указания режима 'a' или 'w'?
Создаётся новый файл
Генерируется ошибка FileNotFoundError
Файл открывается в режиме чтения
Ничего, файл открывается пустым
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих методов строк используется для преобразования строки в верхний регистр?
upper()
toupper()
capitalize()
convert()
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Python turtle year 8 assessment
Quiz
•
7th - 9th Grade
20 questions
Entry Level CS - Software
Quiz
•
8th - 10th Grade
20 questions
Struktur Data
Quiz
•
9th - 12th Grade
20 questions
TIN HỌC 9 - ÔN TẬP HKI
Quiz
•
9th Grade
20 questions
Year 8 Python -input-output-selection
Quiz
•
8th - 9th Grade
22 questions
Coding basics
Quiz
•
4th - 12th Grade
20 questions
Word Processing Lesson 1
Quiz
•
5th - 9th Grade
20 questions
AQA GCSE Computer Science - 3.2.2 Programming Concepts
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade