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 3+ 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
36 questions
BÀI 19_20_CN11_KNTT_23_24
Quiz
•
11th Grade
40 questions
Prueba de Python
Quiz
•
9th Grade
37 questions
QUYỀN BẤT KHẢ XÂM PHẠM THÂN THỂ CÔNG DÂN
Quiz
•
11th Grade
39 questions
Cộng nghệ 6
Quiz
•
9th - 12th Grade
44 questions
Câu Hỏi Trắc Nghiệm Python
Quiz
•
10th Grade
37 questions
Tin 7: Thuật toán sắp xếp
Quiz
•
12th Grade
35 questions
Ôn tập CN học kì 1
Quiz
•
9th - 12th Grade
41 questions
Đề cương Tin 11 HKII
Quiz
•
11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade