Giter Site home page Giter Site logo

kaivalyar / allendowneyexercises Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 8.0 1.04 MB

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

License: MIT License

Java 100.00%
allendowney practice java solutions exercise-solutions exercises

allendowneyexercises's Introduction

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 [email protected]. 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.

allendowneyexercises's People

Contributors

kairawal avatar kaivalyar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

allendowneyexercises's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.