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
Bài 27
Quiz
•
10th Grade - University
10 questions
การสืบค้นเพื่อหาแหล่งข้อมูล
Quiz
•
9th - 12th Grade
15 questions
Soal HTML
Quiz
•
10th Grade
13 questions
Εντολή Όσο εισαγωγή
Quiz
•
9th - 12th Grade
10 questions
算法設計01:課堂問答
Quiz
•
10th Grade
10 questions
Post test Informatika kelas X
Quiz
•
10th Grade
16 questions
ĐỀ CƯƠNG ÔN TẬP KTCK II - TIN 10 (KNTT) - ĐỀ CƯƠNG SỐ 1
Quiz
•
10th Grade
12 questions
html QUIZ
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
