Skip to content

My Solutions to the Exercises from Allen Downey's "How to Think Like a Computer Scientist" (Java version 4.1)

License

Notifications You must be signed in to change notification settings

kaivalyar/AllenDowneyExercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Think Like a Computer Scientist - Exercise Solutions

My solutions to the exercises presented in Allen Downey's textbook - How to Think Like a Computer Scientist, Java version 4.1.

Synopsis

How to Think Like a Computer Scientist is an excellent introductory computer science textbook by Allen Downey. Although intitially written for Java, it has since been converted to multiple languages, including C, C++, and Python. The later Java versions have been renamed to Think Java. This project contains solutions for the version 4.1 of the book.

The code in this project was written over a span of 3 years, from 2011 to 2014, as part of school assignments. It is presented here unchanged, in its initial form. Development was done via gedit (chapters 1 - 9) and BlueJ (chapters 10 - 18). The exercise solutions for each chapter are in a file named either ExerciseAnswers or README.txt, with other files providing the Java code.

Textbook Version issue: The version of How to Think Like a Computer Scientist available in this repository, is 4.0 - I can't find a softcopy of version 4.1. The differences between the two versions are minor, and can be ignored for the purposes of this repository. That being said however, if you wish to contribute the correct version of the book, please feel free to do so by submitting a pull request, or by contacting me.

Set Up

The programs can all be executed via BlueJ or the Terminal. Follow the instructions in the relevant ExerciseAnswers / README.txt for detailed instructions.

Documentation

Since this project consists of exercise solutions, the problem sets themselves act as documentaion. The problems solved are all from the end of chapter exercises in the textbook.

Contact

If you have any questions, suggestions, or feedback, please feel free to write to kaivalyaraw@gmail.com. I look forward to hearing from you.

License

This project is released under and protected by the MIT License

Copyright © 2016 Kaivalya Rawal

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

My Solutions to the Exercises from Allen Downey's "How to Think Like a Computer Scientist" (Java version 4.1)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages