Python Programming: An Introduction to Computer Science
This is an introductory college-level textbook designed to teach the fundamental principles of computer science using Python as the primary programming language. It focuses on problem-solving, design, and programming through a spiral coverage model and a graphics-oriented approach.
Course Overview
📚 Content Summary
This is an introductory college-level textbook designed to teach the fundamental principles of computer science using Python as the primary programming language. It focuses on problem-solving, design, and programming through a spiral coverage model and a graphics-oriented approach.
A gentle and comprehensive introduction to the art of computer science through the lens of Python.
Author: John M. Zelle
Acknowledgments: Guido van Rossum (Foreword), Jim Leisy, and academic colleagues from Wartburg College and various universities including Owen Astrachan, Cay Horstmann, and Nell Dale.
🎯 Learning Objectives
- Distinguish between hardware/software and algorithms/programs.
- Explain how a Python interpreter translates high-level code into executable instructions via byte code.
- Define and invoke simple Python functions using parameters and arguments.
- List and describe the six stages of the Software Development Process.
- Apply Python syntax rules to create valid identifiers and mathematical expressions with correct operator precedence.
- Differentiate between the "Box" and "Sticky Note" variable models and explain the process of evaluation and assignment.
- Distinguish between
intandfloatdata types and apply explicit type conversions. - Implement the accumulator pattern to solve mathematical problems like factorials.
- Utilize the Python
mathlibrary to solve algebraic equations, including the quadratic formula. - Define and apply core OO concepts: objects, methods, accessors, mutators, and aliasing.