
Câu lệnh if

Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard
Bằng Trần
Used 1+ times
FREE Resource
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
10 questions
Uji Pengetahuan Informatika Kelas 7

Quiz
•
7th Grade
7 questions
Câu lệnh điều kiện trong python

Quiz
•
6th - 8th Grade
6 questions
SNLT-HP5-B6

Quiz
•
6th - 8th Grade
10 questions
Вікторина "БАЗОВІ ЗНАННЯ"

Quiz
•
7th Grade
10 questions
KT_15pTi7

Quiz
•
7th Grade
10 questions
Uji Pengetahuan Pemrograman SMP

Quiz
•
7th Grade
5 questions
Lenguajes de Programación Móvil

Quiz
•
7th Grade
10 questions
Kiến thức giao thông cơ bản

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Perfect Squares and Square Roots

Quiz
•
7th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade