面向对象 类

面向对象 类

University

10 Qs

quiz-placeholder

Similar activities

第二章 深入了解超文本

第二章 深入了解超文本

University

14 Qs

2-列表与元组

2-列表与元组

University

10 Qs

数控车床操作实训

数控车床操作实训

University

10 Qs

unit1-补充资料-英语标点符号的使用与连接词

unit1-补充资料-英语标点符号的使用与连接词

University

12 Qs

資安檢測_7

資安檢測_7

7th Grade - University

12 Qs

数据库系统原理单元测试

数据库系统原理单元测试

University

5 Qs

电脑学会摊位游戏

电脑学会摊位游戏

KG - Professional Development

10 Qs

4-字典与集合

4-字典与集合

University

10 Qs

面向对象 类

面向对象 类

Assessment

Quiz

Computers

University

Medium

Created by

昀浩 管

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定义类的关键字是

class

def

int

float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定义类的时候 类名称首字母需要大写

正确

错误

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定义新类的时候 类名称后面要加括号

正确

错误

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

定义类的属性时 使用的方法是

__init__()

__name__

__main__

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

定义类的属性和方法时 第一个参数是

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在继承父类所有属性时 用的方法是

super().__init__()

super.__init__()

super.__init__

super.__init__()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

类的继承会继承父类所有的属性

正确

错误

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?