Data Science with Python Certification

FREE Introduction to Python for Data Science Questions and Answers

0%

What does Python's "capture" cell magic command not support?

Correct! Wrong!

Explanation:
The statement "It cannot be used to capture graphical cell output" is invalid regarding the "capture" cell magic command in Python.

Choosing the incorrect command to create and reshape a 60-integer array when the NumPy package has been imported as an object with the name np

Correct! Wrong!

Explanation:
The command myArray = np.arrange(60).reshape(8,7) is not a valid command for creating and reshaping a 60-integer array using NumPy.

What command will enable you to obtain a stack trace while using the interactive Python debugger?

Correct! Wrong!

Explanation:
The command at the interactive Python debugger prompt that helps you in getting a stack trace while debugging a Python program is where or w.

What does the Jupyter Notebook application not apply to?

Correct! Wrong!

Explanation:
The statement "Cell may only be run one at a time" is not applicable to the Jupyter Notebook application.

What qualifies as not a property of an ndarray object?

Correct! Wrong!

Which activity does not fall under the data science lifecycle's Dissemination phase?

Correct! Wrong!

Explanation:
Creating and managing analysis scripts is not typically included in the Dissemination phase of the data science lifecycle.

What kind of data can be used to satisfy the needs of an application that has datasets that are not suited for an RDBMS yet require order and hierarchy

Correct! Wrong!

Explanation:
Semi-structured data is suitable to address the requirement for an application having datasets that are not suitable for a Relational Database Management System (RDBMS) but still require order and hierarchy.