Biểu thức nào sau đây có thể lấy làm <điều kiện> trong câu lệnh rẽ nhánh?

Câu hỏi trắc nghiệm lập trình Python

Quiz
•
Computers
•
1st - 5th Grade
•
Easy

jt56s65zn2 apple_user
Used 5+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x+y
x>=y
x%y
x//y
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của biến c sau khi thực hiện chương trình sau: a=10; b=4 if a%b = = 0: c=a//b else: c=a+b
14
2
6
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của biến Tong trong chương trình sau? tong=0 for i in range(1,9,2) : tong=tong + i
Tong=16
Tong=25
Tong=20
Tong=36
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp sau đây sẽ kết thúc khi i=? for i in range(1,n+1) : print(i)
i=1
i=n
i=n-1
i=n+1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau có mấy lỗi? tong=0 for i in range(1,9,2): Tong=Tong + i
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<điều kiện> nào để câu lệnh lặp sau đây không lặp nữa (điền dấu so sánh vào ………) ? x=10; y=7 while x……y : x=x-1 y=y+1
= =
!=
<
<=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<điều kiện> trong câu lệnh lặp với số lần lặp không biết trước là:
Biểu thức logic
Biểu thức số học
Biểu thức toán học
Phép toán số học
Create a free account and access millions of resources
Similar Resources on Quizizz
35 questions
Ôn Tập Học Kì I Lớp 4

Quiz
•
4th Grade - University
40 questions
Ôn Tập HK2 - Môn Tin Học 5

Quiz
•
5th Grade - University
44 questions
TN đề phòng + Bộ

Quiz
•
2nd Grade
42 questions
TIN 3.KNTT-ÔN TẬP HKII

Quiz
•
3rd Grade
38 questions
Kiến thức CNTT cơ bản

Quiz
•
5th Grade
40 questions
Câu hỏi trắc nghiệm Tin học trẻ (Tiểu học)

Quiz
•
1st - 5th Grade
44 questions
ÔN TẬP CUỐI HKI 12

Quiz
•
1st Grade
39 questions
ÔN TẬP TIN HỌC 4 HK1 (CTST)

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th 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
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
5 questions
Basement Basketball

Quiz
•
3rd Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade