When submitting this lab, submit a screenshot showing a bug in the IDE debugger. Also, submit a .java file called Debugger, and create the following structure in Eclipse: Package Name: week11 Class Name: Debugger In this lab you will not be writing any code. Rather, you will import a Java program and use debugging techniques to find and fix the errors in the code. Download the file Debugger.java. This file contains completed code for a Java application that allows a user to solve math problems. The development team has finished the code and turned it over to QA for testing. The QA team has finished the testing and reported the bugs listed below. Your job is to use the IDE debugger to find and fix the errors reported. If using Eclipse, go to Window->Preferences->Java->Debug->Step Filtering and check all the boxes QA Report Test Case 21 - Fail Severity: Medium Expected Behavior: Find the Sum module will find the Sum of all numbers entered. Discovered Behavior: The reported Sum does not equal the sum of all numbers entered. Steps: From the Main menu, enter 1 < Find the Sum>. When asked to enter a number, enter 5. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. The sum should be 30 but is reported as 15 Example Run Test Case 21-Sum Error.jpg Test Case 42- Fail Severity: Medium Expected Behavior: Find the Biggest module will find the Biggest value of all numbers entered. Discovered Behavior: The Biggest Number is always reported as 0. Steps: From the Main menu, enter 3 < Find the Biggest>. When asked to enter a number, enter 5. When asked to enter a number, enter 50. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. Program appears to be tracking the Biggest Number but the final report incorrectly shows the Biggest Number = 0 Example Run Test Case 42-Biggest Error.jpg Test Case 56 - Fail Severity: Medium Expected Behavior: When exiting the program, a message to the user will display saying: Goodbye! Discovered Behavior: The program displays an error message after Goodbye! Steps: From the Main menu, enter 4 An error message displays after the program says Goodbye! Example Run Test Case 56-Exit Error.jpg Test Case 59 - Fail Severity: Severe Expected Behavior: Find the Average module will find the Average value of all numbers entered. Discovered Behavior: Running the Find the Average module causes the program to crash. Steps: From the Main menu, enter 2 < Find the Average>. When asked to enter a number, enter 5. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. Program crashes with an exception error. Example Run Test Case 59-Average Error.jpg * If you were unable to view the images above, you can read a description of them in the Debugging a Program transcript. Example Run Passing off this lab will entail running the code and showing that each of the identified bugs has been fixed. Credit for the lab will only be given for using the in-tool debugger. You will submit two files 1 - A screenshot of the debugger active 2 - Your corrected version of debugger.java

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
When submitting this lab, submit a screenshot showing a bug in the IDE debugger. Also, submit a .java file called Debugger, and create the following structure in Eclipse: Package Name: week11 Class Name: Debugger In this lab you will not be writing any code. Rather, you will import a Java program and use debugging techniques to find and fix the errors in the code. Download the file Debugger.java. This file contains completed code for a Java application that allows a user to solve math problems. The development team has finished the code and turned it over to QA for testing. The QA team has finished the testing and reported the bugs listed below. Your job is to use the IDE debugger to find and fix the errors reported. If using Eclipse, go to Window->Preferences->Java->Debug->Step Filtering and check all the boxes QA Report Test Case 21 - Fail Severity: Medium Expected Behavior: Find the Sum module will find the Sum of all numbers entered. Discovered Behavior: The reported Sum does not equal the sum of all numbers entered. Steps: From the Main menu, enter 1 < Find the Sum>. When asked to enter a number, enter 5. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. The sum should be 30 but is reported as 15 Example Run Test Case 21-Sum Error.jpg Test Case 42- Fail Severity: Medium Expected Behavior: Find the Biggest module will find the Biggest value of all numbers entered. Discovered Behavior: The Biggest Number is always reported as 0. Steps: From the Main menu, enter 3 < Find the Biggest>. When asked to enter a number, enter 5. When asked to enter a number, enter 50. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. Program appears to be tracking the Biggest Number but the final report incorrectly shows the Biggest Number = 0 Example Run Test Case 42-Biggest Error.jpg Test Case 56 - Fail Severity: Medium Expected Behavior: When exiting the program, a message to the user will display saying: Goodbye! Discovered Behavior: The program displays an error message after Goodbye! Steps: From the Main menu, enter 4 An error message displays after the program says Goodbye! Example Run Test Case 56-Exit Error.jpg Test Case 59 - Fail Severity: Severe Expected Behavior: Find the Average module will find the Average value of all numbers entered. Discovered Behavior: Running the Find the Average module causes the program to crash. Steps: From the Main menu, enter 2 < Find the Average>. When asked to enter a number, enter 5. When asked to enter a number, enter 10. When asked to enter a number, enter 15. When asked to enter a number, just push Enter. Program crashes with an exception error. Example Run Test Case 59-Average Error.jpg * If you were unable to view the images above, you can read a description of them in the Debugging a Program transcript. Example Run Passing off this lab will entail running the code and showing that each of the identified bugs has been fixed. Credit for the lab will only be given for using the in-tool debugger. You will submit two files 1 - A screenshot of the debugger active 2 - Your corrected version of debugger.java
Expert Solution
steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education