L
LurfysMa
I could use some help with a table design problem.
I have an electronic flashcard program. Actually, several of them.
They each rely on a utility program to keep track of the usage
statistics. After each practice session, the utility program tells the
flashcard program which items were learned and whihc need more
practice.
The drill stats are trracked by 3 indices: user, subject, and item.
For example, one of the subjects is the US States, which has
"categories" (subsets) for state capitals, date of admission to the
union, land area, etc. These subsets are orthogonal. That is, each
item is in exactly one subset.
Another subject is vocabulary words. The words are grouped according
to the test the user is studying for: SAT, GRE, GED, LSAT, etc. These
subsets are NOT orthogonal. Most of the words in the GRE subset are
also in the SAT subset.
The subjects with orthogonal subsets are no problem. I just assign
each subset a unique SubjectID and pass the tracking utility a list of
the subjects selected by the user.
The vocabulary subject, with its non-orthogonal subsets has me
stumped.
1. I cannot make eash subset into a subject and assign a unique
SubjectID because the utility program will track the same work in more
than onie place, which will screw up the statistics.
2. I cannot make them all part of the larger group because them the
utility program will not be able to tell them apart. If the user logs
on and asks to study the GRE set, having previously studied the GED
set, when the utility program reports back on which words need study,
it will get them from both groups.
I think I need to make the orthogonal subsets into subjects with
unique SubjectIDs, but call the non-orthogonal subsets something else
(logical subjects) and assign them a unique ID in a different address
space. When I report the results, I use the SubjectID. When I ask for
items that need to be redrilled, I use the other ID field.
Comments or suggestions?
Thanks
I have an electronic flashcard program. Actually, several of them.
They each rely on a utility program to keep track of the usage
statistics. After each practice session, the utility program tells the
flashcard program which items were learned and whihc need more
practice.
The drill stats are trracked by 3 indices: user, subject, and item.
For example, one of the subjects is the US States, which has
"categories" (subsets) for state capitals, date of admission to the
union, land area, etc. These subsets are orthogonal. That is, each
item is in exactly one subset.
Another subject is vocabulary words. The words are grouped according
to the test the user is studying for: SAT, GRE, GED, LSAT, etc. These
subsets are NOT orthogonal. Most of the words in the GRE subset are
also in the SAT subset.
The subjects with orthogonal subsets are no problem. I just assign
each subset a unique SubjectID and pass the tracking utility a list of
the subjects selected by the user.
The vocabulary subject, with its non-orthogonal subsets has me
stumped.
1. I cannot make eash subset into a subject and assign a unique
SubjectID because the utility program will track the same work in more
than onie place, which will screw up the statistics.
2. I cannot make them all part of the larger group because them the
utility program will not be able to tell them apart. If the user logs
on and asks to study the GRE set, having previously studied the GED
set, when the utility program reports back on which words need study,
it will get them from both groups.
I think I need to make the orthogonal subsets into subjects with
unique SubjectIDs, but call the non-orthogonal subsets something else
(logical subjects) and assign them a unique ID in a different address
space. When I report the results, I use the SubjectID. When I ask for
items that need to be redrilled, I use the other ID field.
Comments or suggestions?
Thanks