JMU
Lab: Questions about the Collaboration Policy


Instructions: This lab requires you to answer questions about the collaboration policy and how it applies in several hypothetical situations. You must work on this lab with the person sitting next to you (though you must each submit your own answers).

Before beginning, you should read the collaboration section of the course Programming Assignment Policy.

Do not leave when you are done. We will discuss this lab at the end of the lab period.

1. A Compiler Error: Two students in CS139, Sam and Julie, have been working together on lab assignments and have been able to help each other a lot. Programming Assignment 2 is due in another two days and Julie is having a problem. When she compiles her code, she gets the message cannot find symbol. She asks Sam "Do you know what it means when the compiler says it cannot find a symbol?". He says "I had that problem before. It usually means that you haven't declared a variable before using it." Julie looks at her code and see that she has, indeed, forgotten to declare a variable.
  1. Did the students violate the collaboration policy?


  2. Indicate the particular statement in the policy that refers to the situation (if any).


2. More Compiler Errors: Sam is now working on Programming Assignment 3 and he is getting really frustrated with it. When he compiles his code, he keeps getting pages of error messages. He asks Julie for help. She says, "Scroll up to the first error and try to fix that one. I've had that problem before and sometimes one error causes a bunch of others." Sam says, "I've got it, it says it cannot find a symbol. But that doesn't make any sense since it's in a declaration". Julie says, "Check to see if you spelled anything wrong".
  1. Did the students violate the collaboration policy?


  2. Indicate the particular statement in the policy that refers to the situation (if any).


3. Still More Compiler Errors: Sam looks, but can't find a problem. He asks Julie to take a look. She looks at the errors and says, "scroll up". Sam scrolls up and Julie notices that the error message says he's mistyped double as doubl. She points to this message and says, "Sam, you've mistyped double". Sam corrects this error and now when he compiles the program, he has only 3 minor errors that he can correct himself.
  1. These students violated the collaboration policy. Indicate the particular statement in the policy that refers to this situation.


  2. Who was harmed by the action?


  3. What should the consequence be for this inappropriate collaboration? In other words, in your opinion, should the student be referred to the Honor Council for adjudication; should there be a grade penalty for this assignment; should there be a grade penalty for the course; or should another penalty be imposed?


4. Problems Getting Started: Matt and Jim are friends and are in two different sections of CS139. A programming assignment has been assigned, but they have delayed getting started with it, and it seems really difficult now that they are looking at the specifications. They talk about the assignment to make sure they both understand what needs to be done and while they are talking, Matt says, "I think I know how we can do this. There was an example similar to this in Chapter 4 of the textbook." They both look at the book and discuss a few differences between the assignment and the book example along with some added code that needs to be written to meet the specification of the assignment. Then because they are trying to be really careful about collaboration, Matt goes to the lab to work on his program while Jim goes to his room to right the Java code to solve the problem.
  1. Did the students violate the collaboration policy?


  2. Indicate the particular statement in the policy that refers to the situation (if any).


  3. If they violated the collaboration policy, who was harmed by the action?


  4. In this situation, what's the difference (from an educational perspective) between requesting help from the Professor/Instuctor and help from a fellow student or friend?


5. Logic Errors: You are working on a program and no matter what you input, your result is 0. You have looked at everything, but can't figure out where your problem is. On your floor in the dorm is another student taking this class. You go to her room and ask for help. She says, "Have you tried printing out all of your variables in the formula? Sometimes it helps to see the subtotals and constants. You should also echo your input to make sure what you are entering is stored correctly. Good luck." You return to your room and continue working, finding that in fact you had not stored the input value in the right variable.
  1. Did either of you violate the collaboration policy?


  2. Indicate the particular statement in the policy that refers to the situation (if any).


6. Testing Woes: Nancy is working late at night on a Programming Assignment for CS 139. She has gotten it to work pretty well but her code keeps failing the second test and she can't figure out why. There is no lab assistant available, and the last day she can submit the program is tomorrow. She sees another student, Liz, and asks her if he has finished the assignment. Liz says she has. Nancy describes the results of the submit test and ask Liz if she has any idea about what could have caused it. Liz says that it sounds like a problem that she had and she describes what she did to fix it. Nancy goes back to her code and sees that she had the same problem. When she fix the problem, her program passes the tests.
  1. This is a violation of the collaboration policy. Indicate the particular statement in the policy that refers to the situation (if any).


  2. What should the consequence be for this inappropriate collaboration? In other words, in your opinion, should the student(s) be referred to the Honor Council; should there be a grade penalty for this assignment; should there be a grade penalty for the course; or should another penalty be imposed?


Copyright 2013