Computer Science 203:
Software Engineering
Gregory M. Kapfhammer
Color Scheme
Key Concept
Corresponding Diagram
In-Class Discussion
In-Class Activity
Details in the Textbook
Think Python
Chapters 5 through 8
Hands-on Practice on Fridays
Reviewing Python Fundamentals
Conditionals and Recursion
Python Programs
Mathematical expressions
Boolean expressions
Logical operations
Conditional execution
How are Python and Java the same?
How are Python and Java different?
Declaring and Calling Functions
One or More Return Values
Optional function arguments
Default values for function arguments
How are Python and Java the same?
How are Python and Java different?
Debugging
Precondition violated: arguments are incorrect
Postcondition violated: function is incorrect
Return value misused: calling function is incorrect
Which approach is "Pythonic"?
Debugging iterative programs
Strings can be "traversed"
Application to the software project