
Kiến thức lập trình Python

Quiz
•
Other
•
University
•
Easy
Huy Nguyễn
Used 3+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tính chất nào sau đây không phải là tính chất của lập trình hướng đối tượng?
Tính đóng gói
Tính kế thừa
Tính hướng thủ tục
Tính đa hình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào được dùng để định nghĩa một lớp trong Python?
struct
class
def
object
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức khởi tạo (constructor) trong Python là hàm nào?
init()
__init__()
constructor()
new()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Destructor (trình hủy) trong Python có tên là gì?
__delete__()
destructor()
__del__()
destroy()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm trong lớp Python phải khai báo tham số đầu tiên là gì?
this
self
cls
obj
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, mức độ truy cập private được thể hiện bằng cách nào?
Thêm #private vào dòng khai báo
Dùng từ khóa private
Dùng hai dấu gạch dưới __ trước tên biến
Không có khái niệm private trong Python
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tính kế thừa trong Python được thực hiện bằng cú pháp nào?
class A inherits B:
class A implements B:
class A -> B:
class A(B):
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Python Set

Quiz
•
University
36 questions
HẸ TIÊU HÓA VÀ CÁC TUYẾN PHỤ THUỘC

Quiz
•
University
40 questions
Python Programming Quiz

Quiz
•
University
45 questions
xử lý tín hiệu số

Quiz
•
University
40 questions
Kiến thức về Hệ điều hành

Quiz
•
University
40 questions
Hoá sinh 1

Quiz
•
University
37 questions
logic học đạu cương p2

Quiz
•
University
43 questions
K dạ dày

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University