Bài 17: Biến và lệnh gán
Quiz
•
Computers
•
11th Grade
•
Hard
Do Hong
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Trong ngôn ngữ Python, tên nào sau đây là từ khoá?
program, sqr.
uses, var.
include, const.
if, else.
2.
MULTIPLE SELECT 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 SELECT QUESTION
30 sec • 1 pt
Từ khoá của một ngôn ngữ lâp trình là:
A. là những từ dành riêng.
B. cho một mục đích sử dụng nhất định.
C. có thể đặt tên cho biến.
Cả A và B
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, từ khoá và tên:
Có ý nghĩa như nhau.
Người lập trình phải tuân theo quy tắc đặt tên.
Có thể trùng nhau.
Cả ba đáp án trên đều đúng.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ Python, tên nào sau đây đặt sai theo quy tắc?
11tinhoc.
tinhoc11.
tin_hoc.
_11.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh gán giá trị cho biến b nguyên nào sau đây là đúng?
b = 10.
B = 10.
b == 10
b = '10'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trường hợp nào sau đây không phải lệnh gán trong python?
cd = 50.
a = a * 2.
a = 10.
a + b = 100.
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
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
10 questions
De 1 - Access
Quiz
•
9th - 12th Grade
15 questions
Sinh hoạt lớp Tuần 7
Quiz
•
1st Grade - University
10 questions
Excel
Quiz
•
11th - 12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
16 questions
Python Basics
Quiz
•
KG - University
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
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 Computers
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
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
