Archive for December, 2007




6.6

1a) I would test the number 1, 0, -1    #  1 should work because it agrees with the code segment   # 0 and -1 should not work because it does not agrees with the code segmentb)  i would test the # 1,0,-1 and # 101,100,99   the # 1, and 99 should work because it agree with the code segmentthe 0. -1, 101,and 100 should not work because it does not agree with the code segment2. the test data that should be use are  # 2, 0, and -2 for the growth rate , the # of hours it takes to achieve that rate and # of hours during that the population grows. 3. the reasonable test date for a loop that does not exclude a fixed number of times is any number that is less than or equal to 0, which mean  negative #s and 0.  4. Robust Program is a program that tolerates errors in user inputs and recover gracefully. ex) the best way to use a robust program is to check user inputs immediately on entry and reject those that are invalid.   

Add comment December 5, 2007

Pages

Categories

Links

Meta

Calendar

December 2007
M T W T F S S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Posts by Month

Posts by Category