Reading assignments are from Python for Everyone 2/e
by Cay Horstmann and Rance Necaise
Some reading items are links to on-line material.
You probably already know almost everything in chapter1. Scan chapter and see if you find anything you need to read.
Table of Contents
Chapter 1: Introduction
1.1 Computer Programs
1.2 The Anatomy of a Computer
1.3 The Python Programming Language
1.4 Becoming Familiar with Your Programming Environment
1.5 Analyzing Your First Program
1.6 Errors
1.7 Problem Solving: Algorithm Design
names are mutable untyped references link
2.1 Variables
2.2 Arithmetic
F2 namespace and scoping link
2.3 Problem Solving: First Do It By Hand
2.4 Strings
2.5 Input and Output except not 2.5.3
replace section 2.5.3 with new formatting link
Common Error 2.2 Roundoff Errors
2.6 Graphics: Simple Drawings (omit)
Toolbox 2.1 (omit)
Look at these two appendices. Appendix A is especially useful.
APPENDIX A PYTHON OPERATOR SUMMARY
APPENDIX B PYTHON RESERVED WORD SUMMARY
3.1 The if Statement
3.2 Relational Operators
3.3 Nested Branches
3.4 Multiple Alternatives
Toolbox 3.1 (omit)
3.5 Problem Solving: Flowcharts
3.6 Problem Solving: Test Cases
3.7 Boolean Variables and Operators
3.8 Analyzing Strings
3.9 Application: Input Validation
Toolbox 3.2 (omit)
4.1 The while Loop
4.2 Problem Solving: Hand-Tracing
4.3 Application: Processing Sentinel Values
4.4 Problem Solving: Storyboards
4.5 Common Loop Algorithms
4.6 The for Loop
4.7 Nested Loops
Toolbox 4.2 (omit)
4.8 Processing Strings
4.9 Application: Random Numbers and Simulations
4.10 Graphics: Digital Image Processing (omit)
4.11 Problem Solving: Solve a Simpler Problem First
C2c Loop control statements link
5.1 Functions as Black Boxes
5.2 Implementing and Testing Functions
argument reference passing link
5.3 Parameter Passing
5.4 Return Values
5.5 Functions Without Return Values
5.6 Problem Solving: Reusable Functions
5.7 Problem Solving: Stepwise Refinement
5.8 Variable Scope
5.9 Graphics: Building an Image Processing Toolkit (omit)
5.10 Recursive Functions (omit)
E3 keyword and default arguments link
F2 look again at: namespace and scoping link
Look at appendix C.
built-in functions and classses do not need an import. The module to import is specified for the others.
APPENDIX C THE PYTHON STANDARD LIBRARY
6.1 Basic Properties of Lists
6.2 List Operations
6.3 Common List Algorithms except not 6.3.8
replace section 6.8.3 with better swap link
6.4 Using Lists with Functions
Toolbox 6.1 (omit)
6.5 Problem Solving: Adapting Algorithms
6.6 Problem Solving: Discovering Algorithms by Manipulating Physical Objects
6.7 Tables
A2c Complex numbers link
7.1 Reading and Writing Text Files
7.2 Text Input and Output
Toolbox 7.1 (omit)
7.3 Command Line Arguments (omit)
Toolbox 7.2 (omit)
7.4 Binary Files and Random Access (omit)
7.5 Exception Handling
Toolbox 7.3 (omit)
7.6 Application: Handling Input Errors
Toolbox 7.4 (omit)
8.1 Sets
8.2 Dictionaries 8.3 Complex Structures(omit) Toolbox 8.1 (omit)
9.1 Object-Oriented Programming
9.2 Implementing a Simple Class
9.3 Specifying the Public Interface of a Class
9.4 Designing the Data Representation
9.5 Constructors
9.6 Implementing Methods
9.7 Testing a Class
9.8 Problem Solving: Tracing Objects
9.9 Problem Solving: Patterns for Object Data
9.10 Object References
9.11 Application: Writing a Fraction Class
G2 Overloading operators and methods link
10.1 Inheritance Hierarchies
10.2 Implementing Subclasses
10.3 Calling the Superclass Constructor
10.4 Overriding Methods
10.5 Polymorphism
10.6 Application: A Geometric Shape Class Hierarchy
APPENDIX E BINARY NUMBERS AND BIT OPERATIONS - B3 bitwise operators
To access this appendix:
Review