Ô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
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
Similar Resources on Wayground
7 questions
C++ Structuri repetitive

Quiz
•
8th Grade - University
15 questions
HTML Day-1

Quiz
•
10th Grade
5 questions
Intro to CSS Styling Quiz

Quiz
•
9th - 12th Grade
15 questions
Bài 19: Câu lệnh rẽ nhánh IF

Quiz
•
10th Grade
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
10 questions
Web Development

Quiz
•
9th - 12th Grade
8 questions
WD3-HTML and Creative Commons Concepts

Quiz
•
9th - 12th Grade
7 questions
Quiz για HTML και CSS

Quiz
•
10th Grade - University
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 Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade