
Câu lệnh if
Quiz
•
Information Technology (IT)
•
7th Grade
•
Practice Problem
•
Hard
Bằng Trần
Used 1+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if trong Python dùng để làm gì?
Lặp lại một hành động nhiều lần
Kiểm tra điều kiện để thực hiện một hành động
Khai báo biến mới
Nhập dữ liệu từ bàn phím
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Điều kiện trong câu lệnh if phải trả về giá trị gì?
0
False
True
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Khi điều kiện trong if là sai, điều gì xảy ra?
Lệnh trong if vẫn được thực hiện
Chương trình sẽ dừng lại
Lệnh trong if bị bỏ qua
Python báo lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Trong Python, dòng lệnh nằm trong if phải được:
Viết hoa toàn bộ
Đặt trong dấu ngoặc kép
Thụt lề (indent)
Có dấu : ở đầu
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Dòng sau có lỗi không? Vì sao?
if diem >= 8
print("Gioi")
Có
Không
Similar Resources on Wayground
6 questions
Chủ đề A: Bài 1
Quiz
•
7th Grade
10 questions
Luyện tập Tin 7 tiết 11
Quiz
•
7th Grade
10 questions
Fundamentos de Programación en Python
Quiz
•
6th Grade - University
10 questions
IF THEN KELAS 6
Quiz
•
6th - 8th Grade
10 questions
Quiz Belum Berjudul
Quiz
•
5th Grade - University
10 questions
Python
Quiz
•
7th Grade
10 questions
App Lab Quiz (Introduction)
Quiz
•
7th Grade
7 questions
Chủ đề A: Bài 3
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
7th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
20 questions
Context Clues
Quiz
•
7th Grade
