Homework: Debugging

  < Previous  Next >

Make a new Visual Studio Project and include hwkDebugging.cpp into it. Using this project, following the instructions below and write your answers to the following questions in a flat text file hwkDebugging.txt (not a Word document nor a Rich Text Format file):
  1. Put a breakpoint in the body of the for loop. Start Debugging. Continue five times.
    1. What is value of a1?
    2. What is value of a2?
    3. Look at the sequence of numbers that appear in a2. What is the name of such a pattern? (Rerun several times if you need to.)
  2. What is value_1?

Submission

Submit your txt file at https://3110.cs.mtsu.edu/. For further instructions, please see the Miscellaneous page.

Rubric:

Points         Item
---------      --------------------------------------------------------------
_____ / 3      1
_____ / 1      2
        
_____ / 4      Total
      

Last Modified: