Câu Lệnh Rẽ Nhánh IF ELSE
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Hard
Bua Phạm Đăng
Used 7+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Trong Python, cấu trúc rẽ nhánh dạng đủ nào sau đây đúng?
If <điều kiện>: <câu lệnh 1>;
else <câu lệnh 2>
If <điều kiện>: <câu lệnh1>
else: <câu lệnh 2>
If <điều kiện> then else <câu lệnh >
If <điều kiện>: else <câu lệnh 1> : <câu lệnh 2>
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cấu trúc rẽ nhánh có mấy dạng?
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Cho đoạn chương trình sau:
Sau khi thực hiện chương trình, giá trị của F là:
2
12
21
11
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Trong câu lệnh
if <điều kiện>: <câu lệnh>
câu lệnh được thực hiện khi?
Điều kiện cho giá trị sai
Điều kiện cho giá trị đúng
Không cần kiểm tra điều kiện
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Trong python câu lệnh
if <điềukiện> : <câu lệnh 1>
else : <câu lệnh 2>
câu lệnh 2 được thực hiện khi?
Biểu thức điều kiện đúng
Biểu thức điều kiện sai
Câu lệnh 1 được thực hiện
6.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
Câu lệnh nào sau đây đúng?
(chọn nhiều đáp án)
if a % 2==0: print('a la so chẵn');
if 2*x then print('pt vô nghiem');
if n>100: print('so lon hon 100);
else: print('so nho hon 100');
if thang==1: print('thang co 31 ngay');
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Đáp án nào có sử dụng tình huống rẽ nhánh
nếu … thì …, nếu không thì …
Nếu 5 > 10 thì 5 là số lớn nhất.
Nếu 10 > 5 thì 10 là số lớn nhất.
Nếu 10%5==0: số chẵn
Nếu 5 > 10 thì 5 là số lớn, nếu không thì 10 là số lớn
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Câu hỏi bài 2 Tìm kiếm thông tin trên web
Quiz
•
5th Grade - University
10 questions
Ôn tập - Hệ thống tự động hóa - Robotics
Quiz
•
9th Grade - University
10 questions
Ôn tập biến và lệnh gán trong Python
Quiz
•
10th Grade
15 questions
Produktif - B (Tag HTML)
Quiz
•
10th Grade
11 questions
PPMSG BIM2 PART 1
Quiz
•
9th - 12th Grade
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
10 questions
Dasar Rumus Microsoft Excel
Quiz
•
9th - 12th Grade
10 questions
Bài 25: Một số lệnh làm việc với xâu kí tự
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Guess the Christmas Movie by the Scene Challenge
Interactive video
•
6th - 10th Grade
