
Основы программирования1-565 гр. Тема 8
Authored by Khatira Abbasova
Computers
University
Used 13+ 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
Что будет выведено в результате выполнения фрагмента программы
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
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
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
10 questions
Scratch (28th March)
Quiz
•
KG - University
15 questions
Mikropemproses dan Mikropengawal
Quiz
•
12th Grade - University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
Bài 10 - Cấu trúc rẽ nhánh
Quiz
•
5th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University