Python Data Visualization Week1

docx

School

Grand Rapids Community College *

*We aren’t endorsed by this school

Course

247

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

2

Uploaded by ConstableWildcatMaster401

Report
Congratulations! You passed! Grade received 96.82% Latest Submission Grade 96.83% To pass 75% or higher Go to next item 1. Question 1 It is important to learn how to read and search through the Python documentation. The answers to all of the questions in this quiz can be found within the official Python 3 documentation. What module provides support for arithmetic on rational numbers? Just give the name of the module (such as random random ) with no spaces. 1 / 1 point fractions Correct 2. Question 2 What function could you use to create a complete copy of a nested dictionary (a dictionary that has dictionaries as values)? If you think the answer is a builtin function just give the function name (such as int int ) with no spaces, parentheses, or arguments. If you think the answer is a function contained within a module, give the answer in the form module.function module.function with no other spaces, parentheses, or arguments. 1 / 1 point copy.deepcopy Correct 3. Question 3 What function would you use to open a web page in a new browser window from a Python program? If you think the answer is a builtin function just give the function name (such as int int ) with no spaces, parentheses, or arguments. If you think the answer is a function contained within a module, give the answer in the form module.function module.function with no other spaces, parentheses, or arguments. (If there are multiple functions that you could use, give only one.) 1 / 1 point webbrowser.open_new Correct 4. Question 4 What Python module allows you to read and write WAV audio files? Just give the name of the module (such as random random ) with no spaces. 1 / 1 point
wave Correct 5. Question 5 What is the pickle pickle module? 1 / 1 point A module that can be used to generate cooking recipes, such as how to ferment cucumbers in a brine. A module that creates "pickle" objects. These pickle objects can be used to store data on disk. A module that allows you to convert Python objects into a byte stream and back. The "pickled" byte stream is suitable to be stored on disk or transferred over the network. A module that allows you to convert Python objects into the common PICKLE format used by many other languages which can then be transferred for use in programs written in those languages. Correct 6. Question 6 Which Python data types are immutable? 0.7777777777777778 / 1 point dict bytes bytearray list frozenset tuple Correct float Correct string Correct set You didn’t select all the correct answers 7. Question 7 How do you open a file over the network at a specified URL? Just give the name of the function (including any module name(s) with periods) with no spaces, parentheses, or arguments. 1 / 1 point urllib.request.urlopen Correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help