home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
COMPUSCI
/
QASA53.ZIP
/
DEMO2.DEF
< prev
next >
Wrap
Text File
|
1995-10-14
|
20KB
|
684 lines
Sample QASA Database
This file must be compiled with QASA's database compiler, which will
create the file DEMO2.QA.
This sample database contains questions and answers about QASA.
A QASA database may contain any of the following options. Any line
not part of one of the following options is considered to be a comment,
which is why this explanatory text may appear here. All of these options
MUST appear alone on a line. The text below is ignored because other text
appears on the line containing each option keyword.
Q= question on following lines, terminated by a blank line or
another option.
A= answer on following lines, terminated by a blank line or
another option.
H= explanatory help text for preceding question/answer is on the
following lines, terminated by a blank line or another
option.
P= strip all punctuation from following answer list.
N= quiz name is on next line.
M= macro definition on following lines, terminated by a blank
line or another option.
T= time allowed is on next line in the format HH:MM:SS.
C= clear NOT allowed. No additional lines.
S= lock in sequential mode (user cannot change mode). No additional
lines.
R= lock in random mode (user cannot change mode). No additional
lines.
F= output score filename is on next line (no score recording
if omitted).
E= encrypt score file.
W= assign weighting. Weight appears as an integer on the next line.
This weight will be used for all questions following until and
unless another weight is assigned.
D= disable display of correct answers if answer is incorrect. No
additional lines.
G= define letter grade equivalency list or disable display of
letter grades during execution. To disable letter grade
display, the following line should contain "OFF" only. Otherwise,
any number of following lines contain the grade equivalencies
in the form <score>=<letter grade>.
L= limit the number of questions to a subset of the total number of
questions in the database. The number of questions in the subset
is specified on the following line.
O= omit the questions in the subset at compile time. Ignored without
the L= keyword. If L= is given without O=, then the subset will
be selected at run-time, giving a different subset each time the
database is run. If O= is given with L=, then the subset will be
determined by the compiler and the database will be the same each
time the program is run.
V= view literal answers. Causes first five (or more) characters of
the answer the user keyed in to be included in the score file
point matrix. This is BEFORE any preprocessing with the exception
that leading blanks are skipped.
I= Ignore character
K= Keep administrator's name (request it and record it in the score
file). No effect if score file not used.
X= Sets the length of eXported answers. The length is specified on
the following line. If two numbers are given, separated by a
comma, then the first is the length of answers that are kept
internally, and the optional second number is the length of the
answers that will be exported to the score file. The second
number can never be larger than the first.
In this sample database, questions are weighted by type as follows:
multiple-choice 1 point each
true/false (yes/no) 2 points each
fill-in 3 points each
Again, note that comments are just about free-form. Place them anywhere
except between option keywords and their termination. QASA will discard
all comment text as it compiles this file, so you are not penalized for
commenting your databases.
The sample database configuration follows....
==========================================================================
If this character appears in column 1, ignore it (skip over it)
but do not count the line as blank. This allows spacing lines in
explanatory help text. Do not use anywhere else.
---------------------------------------------------------------------
I=
* (This is the default. To disable ignore, leave this line blank.)
Name the database. This name is displayed in QASA's main window.
----------------------------------------------------------------
N=
QA Study Aid Example Database #2
Specify a score file. If it already exists, score data will be
appended. Otherwise, a new file will be created using this name.
----------------------------------------------------------------
F=
demo2.scr
Specify that we want the score file to contain literally what the user
entered for each answer. This allows an analysis of consistently
incorrect answers.
----------------------------------------------------------------------
V=
Specify that we want the test to be 'blind'; in other words,
disable the display of all scoring information until the test
is completed.
------------------------------------------------------------------
D=
Say that we want to retain at least 30 characters of each answer
internally, but export only 15 characters to the score file.
----------------------------------------------------------------
X=
30,15
These are the 'true' and 'false' macro definitions...
-----------------------------------------------------
M=
$TRUE$
True
T
Yes
Y
M=
$FALSE$
False
F
No
N
Define the letter grade equivalency list. The last line (59.99) causes
the letter grade display to be omitted until the user achieves a score
of at least 59.99. Set this to 0 to always display the letter grade.
----------------------------------------------------------------------
G=
95 = A+
90 = A
85 = A-
83 = B+
80 = B
75 = B-
73 = C+
70 = C
67 = C-
65 = D+
63 = D
60 = D-
59.99 = F
If we wanted to turn off the display of letter grades so the letter
grade would be shown only when the quiz was completed and in the
score file (if defined), then we would use the following:
-------------------------------------------------------------------
G= [this turns G= into normal text]
OFF
==========================================================================
The first question follows, with a weight of 2.
-----------------------------------------------
W=
2
Q=
1. True/False
QASA can be used to measure a teacher's effectiveness.
A=
Yes, by storing the administrator's name in the score file also.
$TRUE$
H=
*
Using the K= option (in conjunction with F= to save the score in
a file), you can cause QASA to prompt for the quiz administrator's
name as well as the name of the student. Over a statistically
valid number of quizzes, the effectiveness of two or more teachers
can be compared. The ability to export the score files to a
spreadsheet program makes this an easy problem to solve with QASA.
==========================================================================
W=
2
Q=
2. True/False
QASA cannot support score files on a network server.
A=
QASA can operate just fine on a network.
$FALSE$
H=
*
If the F= keyword defines a score file on a network drive,
QASA will lock the file to prevent corruption by other users
taking tests with QASA. The SHARE.EXE program must be loaded,
but QASA will warn you if it's needed but absent.
==========================================================================
W=
1
Q=
3. Multiple-choice
I can sell the QA.EXE program with my accounting training
videotape (for example) if
a. I pay a royalty for each copy sold
b. I cannot sell someone else's work
c. I purchase a distribution license
d. I register the program
A=
I can sell my own training courses with a distribution license.
c
H=
*
See the documentation file QASA regarding distribution of the
QA interpreter. With a distribution license, Quid Pro Quo
Software gives you the right to package the interpreter and
sell it as you see fit, EXCEPT modify it, represent it as your
own work, or state or imply any type of ownership rights to
the program. You cannot, of course, distribute the compiler
QASA.EXE to anyone.