
Kiểm Tra Cấu Trúc Rẽ Nhánh Python

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Minht Phy
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để kiểm tra một điều kiện trong Python?
switch
if
test
check
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cặp từ khóa nào thường đi với nhau trong cấu trúc rẽ nhánh hai nhánh?
if - elif
elif - else
if - else
else - if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã: x=7; if x>5: print("Lớn hơn 5") là gì?
Không in gì
Báo lỗi
In ra: Lớn hơn 5
In ra: 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, từ khóa nào dùng để kiểm tra nhiều điều kiện liên tiếp?
while
elif
elseif
for
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là đúng?
if luôn phải đi với else
Python không hỗ trợ rẽ nhánh
Có thể dùng if mà không else
if và else là bắt buộc
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã: a=3; if a%2==0: print("Chẵn") else: print("Lẻ") là gì?
In ra: Chẵn
In ra: Lẻ
Không in gì
Lỗi do thiếu dấu :
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn đoạn mã đúng cú pháp trong Python
if (x > 5) then print("Lớn")
if x > 5: print("Lớn")
if x > 5 then: print("Lớn")
if x > 5 then print("Lớn")
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
python conditional statements intermediate level

Quiz
•
9th - 12th Grade
7 questions
БЖБ 2-тоқсан 10-сынып

Quiz
•
10th Grade
15 questions
Câu hỏi về lập trình Python

Quiz
•
10th Grade
10 questions
Kelas X.8

Quiz
•
10th Grade
15 questions
Pemrograman Terstruktur Semester 2 (1) Fungsi

Quiz
•
10th Grade
10 questions
Mastering Python Conditionals and Operators

Quiz
•
10th Grade
10 questions
Câu lệnh rẽ nhánh

Quiz
•
10th Grade
10 questions
Тест на if

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade