Để khai báo biến x kiểu thực ta viết:

KHỐI 10 - BIẾN, PHÉP GÁN VÀ BIỂU THỨC SỐ HỌC

Quiz
•
Computers
•
10th - 11th Grade
•
Medium
Nguyễn Nhân
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x=5
x =0.2
x:5
x==5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo biến z kiểu logic ta viết:
x=fasle
z=true
x:=bool
z=True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
a=10
print(a)
Biến a thuộc dữ liệu kiểu:
int
float
bool
str
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
b=3.5
print(b)
Biến b thuộc dữ liệu kiểu:
int
float
bool
str
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
kt=False
print(kt)
Biến kt thuộc dữ liệu kiểu:
int
float
bool
str
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo biến x kiểu nguyên ta viết:
x=5
x =0.2
x:5
x==5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là quy tắc đúng khi đặt tên biến trong Python?
Tên biến có thể bắt đầu bởi dấu gạch dưới "_"
Có thể sử dụng từ khóa trong Python để đặt 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 như: !, @, #, $, %
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
15 questions
Ôn tập Thi HK1

Quiz
•
10th Grade
10 questions
Python_10 câu

Quiz
•
10th Grade
10 questions
Đề 1

Quiz
•
9th - 12th Grade
10 questions
Bài 2: Biến, phép gán và biểu thức số thức.

Quiz
•
10th Grade
10 questions
Bài Tập 4 - K7 ( ThanhLan Le)

Quiz
•
9th - 12th Grade
7 questions
Bài 4: Hoạt động luyện tập

Quiz
•
10th Grade
11 questions
KIỂU DỮ LIỆU TỆP

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University