
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
Mangmaytinh

Quiz
•
University
37 questions
QTH-Chương6-Lãnh Đạo

Quiz
•
University
41 questions
NÉN - NANG

Quiz
•
University
38 questions
tri tue nhan tao

Quiz
•
University
35 questions
4.......

Quiz
•
University
36 questions
Câu hỏi về giao thức mạng

Quiz
•
University
38 questions
Bài 2 Sinh Lý P1

Quiz
•
University
42 questions
Câu hỏi về Android

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University