Exercises for Programmers (PragProg)

Great programmers practice to keep their skills sharp. Get sharp and stay sharp with 57 practice exercises rooted in real-world scenarios. These challenges will help you get to the next level of expertise, whether you’re a new programmer or a seasoned pro.

Brian P. Hogan (@bphogan)

Edited by Susannah Davidson Pfalzer

Great programmers practice to keep their skills sharp. Get sharp and stay sharp with 57 practice exercises rooted in real-world scenarios. These challenges will help you get to the next level of expertise, whether you’re a new programmer or a seasoned pro.

Start with simple input and output programs. Do currency conversion, calculate blood alcohol content, replace words in files, filter records, and use web services to display the weather, store data, and show how many people are in space right now. At the end you’ll tackle larger programs that will help you bring everything together.

Each problem includes constraints and challenges to push you further, but it’s up to you to come up with the solutions. You can work through this book again and again, using new approaches and languages to solve familiar problems.


“If you’re looking to pick up a new programming language, pick up this book. You’ll learn how to solve problems from first principles, developing a stronger foundation to build on top of.”

–Stephen Orr, senior software engineer, Impact Applications


  • Full details: Search
  • View this book’s portal and details on how to post errata and suggestions here.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

2 Likes