Project #88394 - Debugging Discussion (2 paragraphs is all)

Good evening to all you wonderful scholars,

Due date is 10/25/2015 @ 5pm pacific time.


Respond to your classmates' bugs with debugging solutions.  If you've found any useful debugging resources, let your classmates know.


Write a seperate paragragh in response to these discussions listed #1 and #2



#1 (Ma La)

In a world without software debugging, a developer would only get one chance to get a program right. There would be no patches or software updates. Any flaws is a system wouldn’t be able to be fixed and instead the project would have to begin again from scratch. Security exploits couldn’t be fixed easily. Basically most programs would be useless and any working code would be very labor intensive and expensive.

One bug that I ran into early on in this class was on the first rounding problem. I didn’t know about any rounding math commands so I used the following:

double num;

System.out.println("Enter a decimal amount.");

num = console.nextDouble();
System.out.println();
num = num + 0.5;

System.out.println("The rounded decimal is " + (int)num);

 

This worked great. The bug is that it only worked for positive inputs. The fix for negative numbers without math commands was more complicated.

 

 

 

#2 (Je Sa)
A world without a debugging software would be catastrophic in the world and the US. Starting with the government would be vulnerable to code errors, making it possible for weapons that are controlled by a computer to work faulty causing death and even making it possible for weapons to go off inside a government facility. Then we see healthcare how awful would it be for a software to have a bug and doctors overdosing patient without noticing it. Personal information would be affected also, without noticing a bug can be in the banking system and because of the bug all account would mark zero the whole world would go dark. It is just a scary thought.

Subject Computer
Due By (Pacific Time) 10/25/2015 05:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy