欢迎访问24帧网!

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

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

c. It’s easier to read than many other popular programming languages.

d. All of the above.

Answer: d.

 

1.8      It’s the Libraries!

1.8 Q1: Which of the following statements about libraries is false?

a. Using existing libraries helps you avoid “reinventing the wheel,” thus leveraging your program-development efforts.

b. Rather than developing lots of original code—a costly and time-consuming process—you can simply create an object of a pre-existing library class, which takes only three Python statements.

c. Libraries help you perform significant tasks with modest amounts of code.

d. All of the above statements are false.

Answer: b. Actually, it takes only one statement.

 

1.8.1       Python Standard Library

1.8 Q2: Which of the following Python Standard Library modules offers additional data structures beyond lists, tuples, dictionaries and sets?

a. sys and statistics

b. collections

c. queue

d. (b) and (c)

Answer: d.

 

 

1.8 Q3: Which Python Standard Library module do we use for performance analysis?

a. datetime

b. time

c. timeit

d. sys

Answer: c.

 

1.8.2       Data-Science Libraries

1.8 Q4: Which of the following popular Python data science libraries are central to machine learning, deep learning and/or reinforcement learning:

a. scikit-learn

b. keras and tensorflow

c. OpenAIGym

d. All of the above

Answer: d.

 

1.9      Other Popular Programming Languages

1.9 Q1: The popular programming languages Python and ________ are the two most widely used data-science languages.

a. C

精选图文

221381