Câu nào sau đây là cú pháp khai báo biến hợp lệ trong Python?

Bài 2-Biến, kiểu dữ liệu - lớp 7

Quiz
•
Computers
•
7th Grade
•
Hard
thuy phan
Used 20+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var name = "Python"
variable x := 5
x = 5
int x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu nào sau đây là kiểu dữ liệu số nguyên trong Python?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào sau đây dùng để chuyển đổi một số nguyên x sang kiểu dữ liệu chuỗi?
str(x)
int(x)
float(x)
bool(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây tạo một biến có giá trị bằng 10?
x: int = 10
x == 10
x = 10
int x = 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào được dùng để cộng thêm một vào biến x?
x = x + 1
x++
++x
x =+ 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị trả về của biểu thức 10 // 3 là gì?
3.33
3
4
3.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào sau đây sẽ trả về giá trị True?
5 > 7
10 < 3
7 == 7
"Python" != "python"
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
IC3 SPARK LV3 - CHỦ ĐỀ 4 - SÁNG TẠO NỘI DUNG - LỚP 5

Quiz
•
5th Grade - University
20 questions
Bai 4: Hệ điều hành

Quiz
•
7th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
ôn tập học kì 2 môn tin 7

Quiz
•
7th Grade
15 questions
Tạo biểu đồ

Quiz
•
7th Grade
20 questions
BÀI 6 ĐỊNH DẠNG TRANG TÍNH

Quiz
•
1st - 12th Grade
21 questions
Tin7_Thủ tuc vào ra

Quiz
•
7th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade