Table of Contents
Acknowledgments |
How to Use This Book |
Who This Book Is For |
What’s in This Book (And What’s Not) |
What You Need |
Online Resources |
1. | Turning Problems into Code |
Understanding the Problem |
Discovering Inputs, Processes, and Outputs |
Driving Design with Tests |
Writing the Algorithm in Pseudocode |
Writing the Code |
Challenges |
Onward! |
2. | Input, Processing, and Output |
1. | Saying Hello |
2. | Counting the Number of Characters |
3. | Printing Quotes |
4. | Mad Lib |
5. | Simple Math |
6. | Retirement Calculator |
What You Learned |
3. | Calculations |
7. | Area of a Rectangular Room |
8. | Pizza Party |
9. | Paint Calculator |
10. | Self-Checkout |
11. | Currency Conversion |
12. | Computing Simple Interest |
13. | Determining Compound Interest |
What You Learned |
4. | Making Decisions |
14. | Tax Calculator |
15. | Password Validation |
16. |
Get Exercises for Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.