
Основы программирования1-565 гр. Тема 8

Quiz
•
Computers
•
University
•
Easy

Khatira Abbasova
Used 13+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет выведено в результате выполнения фрагмента программы
a, b, c = 5, 2, 3
if (a < c) or| (a < b):
print( 5 * a - a * b)
else:
print(a + b)
7
16
6
8
28
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Определите значение выражения: 3**2 > 1 or 2 * 2 > 3
True
False
Null
9
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Синтаксис для определения цикла с неопределенной итерацией на языке Python имеет следующий вид:
while <условие>:
<тело цикла>
for <переменная> in <последовательность>:
<тело цикла>
if <условие>:
<тело>
if <условие>:
<тело 1>
else:
<тело 2>
do <оператор> while <выражение>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Сколько раз повторится цикл в следующем фрагменте программы?
i = -3
while(i < 0):
print(i)
i+=1
2
3
1
не повторится
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Укажите результат выполнения следующего кода:
j = 1
n = 0
while n < 10:
n += j
j *= 2
print(j, n)
2 1
4 3
8 7
16 15
1 1
2 3
3 7
4 15
1 1
2 3
3 7
4 15
2 1
4 3
8 7
16 14
2 1
4 3
8 7
16 18
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Определите последнее значение счетчика rezultat после выполнения следующего цикла:
rezultat = 2
while rezultat < 10:
rezultat += rezultat
15
17
0
16
32
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Дан фрагмент программы:
s = int(input())
if s > 10:
print("ДА")
else:
print("НЕТ")
Было проведено 10 запусков программы, при которых в качестве значений переменной s вводились следующие числа:
6, 15, 11, 10, -15, 30, -10, 11, 16, 23.
Сколько было запусков, при которых программа напечатала «ДА»?
6
7
5
10
4
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
CSE 15L Lab 8

Quiz
•
University
10 questions
Quizizz PythonStart text1

Quiz
•
University
10 questions
Datentypen, Variablen & Eingabe in Python

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
11 questions
Basic HTML & HTML5

Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture

Quiz
•
University
10 questions
G12_Week7

Quiz
•
12th Grade - University
10 questions
Test your Knowledge

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University