Ôn tập Python

Quiz
•
Other
•
1st Grade
•
Hard
Đỗ Hoàng
Used 50+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Kí hiệu nào dùng để xác định các khối lệnh (khối lệnh của hàm, vòng lặp,...) trong Python?
Dấu ngoặc nhọn { }
Dấu ngoặc vuông [ ]
Thụt lề
Dầu ngoặc đơn ( )
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
n = '5'
n trong đoạn sau là kiểu dữ liệu nào?
integer
string
float
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Lệnh nào dùng để lấy dữ liệu đầu vào từ người dùng?
cin
scanf()
input()
print()
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Câu lệnh sử dụng toán tử and trả về kết quả TRUE khi nào?
Cả hai toán hạng đều là TRUE.
Một trong hai toán hạng là TRUE.
Cả hai toán hàng đều là FALSE.
Toán hạng đầu tiên là TRUE.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
câu lệnh print(3 >= 3) cho ra kết quả gì
3 >= 3
False
None
True
6.
FILL IN THE BLANK QUESTION
30 sec • 5 pts
Hãy xác định giá trị của x để in ra màn hình các số từ 1 đến 5
for i in range(1, x):
print(i)
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Câu lệnh nào sau đây sai khi in ra màn hình các số tự nhiên từ 0 đến 10 trên 1 dòng?
for i in range(0,11,1):
print(i, end='')
for i in range(11):
print(i, end='')
for i in range(0, 11)
print(i, end='')
for i in range(11, 1): print(i, end='')
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CÂU HỎI TRẮC NGHIỆM TÌM HIỂU ATGT

Quiz
•
1st Grade - University
15 questions
HCKT: ROX - DO IT NOW! - THÁNG 9_TUẦN 3

Quiz
•
1st Grade
10 questions
KPRB HP3

Quiz
•
1st - 5th Grade
8 questions
1A14 - CHA MẸ THÔNG THÁI

Quiz
•
1st Grade
7 questions
Lớp 1C2 - Họp phụ huynh cuối Học kì I

Quiz
•
1st Grade
10 questions
Bài thu hoạch 16/1

Quiz
•
1st - 5th Grade
10 questions
1G-Đồng hành cùng Cún con

Quiz
•
1st Grade
10 questions
Đồng hành cùng con _ 1A1

Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade