Квиз по Python: Условия и Циклы
Quiz
•
Computers
•
12th Grade
•
Hard
Андрей Иванов
Used 14+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как вывести текст "Привет, мир!" в Python?
print "Привет, мир!"
print("Привет, мир!")
echo("Привет, мир!")
console.log("Привет, мир!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как запросить ввод числа от пользователя?
number = int(input("Введите число: "))
number = input("Введите число: ")
number = read("Введите число: ")
number = console.input("Введите число: ")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как проверить, что переменная x равна 10?
if x == "10":
if x = 10:
if x == 10:
if x === 10:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет этот код? x = 5 print(x + 3)
53
8
x + 3
Ошибку
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для "иначе" в условии?
elseif
elif
else
otherwise
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как напечатать число и текст вместе? age = 12
print(age + " лет")
print(age, "лет")
print(f"{age} лет")
print(str(age) + " лет")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает этот код? if temperature > 30: print("Жарко") else: print("Не жарко")
Проверяет, больше ли temperature 30, и выводит "Жарко" или "Не жарко"
Всегда выводит "Жарко"
Сравнивает temperature с 0
Вызывает ошибку
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
17 questions
Project Stem Python Unit 1 Test Review
Quiz
•
9th - 12th Grade
16 questions
Computer Hardware--Outside
Quiz
•
9th - 12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
15 questions
СОР_8 класс_раздел 1
Quiz
•
10th Grade - University
17 questions
Algorytmy 8
Quiz
•
1st Grade - University
20 questions
Intro to Programming - AP CSP Unit 2 Review
Quiz
•
9th - 12th Grade
20 questions
Ulangan Harian I Teknologi Layanan Jaringan (softswitch & VoIP)
Quiz
•
12th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
