Think Java: How to Think like a Computer Scientist

Allen Downey and Chris Mayfield's How to Think Like a Computer Scientist text in Java

Think Java: How to Think like a Computer Scientist


  1. Computer Programming
  2. Variables and Operators
  3. Input and Output
  4. Methods and Testing
  5. Conditionals and Logic
  6. Loops and Strings
  7. Arrays and References
  8. Recursive Methods
  9. Immutable Objects
  10. Mutable Objects
  11. Designing Classes
  12. Arrays of Objects
  13. Objects of Arrays
  14. Extending Classes

Interested in evaluating Think Java: How to Think like a Computer Scientist for your class? Sign up for a Free Instructor Account to access and customize this Codio Resource for free!

Easily Add Auto-Grading

To supplement the text, easily add auto-graded assessments from Codio's global assessments library.  Both teachers and students get instant feedback on learner's level of understanding. Students also get rich explanations and a sample solution for every question.

Book Description

"Currently used at many colleges, universities, and high schools, this hands-on introduction to computer science is ideal for people with little or no programming experience. The goal of this concise book is not just to teach you Java, but to help you think like a computer scientist. You’ll learn how to program—a useful skill by itself—but you’ll also discover how to use programming as a means to an end.Authors Allen Downey and Chris Mayfield start with the most basic concepts and gradually move into topics that are more complex, such as recursion and object-oriented programming. Each brief chapter covers the material for one week of a college course and includes exercises to help you practice what you’ve learned.
  • Learn one concept at a time: tackle complex topics in a series of small steps with examples
  • Understand how to formulate problems, think creatively about solutions, and write programs clearly and accurately
  • Determine which development techniques work best for you, and practice the important skill of debugging
  • Learn relationships among input and output, decisions and loops, classes and methods, strings and arrays
  • Work on exercises involving word games, graphics, puzzles, and playing cards"

— Amazon

Learn by Doing Approach

Follow along with the text examples with Codio's fully featured in-browser IDE. With syntax highlighting, built-in debugger, terminal access, and ability to run code with a click of the button, students will be using professional grade tools as they build their skills.

Take a peek inside...

  • Allen Downey's renowned text
  • IDE next to text to follow along
  • Run code with the push of a button
  • Easily add auto-graded questions from Codio's Assessment Library

Ready To Get Started?

Learn more about how Codio can save you time, money, and headaches!