
7-面向对象编程、类与对象
Authored by Yilin Chen
Computers
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
python语言属于下列那种程序设计思想:
面向过程
面向对象
面向数据
面向输出
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
下面不属于面向对象编程的特点的是:
封装性
结构性
继承性
多态性
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
已知名为一个Student的类,每个实例都要绑定姓名、成绩两个属性,下面定义这一类的 方法 时,正确的是
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
下图中 isinstance(A, Dog) isinstance(A, Animal) isinstance(B, Dog) isinstance(B, Animal) 返回
True True True True
False False False False
True False False True
True True False True
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Python 类中包含一个特殊的变量,它表示当前对象自身,可以访问类的成员,这个变量是:
self
me
this
与类同名
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
关于类和对象的关系,下列描述正确的是
类是面向对象的核心
类是现实中事物的个体
对象是根据类创建的,并且一个类只能对应一个对象
对象描述的是现实的个体,它是类的实例
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?