Câu lệnh nào sau đây tạo một biến a với giá trị là số nguyên 5?
Which of the following statements creates a variable a with the value of the integer 5?
Module 1- LV1- Python
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Hard
Nguyễn HN)
Used 4+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây tạo một biến a với giá trị là số nguyên 5?
Which of the following statements creates a variable a with the value of the integer 5?
int a = 5
a = int(5)
a = 5
let a = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
What is the result of the following code?
A
B
None
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
1 2 3
0 1 2
0 1 2 3
1 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
5
6
2
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau tạo một đối tượng như thế nào?
How does the following code create an object?
Tạo đối tượng Dog có tên là "Buddy"
Create a Dog object named "Buddy"
Tạo một lớp Dog có phương thức '__init__'
Create a Dog class that has an '__init__' method.
Tạo một biến my_dog có giá trị là "Buddy"
Create a variable my_dog with the value "Buddy"
Tạo một lớp my_dog có phương thức '__init__'
Create a class my_dog that has a method '__init__'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
[1, 2, 3, 4]
[1, 2, 3]
[4]
[1, 2, 3, 3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau sẽ in ra kết quả gì?
1
2
"b"
Error
41 questions
CÔNG NGHỆ GHK1 24-25
Quiz
•
12th Grade
45 questions
Tin Cuối Kỳ 2 10G
Quiz
•
10th Grade
40 questions
Tin5. Ôn thi cuối HK1
Quiz
•
3rd Grade - University
37 questions
ÔN TẬP CN10 BÀI 12-15
Quiz
•
10th Grade
35 questions
Định hướng nghề nghiệp Đ3
Quiz
•
9th Grade
40 questions
Tin3. Ôn thi cuối HK1
Quiz
•
3rd Grade - University
40 questions
Đề Cương Cuối Kỳ 2 - Công Nghệ 11
Quiz
•
12th Grade
40 questions
Ôn tập cuối kì 1
Quiz
•
12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig
Quiz
•
11th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025
Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025
Quiz
•
9th - 12th Grade