CS 405 Numeric Overflows assignment

You are a senior software developer on a team of software developers who are responsible for a large banking application. Your manager has learned that the code used for addition and subtraction over a series of steps will sometimes calculate incorrect results. The other developers have spent a lot of time tracing down the issue and they narrowed it down to two functions: add_numbers() and subtract_numbers(). Following some guidance from an older testing guide they isolated those functions in a standalone set of test cases. Doing this allows them to reliably show how to trigger an underflow or overflow. However they don’t know what to do to prevent it from occurring in the future. They came to you for help. You will learn to do the following: This assignment presents code that is designed to show the two functions operating with and without overflow or underflows. Using the existing source code you will add logic to the add_numbers() and subtract_numbers() functions to detect prevent and notify the caller of a numeric overflow. You will also modify the calling test_overflow and test_underflow functions to be notified of success or failure of the add or subtract functions they call and to modify them the functions write to the console with overflow status (true or false) and the numeric result of the function. The following are a few key notes: Please comment on any changes you make in the code to explain the logic formulas or data types you are adding. You will also create a brief written summary of the approach taken. It should explain how this approach is designed to stop the overflow or underflow any issues you encountered and how you resolved those issues. Specifically you will prepare the following: To complete this assignment download the Numeric Overflow source code to use as guidance as you move through the activity. You will use your development environment to complete this activity. Submit the modified source code as a ZIP file. Also include a Word document that contains a complete screenshot of the application console output and a brief summary of your process. Requirements: As needed | C++ Detect when a numeric overflow or underflow is about to happen Write code to prevent the numeric overflow or underflow from happening Protect your code from underflow and overflow in any of the standard C/C++ data types The source code has been commented with TODOs to explain the detailed rules you must follow. There are comments that mark code that must be changed. There may be more than one way to solve this problem so be sure to demonstrate that you can detect an underflow or overflow prevent it and communicate it back to the calling function. Remember to leverage capabilities provided by the standard C++ library to help you achieve success. Numeric overflow and underflow secure coding C/C++ program functionality and best practices A summary of your process in a Word document that contains a screenshot of the application console output

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code HAPPY