Câu lệnh rẽ nhánh

Quiz
•
Computers
•
10th Grade
•
Medium
Dương DN)
Used 46+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để hiển thị nội dung lên màn hình, chúng ta sử dụng câu lệnh nào ?
print()
write()
screen()
display()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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ị đúng
Điều kiện cho giá trị sai
Không cần kiểm tra điều kiện
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào dấu … để khi nhập a=2, b=3 thì chương trình sẽ in ra 6.
a = … (input(‘a=’))
b = … (input(‘b=’))
print(a*b)
không cần điền gì thêm
float
int
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Biểu thức [(x+y)*z]-(x2-y2) chuyển sang Python là:
((x+y)*z)-(x2-y2)
((x+y)*z)-(x*x-y*y)
((x+y)*z)-(x2-y2)
(x+y)*z-x*x-y*y
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, câu lệnh nào sau đây là gán giá trị cho biến?
n = 50
n==50
n>50
n!=50
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em hãy chọn tên biến hợp lệ trong Python:
10tin
tin10@
_tin10
tin 10
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a=20
b=10
print(a/b)
Đoạn chương trình Python trên in ra kết quả là bao nhiêu?
2
2010
a/b
2.0
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Bai 17

Quiz
•
10th Grade
10 questions
KTTX-T4

Quiz
•
9th - 12th Grade
10 questions
python-BTxâu

Quiz
•
9th - 12th Grade
10 questions
Câu hỏi Python

Quiz
•
9th - 12th Grade
10 questions
Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
12 questions
Introduction to Python Programming

Quiz
•
7th - 10th Grade
10 questions
Python

Quiz
•
1st - 10th Grade
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade