In all you do please remember that being a part of CSCI@HSU means DOING THE RIGHT THING.
- Doing the right thing matters.
- Doing the right thing means developing competence.
- Doing the right thing means living in community.
- Doing the right thing means finding moral, effective, and correct solutions.
- Doing the right thing means honoring God in all we do.
So, do this assignment in a way that demonstrates integrity, develops
competence, is correct, and honors God ... because what we do matters!
In completing this assignment you MAY use/access the following resources:
You may NOT use/access:
- Resources not expressly listed above.
- Source code not provided as part of this assignment and not generated
by CoPilot. (Obviously, this includes, but is not limited to, source code
written by other students whether current or in the past).
- Code-generating tools (other than CoPilot).
Failure to abide by these guidelines will result in a zero for the assignment
and the incident will be reported to the university provost as a violation of
the university academic integrity policy. A second incident of academic
dishonesty (whether from this course or another computer science course) will
result in an F in the course.
The instructions for the assignment are given here: https://youtu.be/dO8AoEqvQX0
Here is a small snippet of the output produced by my program for this assignment:
Reader 'Thread-1' java.nio.file.NoSuchFileException: count.txt
Writer 'Thread-2' created file: count.txt
Writer 'Thread-62' incremented count to: 2
Reader 'Thread-3' says count is: 2
Writer 'Thread-228' incremented count to: 3
. . .
. . .
. . .
Reader 'Thread-971' says count is: 498
Reader 'Thread-999' says count is: 498
Writer 'Thread-988' incremented count to: 499
Writer 'Thread-1000' incremented count to: 500
Reader 'Thread-977' says count is: 500
Prior to the due date you will push your completed work to your repository where
it will be graded. Your program will be graded according the following
criteria:
Correctness/Completeness |
19 |
pts |
Documentation/Conventions |
3 |
pts |
Unit Tests |
6 |
pts |
Version Control |
2 |
pts |
Total |
30 |
pts |
Here are details regarding expectations for each category listed above:
- Correctness/Completeness
- Full credit is earned if the program meets all requirements and if it works correctly without any needed tweaks or modifications.
- Documentation/Conventions
- Full credit is earned if all classes and methods are documented using JavaDoc format and if Java programming conventions are followed. The specific guidelines can be found here: https://hsutx.instructure.com/files/folder/courses_13381?preview=3026424
- Unit Tests
- Full credit is given if every major section of code is covered by unit tests that provide excellent coverage of the functionality of the the program. This may require some refactoring of your code to allow for programmatic measurement of its components.
- Version Control
- Full credit is given if there are a reasonable number of commits throughout the assignment (one commit is not enough) and if those commits have been pushed to your bitbucket account prior to the due date.