if 15 > 3:
print(1)
else:
0
Тест на if
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Лидия Николаева
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if 15 > 3:
print(1)
else:
0
1
0
print(1)
Ничего
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if 15 > 3:
print(1)
else:
print(0)
elif 13>10:
print(3)
1
0
3
Ошибка
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if False:
print(1)
else:
print(0)
Ошибка
Ничего
1
0
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if 0:
print(0)
elif 1:
print(1)
else:
print(2)
0
1
2
Ничего
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
s = int(input())
t = int(input())
if s > 8 and t > 8:
print("YES")
else:
print("NO")
Было проведено 9 запусков программы, при которых в качестве значений переменных s и t вводились следующие пары чисел:
(1, 2); (11, 2); (1, 12); (11, 12); (–11, –12); (–11, 12); (–12, 11); (10, 10); (10, 5).
Сколько было запусков, при которых программа напечатала «YES»?
4
5
9
6
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if 5 == 5:
print(10)
elif 5 != 5:
print(20)
else:
print(30)
Ничего
30
20
10
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if True:
print("Hello")
else:
print("World")
Hello
Ничего
World
Ошибка
15 questions
Quiz Pemrograman Python
Quiz
•
10th Grade - University
10 questions
Continue операторы
Quiz
•
9th - 12th Grade
5 questions
Блиц-опрос
Quiz
•
7th Grade - University
9 questions
Увлекательный мир Python
Quiz
•
6th Grade - University
10 questions
Kiểm Tra Cấu Trúc Rẽ Nhánh Python
Quiz
•
10th Grade
15 questions
Bài 27
Quiz
•
10th Grade - University
15 questions
Python Quiz 15a30
Quiz
•
10th Grade
13 questions
การเขียนโปรแกรม C เบื้องต้น
Quiz
•
12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade