面向对象 类

面向对象 类

University

10 Qs

quiz-placeholder

Similar activities

计算机网络小测试

计算机网络小测试

University

10 Qs

Arduino-5

Arduino-5

University

10 Qs

Concept of Computer Network

Concept of Computer Network

University

10 Qs

医療情報処理演習(Exce関数クイズ)

医療情報処理演習(Exce関数クイズ)

4th Grade - University

8 Qs

树与二叉树测试

树与二叉树测试

University

12 Qs

西餐礼仪

西餐礼仪

University

11 Qs

研習前小測驗

研習前小測驗

University

9 Qs

認識Quizizz

認識Quizizz

KG - University

13 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?