
Викторина по циклам и функциям в Python
Authored by Нурмухамед Мансуров
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой тип цикла в Python проверяет условие перед выполнением инструкций?
foreach
for
while
do while
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что происходит, когда условие в цикле while становится ложным?
Цикл вызывает ошибку
Цикл переходит к следующей итерации
Цикл завершается
Цикл продолжается
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для выхода из цикла?
stop
break
exit
continue
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих параметров является необязательным в функции?
all параметры обязательные
company
age
name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой вывод будет получен при выполнении следующего кода: 'for n in range(4, 10): print(n, end=" ")'?
4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
4 5 6 7 8 9 10
4 5 6 7 8 9 10 11
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает оператор continue в цикле?
Завершает цикл
Останавливает выполнение программы
Переходит к следующей итерации
Вызывает ошибку
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих блоков кода является корректным определением функции?
function my_function() { print('Hello') }
def my_function: print('Hello')
def my_function(): print('Hello')
my_function() = def: print('Hello')
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
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
10 questions
Bai 18. Các công cụ trợ giúp
Quiz
•
10th Grade
14 questions
Luyện tập
Quiz
•
10th Grade
10 questions
Introducción a Python A3
Quiz
•
10th Grade
15 questions
Lesson 5 Looping Quiz
Quiz
•
10th - 12th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
Computer in the society
Quiz
•
2nd - 10th Grade
10 questions
BAI 25_10_BAITAP
Quiz
•
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade