home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / qasa50.zip / SAMPLE.DEF < prev    next >
Text File  |  1994-09-06  |  21KB  |  784 lines

  1.                           Sample QASA Database
  2.  
  3. This file must be compiled with QASA's database compiler, which will
  4. create the file SAMPLE.QA.
  5.  
  6. This sample database contains questions and answers about QASA.
  7.  
  8. A QASA database may contain any of the following options. Any line
  9. not part of one of the following options is considered to be a comment,
  10. which is why this explanatory text may appear here. All of these options
  11. MUST appear alone on a line. The text below is ignored because other text
  12. appears on the line containing each option keyword.
  13.  
  14. Q=    question on following lines, terminated by a blank line or
  15.     another option.
  16. A=    answer on following lines, terminated by a blank line or
  17.     another option.
  18. H=      explanatory help text for preceding question/answer is on the
  19.     following lines, terminated by a blank line or another
  20.     option.
  21. P=    strip all punctuation from following answer list.
  22. N=    quiz name is on next line.
  23. M=    macro definition on following lines, terminated by a blank
  24.     line or another option.
  25. T=    time allowed is on next line in the format HH:MM:SS.
  26. C=    clear NOT allowed. No additional lines.
  27. S=    lock in sequential mode (user cannot change mode). No additional
  28.     lines.
  29. R=    lock in random mode (user cannot change mode). No additional
  30.     lines.
  31. F=    output score filename is on next line (no score recording
  32.     if omitted).
  33. E=    encrypt score file.
  34. W=    assign weighting. Weight appears as an integer on the next line.
  35.     This weight will be used for all questions following until and
  36.     unless another weight is assigned.
  37. D=    disable display of correct answers if answer is incorrect. No
  38.     additional lines.
  39. G=      define letter grade equivalency list or disable display of
  40.     letter grades during execution. To disable letter grade
  41.     display, the following line should contain "OFF" only. Otherwise,
  42.     any number of following lines contain the grade equivalencies
  43.     in the form <score>=<letter grade>.
  44. L=      limit the number of questions to a subset of the total number of
  45.         questions in the database. The number of questions in the subset
  46.         is specified on the following line.
  47. O=      omit the questions in the subset at compile time. Ignored without
  48.         the L= keyword. If L= is given without O=, then the subset will
  49.         be selected at run-time, giving a different subset each time the
  50.         database is run. If O= is given with L=, then the subset will be
  51.         determined by the compiler and the database will be the same each
  52.         time the program is run.
  53. V=    view literal answers. Causes first five (or fewer) characters of
  54.     the asnswer the user keyed in to be included in the score file
  55.     point matrix. This is BEFORE any preprocessing with the exception
  56.     that leading blanks are skipped.
  57. I=    Ignore character
  58. K=    Keep adminstrator's name (request it and record it in the score
  59.     file). No effect if score file not used.
  60.  
  61. In this sample database, questions are weighted by type as follows:
  62.     multiple-choice        1 point each
  63.     true/false (yes/no)    2 points each
  64.     fill-in            3 points each
  65.  
  66. Again, note that comments are just about free-form. Place them anywhere
  67. except between option keywords and their termination. QASA will discard
  68. all comment text as it compiles this file, so you are not penalized for
  69. commenting your databases.
  70.  
  71. The sample database configuration follows....
  72.  
  73. ==========================================================================
  74.  
  75. If this character appears in column 1, ignore it (skip over it)
  76. but do not count the line as blank. This allows spacing lines in
  77. explanatory help text. Do not use anywhere else.
  78. ---------------------------------------------------------------------
  79. I=
  80. *        (This is the default. To disable ignore, leave this line blank.)
  81.  
  82. Set the time limit to 10 minutes.
  83. ---------------------------------
  84. T=
  85. 10:00
  86.  
  87. Name the database. This name is displayed in QASA's main window.
  88. ----------------------------------------------------------------
  89. N=
  90. QA Study Aid Sample Database
  91.  
  92. Specify a score file. If it already exists, score data will be
  93. appended. Otherwise, a new file will be created using this name.
  94. ----------------------------------------------------------------
  95. F=
  96. sample.scr
  97.  
  98. Specify that we want the score file to contain literally what the user
  99. entered for each answer. This allows an analysis of consistently
  100. incorrect answers.
  101. ----------------------------------------------------------------------
  102. V=
  103.  
  104. To specify that we want the score file to contain the name of the
  105. test administrator (and therefore to prompt for it), use the K=
  106. option. This only has an effect if a score file name is specified.
  107. ------------------------------------------------------------------
  108. K=
  109.  
  110. Limit the number of questions to a random 25 out of the total of 30,
  111. and omit the "O=" switch (causes the choice to be made at run time).
  112. --------------------------------------------------------------------
  113. L=
  114. 25
  115. O= turned off
  116.  
  117. These are the 'true' and 'false' macro definitions...
  118. -----------------------------------------------------
  119.  
  120. M=
  121. $TRUE$
  122. True
  123. T
  124. Yes
  125. Y
  126.  
  127. M=
  128. $FALSE$
  129. False
  130. F
  131. No
  132. N
  133.  
  134. Define the letter grade equivalency list. The last line (59.99) causes
  135. the letter grade display to be omitted until the user achieves a score
  136. of at least 59.99. Set this to 0 to always display the letter grade.
  137. ----------------------------------------------------------------------
  138.  
  139. G=
  140. 95    = A+
  141. 90    = A
  142. 85    = A-
  143. 83    = B+
  144. 80    = B
  145. 75    = B-
  146. 73    = C+
  147. 70    = C
  148. 67    = C-
  149. 65    = D+
  150. 63    = D
  151. 60    = D-
  152. 59.99 = F
  153.  
  154. If we wanted to turn off the display of letter grades so the letter
  155. grade would be shown only when the quiz was completed and in the
  156. score file (if defined), then we would use the following:
  157. -------------------------------------------------------------------
  158.  
  159. G=                   [this turns G= into normal text]
  160. OFF
  161.  
  162. ==========================================================================
  163.  
  164. The first question follows, with a weight of 3.
  165. -----------------------------------------------
  166.  
  167. W=
  168. 3
  169.  
  170. Ignore all punctuation in the answer.
  171. -------------------------------------
  172. P=
  173.  
  174. Q=
  175.  1. Fill-in
  176.  
  177.  QASA requires a minimum of _____ bytes of memory.
  178.  
  179. A=
  180.  QASA requires at least 220K of memory.
  181.  220000
  182.  220K
  183.  220KB
  184.  220 K
  185.  220 KB
  186. H=
  187. *
  188.  QASA uses about 220KB with no database loaded.
  189.  
  190. ==========================================================================
  191.  
  192. Now the weighting is changed to 1 before multiple-choice questions.
  193. -------------------------------------------------------------------
  194.  
  195. W=
  196. 1
  197.  
  198. P=
  199.  
  200. Q=
  201.  2. Multiple-choice
  202.  
  203.  How many questions and answers can typically be put in a QASA
  204.  database, assuming your computer has 620K bytes of free memory
  205.  when QASA is started?
  206.  
  207.     A. 1000
  208.     B. Limited by disk space
  209.     C. 20,000
  210.     D. All of the above
  211.     E. None of the above
  212.  
  213. A=
  214.     C. 20,000. Each question requires 10 bytes of memory.
  215.     C
  216.     20K
  217.     20000
  218.  
  219. H=
  220. *
  221.  QA Study Aid uses about 220KB of memory without a database
  222.  loaded. 640K less 220K leaves 400K free for the database.
  223.  Since each question requires 20 bytes of memory, QASA can
  224.  work with up to 20,000 questions in a single database!
  225.  
  226. ==========================================================================
  227.  
  228. Q=
  229.  3. Multiple-choice
  230.  
  231.  How does QASA determine the correct answer?
  232.  
  233.     1. It knows the answers
  234.     2. By scanning the list of answers in the database and scoring
  235.        "correct" if your answer matches any of them.
  236.     3. By reading your mind
  237. A=
  238.     2. By scanning the list of answers in the database
  239.     By checking for matches.
  240.     2
  241.     Scanning
  242.     Matching
  243.  
  244. ==========================================================================
  245.  
  246. Q=
  247.  4. Multiple-choice
  248.  
  249.  What will QASA do if my question won't fit in the 15 screen
  250.  lines provided?
  251.  
  252.     1. Crash
  253.     2. Truncate the question
  254.     3. Display the question in 'pages'
  255. A=
  256.     2. Truncate the question
  257.     2
  258.     truncate
  259.  
  260. ==========================================================================
  261.  
  262. Q=
  263.  5. Multiple-choice
  264.  
  265.  Can QASA assign a "weight" to each question?
  266.  
  267.     a. Yes, provided the total weight adds up to 100.
  268.     b. No.
  269.     c. Yes, without restriction.
  270. A=
  271.     c. Yes, without restriction.
  272.     c
  273.  
  274. Provide some help if the user gets the previous question wrong...
  275. Note the asterisk (specified by I=) to get a spacing line.
  276. -----------------------------------------------------------------
  277. H=
  278. *
  279.  QASA allows you to assign an arbitrary weight to each question.
  280.  The total weights are summed and adjusted so that all of the
  281.  individual weights will equal 100 when the adjusted amounts
  282.  are summed. This means you can add questions at any time and
  283.  the relative weight of all questions will remain the same.
  284.  
  285.  This is NOT part of the above text because a blank line separates
  286.  it. Use the character specified by the Ignore option "I=" (which
  287.  is an '*' in this sample database) to cause a blank line to be
  288.  ignored; e.g., link paragraphs.
  289.  
  290. ==========================================================================
  291.  
  292. Change the weight to 2 for "true/false".
  293. ----------------------------------------
  294.  
  295. W=
  296. 2
  297.  
  298. Q=
  299.  6. True/False
  300.  
  301.  There is a way to limit the time allowed to answer all questions.
  302. A=
  303.  $TRUE$
  304.  
  305. ==========================================================================
  306.  
  307. And back to 1 again for multiple-choice.
  308. ----------------------------------------
  309.  
  310. W=
  311. 1
  312.  
  313. Q=
  314.  7. Multiple-choice
  315.  
  316.  How does QASA save the score?
  317.  
  318.     1. By appending the score information to the file "QASA.SCR".
  319.     2. It creates a score file defined by the "File/Load" command.
  320.     3. By appending the score to the file defined in the database.
  321.     4. Both 1 and 2 above.
  322.     5. None of the above.
  323. A=
  324.     3. By appending the score to the file defined in the database.
  325.     3
  326. H=
  327. *
  328.  You may optionally define a score file, which may be on a network
  329.  drive. If you do so, all score data will be appended to that file.
  330.  You may also elect to encrypt the data to remove any temptation to
  331.  modify the file or to view someone else's answers.
  332.  
  333. ==========================================================================
  334.  
  335. W=
  336. 2
  337.  
  338. Q=
  339.  8. True/False
  340.  
  341.  The score file can be exported so that it can be used with other
  342.  programs, such as database and spreadsheet programs.
  343. A=
  344. $TRUE$
  345.  
  346. ==========================================================================
  347.  
  348. W=
  349. 2
  350.  
  351. Q=
  352.  9. True/False
  353.  
  354.  I can skip questions without answering them and come back to them later.
  355. A=
  356. $TRUE$
  357. H=
  358. *
  359.  By pressing the "Esc" key, you can move on to the next question
  360.  in the sequence. QASA will remember that you have skipped the
  361.  question and will come back to it sometime later.
  362.  
  363. ==========================================================================
  364.  
  365. W=
  366. 1
  367.  
  368. Q=
  369.  10. Multiple-choice
  370.  
  371.  If letter grades are assigned, how do they correspond to the score?
  372.  
  373.     a. In multiples of 5, where 95 is "A", 90 is "B", and so on.
  374.     b. Without restriction, using any grade equivalencies you choose.
  375.     c. Letter grades are not supported.
  376. A=
  377.  b. Without restriction, using any grade equivalencies you choose.
  378.  b
  379.  b.
  380. H=
  381. *
  382.  You create list of equivalents relative to a percentage score.
  383.  QASA does not care what you use; 90% or better could result in
  384.  a score of "Poised and Graceful".
  385.  
  386. ==========================================================================
  387.  
  388. W=
  389. 1
  390.  
  391. Q=
  392.  11. Multiple-choice
  393.  
  394.  How does QASA locate my database?
  395.  
  396.     1. It searches the whole disk
  397.     2. It searches the current directory
  398.     3. It searches the directory specified in the "File/Load" command.
  399. A=
  400.     3. It searches the directory specified by "File/Load"
  401.     3
  402.  
  403. ==========================================================================
  404.  
  405. W=
  406. 1
  407.  
  408. Q=
  409.  12. Multiple-choice
  410.  
  411.  How does QASA locate its HELP file?
  412.     1. It searches the whole disk.
  413.     2. It searches the current directory.
  414.     3. It searches the directory specified by the "File/Load" command.
  415.     4. It searches all of the directories given by the PATH variable.
  416.        5. It will ask for the directory if it cannot find the file.
  417.     6. Both 2 and 4 above
  418.     7. 2, 4, and 5 above
  419.     8. All of the above
  420. A=
  421.     7. It searches the current directory, then the PATH, then asks.
  422.     7
  423.  
  424. ==========================================================================
  425.  
  426. W=
  427. 2
  428.  
  429. Q=
  430.  13. True/False
  431.  
  432.  QASA is distributed with features turned off to provide
  433.  an incentive to register the program.
  434. A=
  435. NO! The ASP forbids this practice, but you are required to register.
  436. $FALSE$
  437.  
  438. ==========================================================================
  439.  
  440. W=
  441. 2
  442.  
  443. Q=
  444.  14. True/False
  445.  
  446.  The name of the database definition file must end with ".QA".
  447.  
  448. A=
  449. No! It CANNOT end with ".QA". The QASA compiler uses this extension!
  450. $FALSE$
  451.  
  452. ==========================================================================
  453.  
  454. W=
  455. 1
  456.  
  457. Q=
  458.  15. Multiple-choice
  459.  
  460.  The number of correct answers that I can give for a question is
  461.  
  462.     A. Two
  463.     B. Five
  464.     C. Unlimited
  465.     D. Limited by available memory
  466. A=
  467.     D. Limited by available memory, but essentially unlimited.
  468.     D
  469. H=
  470. *
  471.  Try to imagine an answer list of significant size - say, 4000
  472.  characters. If you can imagine that, you might imagine a more
  473.  effective way to phrase the question.
  474.  
  475. ==========================================================================
  476.  
  477. W=
  478. 1
  479.  
  480. Q=
  481.  16. Multiple-choice
  482.  
  483.  How much memory will QASA use?
  484.  
  485.     1. As much as is available below 640K.
  486.     2. All memory, including Extended (XMS) and Expanded (EMM) memory.
  487.     3. Two full 64K frames.
  488.     4. All of the above.
  489.     5. None of the above.
  490. A=
  491.  1. As much as is available below 640K.
  492.  1
  493.  
  494. ==========================================================================
  495.  
  496. W=
  497. 2
  498.  
  499. Q=
  500.  17. True/False
  501.  
  502.  QASA can handle an essay question.
  503. A=
  504. No. Scoring an essay question would require language interpretation.
  505. $FALSE$
  506. H=
  507. *
  508.  QASA would not be able to score an essay question (wait about
  509.  ten more years...). The best it would be able to do would be
  510.  some type of pattern matching technique, which would, in effect,
  511.  require YOU to create some horribly complicated set of expression
  512.  and grammar rules that would probably be wrong most of the time.
  513.  As you are doubtless aware, grammar checkers are amazingly
  514.  accurate.
  515. *
  516.  Beyond that, an essay answer could be stored for later grading by
  517.  manual means. Automated scoring is one of the primary benefits
  518.  of computer-based testing. You can retain this benefit by avoiding
  519.  essay questions.
  520.  
  521. ==========================================================================
  522.  
  523. Note that with an assigned weight of zero, this question will not
  524. penalize the user if answered incorrectly...
  525. -----------------------------------------------------------------
  526. W=
  527. 0
  528.  
  529. Q=
  530.  18. Multiple-choice
  531.  
  532.  Where is the password stored that enables access to the score file?
  533.  
  534.     A. In the configuration file QASA.CFG.
  535.     B. In the help file QASA.HLP.
  536.     C. In a hidden file on disk.
  537.     D. Both A and C above.
  538.     E. None of the above.
  539. A=
  540. Sorry, there is no correct answer to this question!
  541. H=
  542. *
  543.  No, this isn't a trick question. But it shows that YOU are
  544.  in control!
  545.  
  546. ==========================================================================
  547.  
  548. W=
  549. 1
  550.  
  551. Q=
  552.  19. Multiple-choice
  553.  
  554.  Which of the answers given in the database does QASA display as correct
  555.  if I answer incorrectly?
  556.  
  557.     1. All of them
  558.     2. The last one
  559.     3. The first one
  560. A=
  561.     3. The first one
  562.     First
  563.     3
  564.     1st
  565.  
  566. ==========================================================================
  567.  
  568. W=
  569. 2
  570.  
  571. Q=
  572.  20. True/False
  573.  
  574.  QASA regards case ("A/a") in an answer as significant.
  575. A=
  576. $FALSE$
  577. H=
  578. *
  579.  QASA regards punctuation (optionally) as significant, but it
  580.  is not case-sensitive.
  581.  
  582. ==========================================================================
  583.  
  584. W=
  585. 1
  586.  
  587. Q=
  588.  21. Multiple-choice
  589.  
  590.  What will QASA do if I put tabs in my database?
  591.  
  592.     1. It will crash
  593.     2. It will expand them using 8-column tab stops
  594.     3. It will convert them to blanks
  595. A=
  596.     2. The QASA compiler will expand them using 8-column tab stops.
  597.     2
  598.     expand
  599.  
  600. ==========================================================================
  601.  
  602. Q=
  603.  22. Multiple-choice
  604.  
  605.  How does QASA locate the keyword tags (e.g., Q=, A=) in the database?
  606.  
  607.     1. It looks at the first character of each line
  608.     2. It looks for those characters alone on a line
  609.     3. It assumes 7-line spacing
  610.         A=
  611.     2. It looks for those characters alone on a line
  612.     2
  613.  
  614. ==========================================================================
  615.  
  616. W=
  617. 2
  618.  
  619. Q=
  620.  23. True/False
  621.  
  622.  QASA is public domain, or 'freeware'.
  623.  
  624. A=
  625. NO! QASA is SHAREWARE. If you use it, you must pay the registration fee.
  626. $FALSE$
  627.  
  628. ==========================================================================
  629.  
  630. W=
  631. 1
  632.  
  633. Q=
  634.  24. Multiple-choice
  635.  
  636.  What if I want to change the database file?
  637.  
  638.     1. You may change it any time you wish.
  639.     2. You must recompile it.
  640.     3. You cannot change the database.
  641. A=
  642.     2. You must recompile it using the QASA compiler.
  643.     2
  644.  
  645. ==========================================================================
  646.  
  647. W=
  648. 2
  649.  
  650. Q=
  651.  25. True/False
  652.  
  653.  If I type the database to the screen using the DOS command
  654.  "type filename.qa", I can see the answers.
  655.  
  656. A=
  657. No, the database is encrypted for just this reason.
  658. $FALSE$
  659.  
  660. ==========================================================================
  661.  
  662. W=
  663. 2
  664.  
  665. Q=
  666.  26. True/False
  667.  
  668.  QASA can be used to measure a teacher's effectiveness.
  669.  
  670. A=
  671. Yes, by storing the administrator's name in the score file also.
  672. $TRUE$
  673.  
  674. H=
  675. *
  676.  Using the K= option (in conjunction with F= to save the score in
  677.  a file), you can cause QASA to prompt for the quiz administrator's
  678.  name as well as the name of the student. Over a statistically
  679.  valid number of quizzes, the effectiveness of two or more teachers
  680.  can be compared. The ability to export the score files to a
  681.  spreadsheet program makes this an easy problem to solve with QASA.
  682.  
  683. ==========================================================================
  684.  
  685. W=
  686. 2
  687.  
  688. Q=
  689.  27. True/False
  690.  
  691.  QASA cannot support score files on a network server.
  692.  
  693. A=
  694. QASA can operate just fine on a network.
  695. $FALSE$
  696. H=
  697. *
  698.  If the F= keyword defines a score file on a network drive,
  699.  QASA will lock the file to prevent corruption by other users
  700.  taking tests with QASA. The SHARE.EXE program must be loaded,
  701.  but QASA will warn you if it's needed but absent.
  702.  
  703. ==========================================================================
  704.  
  705. W=
  706. 1
  707.  
  708. Q=
  709.  28. Multiple-choice
  710.  
  711.  I can sell the QA.EXE program with my accounting training
  712.  videotape (for example) if
  713.  
  714.  a. I pay a royalty for each copy sold
  715.  b. I cannot sell someone else's work
  716.  c. I purchase a distribution license
  717.  d. I register the program
  718. A=
  719. I can sell my own training courses with a distribution license.
  720. c
  721. H=
  722. *
  723.  See the documentation file QASA regarding distribution of the
  724.  QA interpreter. With a distribution license, Quid Pro Quo
  725.  Software gives you the right to package the interpreter and
  726.  sell it as you see fit, EXCEPT modify it, represent it as your
  727.  own work, or state or imply any type of ownership rights to
  728.  the program. You cannot, of course, distribute the compiler
  729.  QASA.EXE to anyone.
  730.  
  731. ==========================================================================
  732.  
  733. W=
  734. 2
  735.  
  736. Q=
  737.  29. True/False
  738.  
  739.  Quid Pro Quo Software accepts credit cards.
  740.  
  741. A=
  742. Yes, you can register with VISA or Mastercard.
  743. $TRUE$
  744.  
  745. ==========================================================================
  746.  
  747. P=
  748.  
  749. W=
  750. 3
  751.  
  752. Q=
  753.  30. Fill-In
  754.  
  755.  I can register my cop(ies) of QA Study Aid by phone, mail, and ______.
  756.  
  757. A=
  758. Encrypted Electronic Mail
  759. E-Mail
  760. Bulletin Boards
  761. BBS
  762. BBS System
  763. BBS Systems
  764. Messages
  765. Message
  766. H=
  767. *
  768.  You can register electronically by filling out the electronic
  769.  registration form built into QA Study Aid, supplying your
  770.  credit card information, and generating an encrypted electronic
  771.  mail message (of course, QA Study Aid does all of this for you).
  772. *
  773.  We're interested in protecting your credit card information as
  774.  much as you are, so we allow you to register using E-Mail via
  775.  CompuServe or the Internet. ONLY Quid Pro Quo Software can read
  776.  a registration you send by uploading the encrypted registration
  777.  message. We'll reply with your registration number.
  778.  
  779. ==========================================================================
  780.  
  781. End of sample database.....
  782. ---------------------------
  783.  
  784.