
Python Quiz
Authored by Елена Геннадьевна
Computers
1st Grade
Used 1+ 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?
A reserved memory location to store values
A type of snake
A type of loop in Python
A type of function in Python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какие различные типы данных существуют в Python?
dog, cat, bird, fish, rabbit
apple, banana, orange, grape, watermelon
int, float, complex, str, list, tuple, set, dict, bool, and None
red, blue, green, yellow, purple
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каков синтаксис цикла 'for' в Python?
for item in range:
for item in iterable:
for i in item in range:
for i in range(item):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a list in python?
By using angle brackets <> and separating the elements with periods.
By using curly brackets {} and separating the elements with semicolons.
By using square brackets [] and separating the elements with commas.
By using parentheses () and separating the elements with spaces.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет результатом 'print(5 > 2)' в python?
5
False
True
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каков результат '5 + 3' в python?
7
10
2
8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of 'if' statement in python?
To execute a block of code only if a specified condition is false.
To execute a block of code regardless of any condition.
To execute a block of code only if a specified condition is true.
To execute a block of code only if a specified condition is partially true.
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?