Câu Lệnh Rẽ Nhánh IF ELSE
Quiz
•
Information Technology (IT)
•
10th Grade
•
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Produktif - B (CSS)
Quiz
•
10th Grade
10 questions
Kiểu dữ liệu danh sách trong Python
Quiz
•
10th Grade
10 questions
POST TEST - PRESENTASI - OKT 24
Quiz
•
10th Grade
11 questions
Các phép toán logic
Quiz
•
10th Grade
10 questions
G10.U1.2.Sự ưu việt của máy tính và những thành tựu của tin học
Quiz
•
10th Grade
13 questions
Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma A
Quiz
•
10th Grade - University
11 questions
C++ Moxillón
Quiz
•
9th - 12th Grade
10 questions
Pemrograman Dasar
Quiz
•
10th Grade
Popular Resources on Wayground
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
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th 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
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
