/PPaItCS_3e_solutions

Solutions to the exercises in "Python Programming: An Introduction to Computer Science, Third Edition" by John Zelle

Primary LanguagePython

PPaItCS_3e_solutions

This project contains solutions to the exercises found in the textbook, Python Programming: An Introduction to Computer Science, Third Edition, which I have purchased from Amazon.

Purpose

The purpose of this project is to learn a popular programming language (i.e., Python) as well as the fundamentals of computer science.

Timeline

Start Date End Date
January 18, 2018 IN PROGRESS

Table of Contents and Exercises

This book has 13 chapters, with exercises at the end of each chapter.

📕 📖 🤔 💡 🔟 ✏️ 🔡 ✏️ 💬 ✏️ 💻 ✏️ 📅
1 Computers and Programs 🚧 "logistic" ✔️ ✔️ ✔️ ✔️
2 Writing Simple Programs 🚧 ✔️ ✔️ ✔️ ✔️
3 Computing with Numbers 🚧 Float bit Int ✔️ 🚧 🚧 🚧
4 Objects and Graphics 🚧 methods, functions, operations ✔️ 🚧 🚧 🚧
5 Sequences: Strings, Lists, and Files 🚧 ASCII, Unicode, UTF-8, private key, public key, read, write ✔️ 🚧 🚧 🚧
6 Defining Functions 🚧 ✔️
7 Decision Structures 🚧 ✔️ 🚧
8 Loop Structures and Booleans 🚧 ✔️ 🚧 🚧 🚧
9 Simulation and Design 🚧 ✔️
10 Defining Classes 🚧 ✔️
11 Data Collections 🚧 ✔️
12 Object-Oriented Design 🚧 ✔️
13 Algorithm Design and Recursion 🚧 anagram, tower of hanoi ✔️ 🚧 🚧

Legend:

  • 📕 = Chapter
  • 📖 = Read
  • 🔟 = True/false Questions
  • 🤔 = Concepts I have trouble with
  • 💡 = Concepts I had trouble with but now understand
  • 🔡 = Multiple choice questions
  • 💬 = Discussion questions
  • 💻 = Programming exercises
  • 🚧 = In progress
  • ✔️ = Done
  • ✏️ = Corrected
  • 📅 = Date completed
  • ⌛ = Daily time spent
  • ➕ = Total time spent

Solutions

Download link for end-of-chapter solutions and code.

Supplementary Links

My Questions

  • How are floats represented?
  • What determines the length of the mantissa?
  • Can a decision structure (e.g., ifelif ) be passed as a parameter to a method?