https://github.com/raehik/teststore
A program to store & display students, tests, and student test results.
https://github.com/raehik/teststore
Last synced: 4 months 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 (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T13:11:55.000Z (over 10 years ago)
- Last Synced: 2025-01-13T02:47:23.569Z (6 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.