Example Report

Hi everybody,

I've copied an example of the program test report for assignment 10 below. Some of you had trouble getting your programs to work well. Please have a look at the output of this assignment. Please also let me know if you need an example implementation.

I decided to list out the the point distribution of this assignment here because it contains quite several parts. They are not going to be exactly the same as what you will see in your score report point deduction section. For example, I won't take off all of the points if only some part of a method is broken.

If you submitted your assignment 10, you will soon receive an email from me with your report and score. If you haven't received the email by tomorrow, let me know. Also let me know if you have any questions regarding your score.

Cheers!
Jade


Here is your score for Assignment 10.

Score: TDB%

Let me know if you have any questions regarding your score. And let me know if you want a copy of an example implementation for the assignment.

Regards,
Jade

Grading Guildelines


Test Results

The following files was used during the tests:

% java ChengJade10 commands1.txt
Levels traversed: 0 Time consumed (ns): 6984 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 14248 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3632 0: adding homework with deadline 2359 and duration 300 Levels traversed: 0 Time consumed (ns): 10057 0: performing lunch with deadline 1300 and duration 30 30: done performing lunch Levels traversed: 0 Time consumed (ns): 3631 30: performing homework with deadline 2359 and duration 300 330: done performing homework Levels traversed: 0 Time consumed (ns): 3073 330: performing work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 2514 330: adding work with deadline 7200 and duration 230
% java ChengJade10 commands2.txt
Levels traversed: 0 Time consumed (ns): 5867 0: adding work with deadline 3000 and duration 2300 Levels traversed: 1 Time consumed (ns): 17600 0: adding homework with deadline 2359 and duration 300 Levels traversed: 0 Time consumed (ns): 6705 0: performing homework with deadline 2359 and duration 300 300: done performing homework Levels traversed: 0 Time consumed (ns): 3073 300: performing work with deadline 3000 and duration 2300 Levels traversed: 0 Time consumed (ns): 2515 300: adding work with deadline 3000 and duration 200 Levels traversed: 1 Time consumed (ns): 4190 2400: adding email with deadline 2800 and duration 1000 Levels traversed: 0 Time consumed (ns): 3632 2400: performing email with deadline 2800 and duration 1000 3400: done performing email (late) Levels traversed: 0 Time consumed (ns): 3352 3400: performing work with deadline 3000 and duration 200 Levels traversed: 0 Time consumed (ns): 2794 3400: adding work with deadline 3000 and duration 100 Levels traversed: 0 Time consumed (ns): 3353 3500: performing work with deadline 3000 and duration 100 3600: done performing work (late)
% java ChengJade10 commands3.txt
Levels traversed: 0 Time consumed (ns): 5308 0: adding sleep with deadline 80 and duration 80 Levels traversed: 0 Time consumed (ns): 13969 0: adding breakfast with deadline 90 and duration 5 Levels traversed: 0 Time consumed (ns): 9498 0: performing sleep with deadline 80 and duration 80 80: done performing sleep Levels traversed: 0 Time consumed (ns): 3352 80: performing breakfast with deadline 90 and duration 5 85: done performing breakfast Levels traversed: 0 Time consumed (ns): 2794 85: adding email with deadline 100 and duration 20 Levels traversed: 0 Time consumed (ns): 3352 85: performing email with deadline 100 and duration 20 Levels traversed: 0 Time consumed (ns): 2794 85: adding email with deadline 100 and duration 5 Levels traversed: 0 Time consumed (ns): 3632 100: adding dinner with deadline 190 and duration 10 Levels traversed: 0 Time consumed (ns): 3352 100: adding lunch with deadline 130 and duration 5 Levels traversed: 1 Time consumed (ns): 7263 100: adding exercise with deadline 180 and duration 20 Levels traversed: 1 Time consumed (ns): 5028 100: adding class with deadline 150 and duration 12 Levels traversed: 1 Time consumed (ns): 5028 100: adding study with deadline 120 and duration 10 Levels traversed: 0 Time consumed (ns): 3352 100: adding studyAgain with deadline 240 and duration 30 Levels traversed: 2 Time consumed (ns): 7263 100: performing email with deadline 100 and duration 5 105: done performing email (late) Levels traversed: 1 Time consumed (ns): 6146 105: performing study with deadline 120 and duration 10 115: done performing study Levels traversed: 1 Time consumed (ns): 6984 115: performing lunch with deadline 130 and duration 5 120: done performing lunch Levels traversed: 1 Time consumed (ns): 6146 120: performing class with deadline 150 and duration 12 132: done performing class Levels traversed: 1 Time consumed (ns): 5866 132: performing exercise with deadline 180 and duration 20 152: done performing exercise Levels traversed: 0 Time consumed (ns): 3353 152: performing dinner with deadline 190 and duration 10 162: done performing dinner Levels traversed: 0 Time consumed (ns): 3353 162: performing studyAgain with deadline 240 and duration 30 192: done performing studyAgain
% java ChengJade10 empty.txt
% java ChengJade10 case-sensitive.txt
Levels traversed: 0 Time consumed (ns): 5867 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 13968 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3631 0: adding homework with deadline 2359 and duration 300 Levels traversed: 0 Time consumed (ns): 10058 0: performing lunch with deadline 1300 and duration 30 30: done performing lunch Levels traversed: 0 Time consumed (ns): 3632 30: performing homework with deadline 2359 and duration 300 330: done performing homework Levels traversed: 0 Time consumed (ns): 3632 330: performing work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 2793 330: adding work with deadline 7200 and duration 1430 Levels traversed: 0 Time consumed (ns): 3352 1200: performing work with deadline 7200 and duration 1430 Levels traversed: 0 Time consumed (ns): 2514 1200: adding work with deadline 7200 and duration 230 Levels traversed: 0 Time consumed (ns): 3353 2400: performing work with deadline 7200 and duration 230 2630: done performing work
% java ChengJade10 blank-lines.txt
Levels traversed: 0 Time consumed (ns): 5588 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 14247 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3631 0: adding homework with deadline 2359 and duration 300 Levels traversed: 0 Time consumed (ns): 10336 0: performing lunch with deadline 1300 and duration 30 30: done performing lunch Levels traversed: 0 Time consumed (ns): 3632 30: performing homework with deadline 2359 and duration 300 330: done performing homework Levels traversed: 0 Time consumed (ns): 3352 330: performing work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 2235 330: adding work with deadline 7200 and duration 230
% java ChengJade10 single-line.txt
Levels traversed: 0 Time consumed (ns): 5307 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 13968 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 8940 0: performing lunch with deadline 1300 and duration 30 30: done performing lunch Levels traversed: 0 Time consumed (ns): 3631 30: performing work with deadline 7200 and duration 2300 2330: done performing work
% java ChengJade10 reverse-time.txt
Levels traversed: 0 Time consumed (ns): 5867 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 13969 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3352 0: adding homework with deadline 2359 and duration 300 Levels traversed: 0 Time consumed (ns): 10616 0: performing lunch with deadline 1300 and duration 30 30: done performing lunch Levels traversed: 0 Time consumed (ns): 3352 30: performing homework with deadline 2359 and duration 300 330: done performing homework Levels traversed: 0 Time consumed (ns): 3073 330: performing work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 2794 330: adding work with deadline 7200 and duration 1430 Run time is in the past: 600
% java ChengJade10 bad-command.txt
Levels traversed: 0 Time consumed (ns): 5867 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 13968 0: adding work with deadline 7200 and duration 2300 Unknown command in file: bad Entries should start with 'schedule' or 'run'.
% java ChengJade10 bad-time1.txt
Levels traversed: 0 Time consumed (ns): 6425 0: adding lunch with deadline 1300 and duration 30 Invalid integer value.
% java ChengJade10 bad-time2.txt
Levels traversed: 0 Time consumed (ns): 5866 0: adding lunch with deadline 1300 and duration 30 Unexpected negative value.
% java ChengJade10 bad-duration1.txt
Levels traversed: 0 Time consumed (ns): 6425 0: adding lunch with deadline 1300 and duration 30 Invalid integer value.
% java ChengJade10 bad-duration2.txt
Levels traversed: 0 Time consumed (ns): 5866 0: adding lunch with deadline 1300 and duration 30 Unexpected negative value.
% java ChengJade10 bad-duration3.txt
Levels traversed: 0 Time consumed (ns): 6146 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 13969 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3073 0: adding homework with deadline 2359 and duration 300 Invalid integer value.
% java ChengJade10 bad-duration4.txt
Levels traversed: 0 Time consumed (ns): 6146 0: adding lunch with deadline 1300 and duration 30 Levels traversed: 0 Time consumed (ns): 14806 0: adding work with deadline 7200 and duration 2300 Levels traversed: 0 Time consumed (ns): 3352 0: adding homework with deadline 2359 and duration 300 Unexpected negative value.
% java ChengJade10 bad-length.txt
Unexpected end of file.
% java ChengJade10
Usage: java ChengJade10 <path>
% java ChengJade10 badpath.txt
badpath.txt (The system cannot find the file specified)
% java ChengJade10 badpath1.txt badpath2.txt
Usage: java ChengJade10 <path>
Valid HTML 4.01 Valid CSS