Ôn tập biến và lệnh gán trong Python
Quiz
•
Information Technology (IT)
•
10th Grade
•
Easy
Bá Nghiêm Nguyễn
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python câu lệnh gán tổng quát có dạng như thế nào?
<biến>
:= <biểu thức>
<biến>
= <biểu thức>
<biến>
== <biểu thức>
<biểu thức>
= <biến>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là quy tắc đúng khi đặt tên biến cho Python?
Tên biến có thể bắt đầu bằng dấu gạch dưới “_”
Có thể sử dụng keyword làm tên biến
Tên biến có thể bắt đầu bằng một chữ số
Tên biến có thể có các kí hiệu @, #, %, &,…
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để viết 3 mũ 4 trong Python ta thực hiện :
3**4
3//4
3*3+3*3
3%4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tên biến nào sau đây là đúng trong Python?
–tich
tong@
1_dem
ab_c1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2*x+1/x+2
(2*x+1)/(x+2)
(2*x+1)(x+2)
(2*x+1) :(x+2)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, câu lệnh nào sau đây là khai báo biến?
n = 50
n==50
n>50
n!=50
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả khi thực hiện câu lệnh sau trong Python:
>>>10 - 5 ** 2 + 8//3 +2
-11
11
7
Câu lệnh bị lỗi
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
12 questions
html QUIZ
Quiz
•
9th - 10th Grade
10 questions
การสืบค้นเพื่อหาแหล่งข้อมูล
Quiz
•
9th - 12th Grade
15 questions
Soal HTML
Quiz
•
10th Grade
13 questions
Εντολή Όσο εισαγωγή
Quiz
•
9th - 12th Grade
15 questions
Profesi Utama di Bidang Informatika
Quiz
•
10th Grade - University
10 questions
算法設計01:課堂問答
Quiz
•
10th Grade
10 questions
Post test Informatika kelas X
Quiz
•
10th Grade
15 questions
Python String Methods Quiz
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
