欢迎访问24帧网!

Intro to Python for Computer Science and Data Science by Paul Deitel Test bank

分享 时间: 加入收藏 我要投稿 点赞

d. All of the above statements are true.

Answer: b. Actually, almost any noun can be reasonably represented as a software object in terms of attributes (e.g., name, color and size) and behaviors (e.g., calculating, moving and communicating).

 

 

1.5 Q2: A program might call a bank-account object’s deposit ________ to increase the account’s balance.

a. attribute

b. method

c. class

d. function

Answer: b.

 

 

1.5 Q3: A new class of objects can be created conveniently by inheritance—the new class (called the ________) starts with the characteristics of an existing class (called the ________), possibly customizing them and adding unique characteristics of its own.

a. superclass, subclass

b. hyperclass, subclass

c. target, superclass

d. subclass, superclass

Answer: d.

 

1.6      Operating Systems

1.6 Q1: Windows is a(n) ________ operating system—it’s controlled by Microsoft exclusively.

a. proprietary

b. private

c. open source

d. None of the above.

Answer: a.

 

 

1.6 Q2: ________ is by far the world’s most widely used desktop operating system.

a. Linux

b. MacOS

c. Windows

d. none of the above

Answer: c.

 

 

1.6 Q3: With ________ software development, individuals and companies contribute their efforts in developing, maintaining and evolving software in exchange for the right to use that software for their own purposes, typically at no charge.

a. object-oriented

b. high-level

c. open-source

d. proprietary

Answer: c.

 

 

1.6 Q4: Which of the following organizations has millions of open-source projects under development?

a. Python Software Foundation

b. GitHub

c. The Apache Software Foundation 

d. The Eclipse Foundation

Answer: b.

 

1.7      Python

1.7 Q1: Python recently surpassed the programming language ________ as the most popular data-science programming language.

a. DSPL

b. Java

c. C++

d. R

Answer: d.

 

 

1.7 Q2: Which of the following are reasons why Python is popular and everyone should consider learning it?

a. It’s open source, free and widely available with a massive open-source community.

b. It’s easier to learn than languages like C, C++, C# and Java, enabling novices and professional developers to get up to speed quickly.

精选图文

221381