In the While statement, the loop block is executed until:

ÔN TẬP CUỐI HỌC KÌ II

Quiz
•
Mathematics
•
University
•
Easy

undefined undefined
Used 2+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<đk>= False
<đk> = True
<kl>=True
<kl>= False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the program, when encountering which command must it stop (even if it is in a loop)?
break
end
peat
reak
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the meaning of the following program: k=2 while k<50: print(k) k=k+3
prints the sequence from 2 to less than 50, increasing by 3 each time.
prints the sequence less than 50, increasing by 3 each time.
prints the sequence outside 50, summing the elements of the sequence.
prints the sequence three times the sequence of 50.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following program: for k in range(10): print(k,end= “ ”) if k==5: break
0,1,2,3,4,5
0,1,2,3,4,5,6,7,8,9
0,1,2,3,4,5,6,7,8,9,10
1,2,3,4,5,6,7,8,9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to get the length of the list K?
len(K)
len[K]
len “K”
K.len()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the list H=[5,7,9,6,4], what is the command to access the element with the value 9 in that list H?
H[2]
H[3]
H[9]
H(2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a list, we can access each element of the list through:
index
value
list
command
Create a free account and access millions of resources
Similar Resources on Quizizz
48 questions
Professional Electrical Engineering Quiz 4 part 2

Quiz
•
University
56 questions
Unit 2 Math Assessment

Quiz
•
6th Grade - University
46 questions
FINALS | Biostatistics Practice Quiz

Quiz
•
University
50 questions
Đề Cương Môn Toán 8

Quiz
•
1st Grade - University
50 questions
Asesmen Akhir Sekolah - Matematika

Quiz
•
9th Grade - University
50 questions
ESAS quiz 7 part 1

Quiz
•
University
52 questions
Alg 2 End of Q2 Review Fall 2024

Quiz
•
11th Grade - University
56 questions
Quiz Matematika Dasar

Quiz
•
4th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade