
Python _ ôn tập điều kiện

Quiz
•
Information Technology (IT)
•
5th Grade
•
Easy
Duy Tran
Used 3+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Theo em, đâu là điều kiện để kiểm tra biến i là số chẵn ?
i % 2 == 0
i % 2 != 0
i % 2 = 0
i// 2 == 0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra i là số lẻ thì đâu là câu trả lời đúng ?
i % 2 == 0
i % 2 != 0
i % 3 != 0
i % 2 =! 0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra i khác 3 , đâu là đáp án đúng ?
i == 3
i khác 3
i !=3
i ! 3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là điều kiện kiểm tra i bằng 6 ?
i >= 6
i != 6
i = 6
i == 6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra biến i là số lẻ khác 3 thì đâu là câu trả lời đúng ?
i % 2 != 0 and i != 3
i % 2 == 0 and i != 3
i % 2 == 0 and i == 3
i % 2 != 0 or i != 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra biến i là số chẵn khác 4 thì đâu là câu trả lời đúng ?
i %2 != 0 and i != 4
i %2 == 0 and i != 4
i %2 == 0 or i != 4
i // 2 == 0 and i != 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều kiện để kiểm tra biến i khác 5 và i khác 8, thì đâu là câu trả lời đúng ?
i != 5 or i != 8
i == 5 and i != 8
i != 5 and i = 8
i != 5 and i != 8
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
ÔN TẬP CRV1

Quiz
•
6th Grade - University
20 questions
ÔN TẬP TIN 8 CUỐI KÌ 1

Quiz
•
8th Grade
19 questions
TH lop 5

Quiz
•
3rd Grade - University
20 questions
ÔN TẬP CKI TIN9

Quiz
•
9th Grade
21 questions
ÔN TẬP LỚP 3

Quiz
•
5th Grade - University
23 questions
List | Set | String - Nâng cao (1)

Quiz
•
6th - 8th Grade
20 questions
ÔN TẬP GIỮA HKII TIN HỌC 10

Quiz
•
9th - 12th Grade
27 questions
KTPM-GROUP-4

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade