7-面向对象编程、类与对象

Quiz
•
Computers
•
University
•
Medium

Yilin Chen
Used 9+ times
FREE Resource
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
关于类和对象的关系,下列描述正确的是
类是面向对象的核心
类是现实中事物的个体
对象是根据类创建的,并且一个类只能对应一个对象
对象描述的是现实的个体,它是类的实例
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Ch06-Synchronization Tools_part3

Quiz
•
University
10 questions
你懂虎科嗎

Quiz
•
University
5 questions
【项目3】Word文档编辑

Quiz
•
University
9 questions
数字技术

Quiz
•
University
10 questions
簡報診療室Ⅱ-個人競賽大考驗

Quiz
•
University
12 questions
web交互设计小组竞赛一

Quiz
•
University
9 questions
Ch06-Synchronization Tools_part01

Quiz
•
University
10 questions
健康用電腦小知識

Quiz
•
3rd Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade