my dog learned polymorphism
The moose likes Cattle Drive and the fly likes assignment hints Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "assignment hints" Watch "assignment hints" New topic

assignment hints

Jinny Morris
Ranch Hand

Joined: Apr 29, 2007
Posts: 101
For one of the assignments, we are told that the Instructor's solution consists of 77 lines using 2 methods. Are these "hints" sort of like requirements? That is, if I used 3 methods instead of 2 for this particular assignment, should I try to re-work it before handing it in?

Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
At the bottom of the first assignment, we have a note...
** Your assignment will most likely not be the same size as the instructor's solution. This information is provided because some students have turned in assignments that are far more complex than required. This information gives you an idea of how sophisticated your solution should be.

Perhaps we should put this note in a different spot.

The answer to your question 'Are these "hints" sort of like requirements?' is that they are not requirements. The Cattle Drive focuses on making your code simple and readable. You should do the best you can and then turn it in. If you just say, "It runs, good enough", you will be more likely to get it back from the nitpicker with more suggestions on how you might improve your code rather than the instructor's solution. The deal is that you can only proceed to the next assignment after you receive the instructor's solution to the current assignment.

However, your solution does not need to exactly match the instructor's solution in order for you to "pass" the assignment. If your solution is 60 lines long and the instructor's solution is 5 lines long, then the "hint" will indicate that you have some work ahead of you.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: assignment hints
It's not a secret anymore!