100% Guaranteed Results


ICSI 404 – Assignment 3, the rippleAdder Solved
$ 24.99
Category:

Description

5/5 – (1 vote)

This assignment builds on the previous assignment. Now that we have created a longword simulator, we can add and subtract.
Create a class called rippleAdder. You must create these two methods on this class: public static longword add(longword a, longword b) public static longword subtract(longword a, longword b)
The rippleAdder class should have no members and all methods on it should be static.
You must provide a test file (rippleAdder_test.java) that implements void runTests() and call it from your main, along with your bit_test.runTests() and longword.runTests(). As with the other tests, these tests must be independent of each other and there must be reasonable coverage. You cannot reasonably test all of the billions of possible combinations, but you can test a few representative samples. Ensure that you test with positive and negative numbers.
You must submit buildable .java files for credit.
Rubric Poor OK Good Great
Comments None/Excessive (0) “What” not “Why”, few (5) Some “what” comments or missing some (7) Anything not obvious has reasoning (10)
Variable/Function naming Single letters everywhere (0) Lots of abbreviations
(5) Full words most of the time (8) Full words, descriptive (10)
Unit Tests None (0) Partial Coverage
(7) All methods covered, needs more cases
(13) All methods/cases covered (20)
Add None (0) Attempted (10) Some cases work (20) Completely working
(30)
Subtract None (0) Attempted (10) Some cases work (20) Completely working
(30)

Reviews

There are no reviews yet.

Be the first to review “ICSI 404 – Assignment 3, the rippleAdder Solved”

Your email address will not be published. Required fields are marked *

Related products