
- Bluej exercise solutions how to#
- Bluej exercise solutions manual#
- Bluej exercise solutions software#
- Bluej exercise solutions code#
Furthermore we could make a note to check that negative values are handled correctly. Making a walk through of testMinus() obviously makes us want to take a closer look at the minus() method. The testMinus() method is similar in structure to the testPlus() method.
Bluej exercise solutions code#
It is not the same result as was returned by testAll().Ĭalling testPlus() one more time returns 7.Īccording to the source code it should return 7. There is no way to know (just from the test output) that the tests passed, because we only get the test result value. The terminal window shows: Testing the addition operation. The test result window reports one failure and shows a big red bar. Call the findSpace method on the Day object with the new assignment object.

Bluej exercise solutions manual#
The regression test we have done so far still requires manual inspection of the output. test zero and negative values for duration and time.Ī positive test could be to test that appointments longer than an hour has the correct duration after being inserted. NONINFRINGEMENT.- test how the application handles a 'null' object as an appointment. OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Bluej exercise solutions software#
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,ĮXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES Included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be Software is furnished to do so, subject to the following Restriction, including without limitation the rights to use,Ĭopy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Obtaining a copy of this software and associated documentationįiles (the “Software”), to deal in the Software without Permission is hereby granted, free of charge, to any person This project is released under and protected by the MIT License Feedback (errors, omissions, improvements. They were produced and sent to us by Jonathan J Mackintosh, Teaching Fellow, University of Aberdeen. If you have any questions, suggestions, or feedback, please feel free to write to I look forward to hearing from you. Set 2: These solutions are much more detailed, with more explanations and commentary. The problems solved are all from the end of chapter exercises in the textbook.

Fundamentals of Business (black and White) Stephen J. Since this project consists of exercise solutions, the problem sets themselves act as documentaion. bluej-exercise-solutions-chapter-3 2/13 Downloaded from on Septemby guest is available with this edition. Follow the instructions in the relevant ExerciseAnswers / README.txt for detailed instructions. The programs can all be executed via BlueJ or the Terminal. 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. The differences between the two versions are minor, and can be ignored for the purposes of this repository.
Bluej exercise solutions how to#
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 exercise solutions for each chapter are in a file named either ExerciseAnswers or README.txt, with other files providing the Java code. Development was done via gedit (chapters 1 - 9) and BlueJ (chapters 10 - 18). It is presented here unchanged, in its initial form. The code in this project was written over a span of 3 years, from 2011 to 2014, as part of school assignments.

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