473,586 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to organize orthogonal and non-orthogonal subsets?

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

--
Running MS Office 2000 Pro on Win2000
Sep 19 '06 #1
4 1678
A reply from tablesdesign couldn't find comp.databases. ms-access

To my Access centric thinking, your schema sounds correct. Assuming
that the other program is cast in concrete, you have to find a way to
get information to the other program in such a was that it will
interpret it and respond to with information you can correctly
interpret.

Please post back with more details:

List your relevant tables and fields.

It is of particular interest how you "assign each subset a unique
SubjectID and pass the tracking utility a list of the subjects
selected by the user".

Exactly what information is returned to you? How is it derived? Do
you have any control over it? What relevant configuration options do
you have in the other program (I really don't want to get too much
into analyzing that other program but put in everything you think is
relevant).

By the way, have you contacted the manufacturers of that other program
(give us its name) of the grief its limitations cause you. Maybe they
have some sort of "modal" switch you can pass it. If they put a
disclaimer in their product literature about this issue you are SOL
there.

Your solution may lie in the data you put together to send in order to
generate the correct results. If your schema is already correct it's
unlikely to involve altering the schema.

HTH
--
-Larry-
--

"LurfysMa" <in*****@invali d.invalidwrote in message
news:vd******** *************** *********@4ax.c om...
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

--
Running MS Office 2000 Pro on Win2000


--
-Larry-
--

"LurfysMa" <in*****@invali d.invalidwrote in message
news:vd******** *************** *********@4ax.c om...
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

--
Running MS Office 2000 Pro on Win2000

Sep 19 '06 #2
To my Access centric thinking, your schema sounds correct. Assuming
that the other program is cast in concrete, you have to find a way to
get information to the other program in such a was that it will
interpret it and respond to with information you can correctly
interpret.

Please post back with more details:

List your relevant tables and fields.

It is of particular interest how you "assign each subset a unique
SubjectID and pass the tracking utility a list of the subjects
selected by the user".

Exactly what information is returned to you? How is it derived? Do
you have any control over it? What relevant configuration options do
you have in the other program (I really don't want to get too much
into analyzing that other program but put in everything you think is
relevant).

By the way, have you contacted the manufacturers of that other program
(give us its name) of the grief its limitations cause you. Maybe they
have some sort of "modal" switch you can pass it. If they put a
disclaimer in their product literature about this issue you are SOL
there.

Your solution may lie in the data you put together to send in order to
generate the correct results. If your schema is already correct it's
unlikely to involve altering the schema.

HTH
--
-Larry-
--

"LurfysMa" <in*****@invali d.invalidwrote in message
news:vd******** *************** *********@4ax.c om...
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

--
Running MS Office 2000 Pro on Win2000

Sep 19 '06 #3
On Tue, 19 Sep 2006 16:14:02 -0700, "Larry Daugherty"
<La************ ********@verizo n.netwrote:
>To my Access centric thinking, your schema sounds correct. Assuming
that the other program is cast in concrete, you have to find a way to
get information to the other program in such a was that it will
interpret it and respond to with information you can correctly
interpret.

Please post back with more details:

List your relevant tables and fields.
I don't have the tables worked out just yet. I'll work on it and post
them.
>It is of particular interest how you "assign each subset a unique
SubjectID and pass the tracking utility a list of the subjects
selected by the user".
There are two databases: (1) the subjects database that has all of the
study material. (2) the tracking database used by the tracking
utility. In the subjects database, there is a master subjects table
with an autonum primary key. That's the unique subjectid. That id (or
list of ids) is passed to the tracking utility.
>Exactly what information is returned to you?
The tracking utility returns a list of the items that need to be
redrilled.
>How is it derived?
Simple statistics: number of tries, number right.
>Do you have any control over it?
Yes, I wrote it. I have total control.
>What relevant configuration options do
you have in the other program (I really don't want to get too much
into analyzing that other program but put in everything you think is
relevant).
I can change the tracking utility any way I want, but the interface it
the way I want it to be for other reasons.
>By the way, have you contacted the manufacturers of that other program
(give us its name) of the grief its limitations cause you. Maybe they
have some sort of "modal" switch you can pass it. If they put a
disclaimer in their product literature about this issue you are SOL
there.

Your solution may lie in the data you put together to send in order to
generate the correct results. If your schema is already correct it's
unlikely to involve altering the schema.

HTH
--
-Larry-

--
Running MS Office 2000 Pro on Win2000
Sep 20 '06 #4

You need to be able to pass another term for the subsets you are
trying to isolate and the Utility side needs to receive it and may
need to respond with sufficient identifiers that the item report is
unambiguous. Those SAT, GRE, etc. subsets represent a very real part
of the hierarchy of your data.

The long and the short of it is that you need to be able to pass a
term for each level of the hierarchy on the sending side that you
intend to track. The receiving side needs to be able to handle them
all and to respond in kind or at least in a way that is unambiguous to
the database you are creating.

All the rest is the details of getting it done. Implicitly, the bits
of the solution lie on each side of the current interface. I don't
know your complete application nor your reasons for wanting to leave
the existing interface alone.

Please post back with what you decide. If it's a long time in the
future, decode my email address and drop me a line. I am interested.
As I write this I should be busy instead working on a Test Generator
application for my daughter.

HTH
--

--
-Larry-
--

"LurfysMa" <in*****@invali d.invalidwrote in message
news:49******** *************** *********@4ax.c om...
On Tue, 19 Sep 2006 16:14:02 -0700, "Larry Daugherty"
<La************ ********@verizo n.netwrote:
To my Access centric thinking, your schema sounds correct.
Assuming
that the other program is cast in concrete, you have to find a way
to
get information to the other program in such a was that it will
interpret it and respond to with information you can correctly
interpret.

Please post back with more details:

List your relevant tables and fields.

I don't have the tables worked out just yet. I'll work on it and
post
them.
It is of particular interest how you "assign each subset a unique
SubjectID and pass the tracking utility a list of the subjects
selected by the user".

There are two databases: (1) the subjects database that has all of
the
study material. (2) the tracking database used by the tracking
utility. In the subjects database, there is a master subjects table
with an autonum primary key. That's the unique subjectid. That id
(or
list of ids) is passed to the tracking utility.
Exactly what information is returned to you?

The tracking utility returns a list of the items that need to be
redrilled.
How is it derived?

Simple statistics: number of tries, number right.
Do you have any control over it?

Yes, I wrote it. I have total control.
What relevant configuration options do
you have in the other program (I really don't want to get too much
into analyzing that other program but put in everything you think
is
relevant).

I can change the tracking utility any way I want, but the interface
it
the way I want it to be for other reasons.
By the way, have you contacted the manufacturers of that other
program
(give us its name) of the grief its limitations cause you. Maybe
they
have some sort of "modal" switch you can pass it. If they put a
disclaimer in their product literature about this issue you are SOL
there.

Your solution may lie in the data you put together to send in order
to
generate the correct results. If your schema is already correct
it's
unlikely to involve altering the schema.

HTH
--
-Larry-


--
Running MS Office 2000 Pro on Win2000

Sep 20 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
11062
by: Bruce W...1 | last post by:
I've been learning about PHP for a couple of weeks. With includes, PHP scripts, and HTML I can see where a large and complex website could easily turn in to a big hairy mess with files all over the place. Are there any adopted standards, recognized recommendations, or best practices on how all the code should be organized? I haven't found...
3
2277
by: _andrea | last post by:
I'd like to write a web-application with other people. It is the first time I write code together other person. I'd like to ask you some advices: 1)have an advice? 2)wich program to use for VCS (for windows)? 3)how to organize the work? Thank you in advance, Andrea.
8
2430
by: Andy | last post by:
Hi, all I am trying to design a parser for C program using C++. Currently what I did for syntax tree is to design a class for each nontermials in the grammar, and use inherentance to link them. For example, as for the expression part, the classes are something like the follows: ..... class MultiplicativeExpr : public AdditiveExpr {
4
2353
by: cirano | last post by:
Here is an example http://free.prohosting.com/iskrica/ Originally, this page is close to 1.5Mb but it was compressed with javascript. Any idea how to make it smaller (some automatic chunking software?) or even searcheable (by sex, age, etc...)?
10
9906
by: TokiDoki | last post by:
Hello there, I have been programming python for a little while, now. But as I am beginning to do more complex stuff, I am running into small organization problems. It is possible that what I want to obtain is not possible, but I would like the advice of more experienced python programmers. I am writing a relatively complex program in...
1
1927
by: Rudderius | last post by:
Hey, I'm working on a winform app in VS 2005. I'm wondering if someone knows some best practices on how to organize the toolstrips. I have a menuToolStrip and some other toolstrips. As in many apps, the functionality of the toolstrip en the menubar overlap. (e.g. cut & copy etc) The commands I'm using for my application are more complex...
1
1122
by: ASP Developer | last post by:
I have a user control with exposed properties. I have about 100 properties. I would like to organize them so they are easier for other programmers to peruse. Is it possible to organize the misc section and add +/- sections to make it easier to read?
6
2196
by: Larry Bud | last post by:
Been working with .net 2 since January, and am in the middle of my first large project. It's becoming obvious that one must organize their code well in a large project to make maintenance easier. So what's your process? Do you stick everything in one Class file? Do you have a separate class file for each "type" of function.. i.e. one...
1
1888
by: Thomas Wittek | last post by:
Hi! Is there any possibility/tool to automatically organize the imports at the beginning of a module? I don't mean automatic imports like autoimp does as I like seeing where my objects/functions really come from. For the same reason I don't like "from foo import *". The downside is that you have a rather verbose import section at the
29
2021
by: pereges | last post by:
By main file, I mean the one which contains the main routine. Can some one please provide suggestions as to how I can improve the organization of main file ? I have just though about a rough skeleton. In my ray tracing project, I have to carry out following task (in sequence) 1. Read the mesh from an ascii file and store it in the mesh...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.