Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raehik/teststore
A program to store & display students, tests, and student test results.
https://github.com/raehik/teststore
Last synced: 11 days ago
JSON representation
A program to store & display students, tests, and student test results.
- Host: GitHub
- URL: https://github.com/raehik/teststore
- Owner: raehik
- Created: 2014-09-15T14:26:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T13:11:55.000Z (about 10 years ago)
- Last Synced: 2024-12-06T21:39:49.485Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 352 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
testStore
=========`testStore` is a set of Java classes designed for storing, accessing and
displaying student test results. Students and tests can be added, edited and
removed at will. Tests can be searched for by name or date set, and you can
display any number of tests of any number of students.API
---### TestDatabase
void setStudentResult(int sId, int tId, int percent)
Set a student's test result to `percent`. If `percent` is not between 0-100, an
`IndexOutOfBoundsException` is thrown.Integer[] getAllStudentIds()
Return an iterable Integer[] array of all active student IDs.Integer[] getAllTestIds()
Return an iterable Integer[] array of all active test IDs.Integer[] getTestIdsInRage(String date1, Stringdate2)
Return an iterable Integer[] array of all the tests between (TODO: inclusive???
two dates in `dd/mm/yy` format.String toGrade(int percent)
Return the string representing the grade the percent is mapped to.