244.6.10P

profileRae2021
244.6-10.p.docx

U.6

Topic: Functions

Discuss the use of and advantages of functions in Python. Expand your discussion to distinguish built-in from user-defined functions and provide examples of each.

u.7

Topic: Role of classes

Review the scenario presented from the first page, titled “In this Chapter,” of Chapter 6: “Classes” from the textbook Python: An Introduction to Programming by James R. Parker from the Skillsoft database in the Library.

Discuss the role of classes, objects, and encapsulation in object-oriented programming in context with this example. Provide specific examples of each of these concepts. Identify any other classes, methods, or attributes that might be added to this scenario.

u.8

Topic: Sys Module

Discuss the purpose of the sys module in Python and give some examples of the type of information it can provide. Discuss the purpose of the os module in Python and explain its use with files and directories. Provide an example of the use of the subprocess module.

u.9

Topic: Pickle

Define the term “pickle” in Python. Discuss some of the constraints of pickling in Python and why some things cannot be pickled

U10

Topic: Modules

What are modules? Why are they needed in Python?