{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Debugger%20Worksheet

Debugger%20Worksheet - Section 15 Answer the following...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 1301 – Lab #7 Debugging Java Code - Worksheet Section 6. W hat do you observe when you run the program? Does not work Section 10 . Write down on the line numbers where the breakpoints have been set in the Debugger worksheet. 34, 37, 51, 56, 59, 64, 67 Section 12 . What are the values of MIN_FARENHEIT :_______-459.67__________ tempScaleStr :_______1-4________________ Section 13 a). Answer the following questions as required in section 11 a) of the lab: Does the first if-statement display the error message correctly? no What is the problem? Used the wrong sign ( < > ) How would you fix the program so it terminates when the user enters a Fahrenheit temperature lest than the possible minimum temperature? Change it to the other sign Section 14 . Answer the following questions as required in section 12 of the lab: What is the statement on which the arrow is now located? Line 37 degree verify
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Section 15 . Answer the following questions as required in section 13 of the lab: • What is the statement that the program will execute next? Line 51 scale • Is the condition of this second if statement correct? How will you change it? No, on tempscale 2, change the == to < Section 16 d). Answer the following questions as required in section 14 d) of the lab: • What is the value of the expression you just selected in the Watch window? 10.6666 Section 16 e). Answer the following questions as required in section 14 d) of the lab: • Does the program compute the correct temperature in Reamur degrees? no • Does the program assign the correct value for the variable tempScaleStr? No • How can you modify the program to compute this equivalence properly? Fix the if body paragraph...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern