Here is the small program E1.PAS for composing tests on the linear algebra: en1.zip. Do the following steps:
Compile E1.PAS into executable file and run it. This produces two files: VARIANT.TEX and OTVET.TEX.
Handle these files under AmS-TeX package, this gives two files: VARIANT.DVI and OTVET.DVI.
You may view or print these files: VARIANT.DVI and OTVET.DVI, first contains the generated test problems, second contains their solutions.
I have some other algorithms for generating educational tests. However I will not palce them here. They will be included into the integrated server for generating educational tests.