This page serves as a distribution point for the gateway testing software mentioned in the article
Select this icon to get ordering information
for this book.
The software is distributed as a zip file gateway.zip, in which will be found a spreadsheet file gateway.wk3, a sample TeX file called tests.tex, the file tests.dvi that results from processing the sample TeX file, and a README file that contains, essentially, the text of this web page. Requirements to run this software are any system with plain TeX available and also having available a version of Lotus 123 capable of handling version 3 (wk3) format files. These Lotus 123 versions include 123 for DOS version 3 or higher, 123 for OS/2, 123 for Windows, versions of 123 for UNIX, as well as others. Installation requires someone familiar enough with Lotus 123 to make the minor modifications to the spreadsheet necessary to customize it for the user site. This familiarity need amount to little more than the ability to modify the contents of cells containing labels.
As was mentioned in the article cited above, the reason for designing the software as a 123 spreadsheet outputting a TeX-format file is that the 123/TeX combination is available on so many different platforms.
There is no fee for use of this spreadsheet. This spreadsheet may be used and modified in any way the user sees fit, though we do ask that the resulting spreadsheet be used for academic purposes only and not be included as part of any product or service offered for sale. Both unmodified and modified versions of this spreadsheet may be distributed to others, though we ask that the new users be made aware of the original source and these restrictions. In addition, please notify the author, Bob Megginson, meggin@math.lsa.umich.edu, about your use of the software, both to satisfy his own curiosity about who is using it and so he can notify you of any considerations about its use that might arise after you obtain it.
Though we hope you find this gateway test generator useful, neither the author nor any other body, including the author's employer and the publisher of the above-mentioned article, makes any claim about its functionality and suitability for the use to which you intend to put it.
Select this
icon to obtain the file gateway.zip (42K).
The zip directory for gateway.zip is as follows.
Length Date Time Name ("^" ==> case ------ ---- ---- ---- conversion) 14593 05-06-95 16:30 README 119023 05-06-95 15:43 gateway.wk3 59612 05-06-95 15:44 tests.dvi 46143 05-06-95 15:44 tests.tex ------ ------- 239371 4
As supplied, the spreadsheet creates derivative gateway tests for Calculus I, but it can be modified by changing the question bank as well as the title and other descriptive information for the test in the spreadsheet gateway.wk3. When loaded, the spreadsheet writes TeX code to the file tests.tex for 50 essentially different copies of a seven-question gateway test. The file tests.tex must then be processed by plain TeX to produce the actual tests.
Each repetition of this process results in 50 more gateway tests all essentially different from those produced in earlier runs, assuming reasonable behavior by the gods of probability that do the random selection of questions from the test bank. (However, see the warning below.)
If you wish to view some sample output, unzip the file tests.dvi in gateway.zip and feed the result into your dvi-file viewer or printer. The supplied sample does consist of all 50 pages output by the spreadsheet, so, if printing, you might wish to process only the first few pages.
The spreadsheet contains a list of 140 different questions consisting of functions to be differentiated, of which seven are selected for inclusion on a copy of the gateway test as follows. The first question included on the test is selected at random from the first 20 in the list, the second question is selected at random from the second 20 in the list, and so forth. The selection is done this way so that, while each test is substantially different from every other one, the nature of each of the seven questions on the test is predictable; questions within each batch of 20 will represent variations on a common theme. Each of the questions on a given test will have in front of it the number of the question in the test question data bank, to ease grading when done from an answer key.
The actual structure of the spreadsheet is as follows.
\0
in cell D910 causes the image of
the TeX code in cells A1 through A902 to be written to the file tests.tex,
after which the macro code causes 123 to exit. The file tests.tex is now
ready to be processed by TeX.
Here is how to run the software as supplied. Suggestions are given near the end of this document if you encounter problems.
Of course, you will wish to change the test headings, instructions, and questions. Here is how you can do so.
\a{54.}{$f(x)=\displaystyle{\ln (x^2-3) \over \tan (-x)}$}The
\a
invokes a certain required macro that takes two arguments in
braces. The first is the question number, written here as 54
followed by
a period. It does not matter what you put here as long as it creates a legal TeX
character string, so you can leave out the period if you wish, or duplicate question
numbers (as you would wish to do if duplicating questions to fill out a batch to size
20), or even leave out the question number altogether by just inserting
{}
for this first argument. The second argument in braces is the
question, which in this case is the function to be differentiated. To summarize, on
each line in your question file, you must have the \a
followed by two
arguments in braces, the first of which will be inserted as a question number and the
second as the question. For example, you might have the following as the seventh
question in your list:\a{7.}{Factor $x^2-5x+4$.}
\def\a#1#2{\item{\bf#1}#2\medskip}Put a
\bye
command as the last line in the file. Now process the file
using plain TeX. Correct the file as needed, then be absolutely sure to delete
the first line of the file that you added for this checkout! (For neatness, you
should also delete the line you added with the \bye, but this is not essential.) It
is necessary that the first 140 lines of your file contain only your questions, with
one question per line.
/fit
(File Import Text), then entering
the name of the ASCII file containing your list of questions. If this is done
correctly, then cell A1000 should still be empty, cell A1001 should contain your first
question, cell A1140 should contain your last, and cell A1141 should be empty. If
cell A1141 or cells below it are nonempty, this probably indicates that you had some
garbage lines at the end of your file. This will not hurt anything, since the cells
following A1140 are not used for anything.
You may wish to modify the spreadsheet so that each gateway test has more or fewer than seven questions, or so that more or fewer than 50 copies are printed at one time. This is not at all difficult or time-consuming to do, once you know how the spreadsheet really works. (The gateway tests we construct at the University of Michigan, based on this spreadsheet, have between four and 50 questions, and we print between 10 and 50 copies at once.) If you display the hidden columns B and C and carefully examine the code hidden therein, you will see what is happening, and should be able to make the modifications. The author would be glad to help you if you are really stuck. Contact him at meggin@math.lsa.umich.edu.
CALC
key (usually F9) some number of times n, and make
sure n is different each time you print a batch of tests. So you would probably
press it once for the second batch, twice for the third batch, and so forth. Now
manually execute the macro \0
and proceed as before.
\0
.
Last modified Fri 12 May 1995 11:36 EDT
Bob Megginson