home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 3 / hamradioversion3.0examsandprograms1992.iso / misc / studyaid / sample.def < prev    next >
Text File  |  1988-08-07  |  6KB  |  345 lines

  1.  
  2.                           Sample Q&ASA Database
  3.  
  4. Q&ASA no longer generates or requires an index file. This file must,
  5. however, be compiled with Q&ASA's database compiler Q&AC.EXE, which 
  6. will create the file SAMPLE.Q&A.
  7.  
  8. This sample database contains questions and answers about Q&ASA. 
  9.  
  10. A Q&ASA database may contain any of the following options.
  11.  
  12. Q=    question on following lines, terminated by a blank line or
  13.     another option.
  14. A=    answer on following lines, terminated by a blank line or
  15.     another option.
  16. N=    quiz name is on next line.
  17. M=    macro definition on following lines, terminated by a blank
  18.     line or another option.
  19. T=    time allowed is on next line in the format HH:MM:SS.
  20. C=    clear NOT allowed. No additional lines.
  21. S=    lock in sequential mode (user cannot change mode).
  22. R=    lock in random mode (user cannot change mode).
  23. F=    output score filename is on next line (no score recording 
  24.     if omitted).
  25. W=    assign weighting. Weight appears as an integer on the next line.
  26.     This weight will be used for all questions following until
  27.     another weight is assigned.
  28.  
  29. In this example database, questions are weighted by type as follows:
  30.     multiple-choice        1 point each    
  31.     true/false (yes/no)    2 points each
  32.     fill-in            3 points each
  33.  
  34. Note that comments are just about free-form. Place them anywhere except
  35. between keywords and their termination.
  36.  
  37. Configuration follows....
  38. -------------------------
  39.  
  40. Set the time limit to 5 minutes.
  41. T=
  42. 5:00
  43.  
  44. Name the database. This name is displayed in Q&ASA's main window.
  45. N=
  46. Sample Database
  47.  
  48. Specify a score file. If it exists, no problem; data will be appended.
  49. F=
  50. Q&ASA.scr
  51.  
  52. These are the 'true' and 'false' macro definitions...
  53. -----------------------------------------------------
  54.  
  55. M=
  56. $FALSE$
  57. False
  58. F
  59. No
  60. N
  61.  
  62. M=
  63. $TRUE$
  64. True
  65. T
  66. Yes
  67. Y
  68.  
  69. The first question follows....
  70. ------------------------------
  71.  
  72. W=
  73. 3
  74.  
  75. Q=
  76.  Fill-in:
  77.  
  78.  Q&ASA requires a maximum of _____ bytes of memory.
  79.  
  80. A=
  81.  128K
  82.  128000
  83.  128,000
  84.  
  85. W=
  86. 1
  87.  
  88. Q=
  89.  Multiple-choice:
  90.  
  91.  How many questions and answers can typically be put in a Q&ASA database?
  92.  
  93.     A. 100
  94.     B. Limited by disk space
  95.     C. 3000
  96.     D. All of the above
  97.     E. None of the above
  98.  
  99. A=
  100.     C. 3000
  101.     C
  102.     3000
  103.  
  104. Q=
  105.  Multiple-choice:
  106.  
  107.  How does Q&ASA determine the correct answer?
  108.  
  109.     1. It knows the answers
  110.     2. By scanning the list of answers in the database and scoring
  111.        "correct" if your answer matches any of these.
  112.     3. By reading your mind
  113. A=
  114.     2. By scanning the list of answers in the database
  115.     2
  116.  
  117. Q=
  118.  Multiple-choice:
  119.  
  120.  What will Q&ASA do if my question won't fit in the 15 screen 
  121.  lines provided?
  122.  
  123.     1. Crash
  124.     2. Truncate the question
  125.     3. Display the question in 'pages'
  126. A=
  127.     2. Truncate the question
  128.     2
  129.     truncate
  130.  
  131. Q=
  132.  Multiple-choice:
  133.  
  134.  Can Q&ASA assign a "weight" to each question?
  135.  
  136.     a. Yes, provided the total weight adds up to 100.
  137.     b. No.
  138.     c. Yes, without restriction.
  139. A=
  140.     c. Yes, without restriction.
  141.     c
  142.  
  143. W=
  144. 2
  145.  
  146. Q=
  147.  True/False:
  148.  
  149.  Is there a way to limit the time allowed to answer all questions?
  150. A=
  151.  $TRUE$
  152.  
  153. W=
  154. 1
  155.  
  156. Q=
  157.  Multiple-choice:
  158.  
  159.  How does Q&ASA save the score?
  160.  
  161.     1. By appending the score information to the file "Q&ASA.SCR".
  162.     2. It creates a score file defined by the "File/Select" command.
  163.     3. By appending the score to the file defined in the database.
  164.     4. Both 1 and 2 above.
  165.     5. None of the above.
  166. A=
  167.     3. By appending the score to the file defined in the database.
  168.     3
  169.  
  170. W=
  171. 2
  172.  
  173. Q=
  174.  True/False
  175.  
  176.  Can I skip questions without answering them and come back to them later?
  177. A=
  178. $TRUE$
  179.  
  180. W=
  181. 1
  182.  
  183. Q=
  184.  Multiple-choice:
  185.  
  186.  How does Q&ASA locate my database?
  187.  
  188.     1. It searches the whole disk
  189.     2. It searches the current directory
  190.     3. It searches the directory specified by the "File/Directory"
  191.        option
  192. A=
  193.     3. It searches the directory specified by "File/Directory"
  194.     3
  195.  
  196. Q=
  197.  Multiple-choice:
  198.  
  199.  How does Q&ASA locate its HELP file?
  200.     1. It searches the whole disk
  201.     2. It searches the current directory
  202.     3. It searches the directory specified by "File/Directory"
  203.     4. It searches all of the directories given by the PATH variable
  204.        5. It will ask for the directory if it cannot find the file.
  205.     6. Both 2 and 4 above
  206.     7. 2, 4, and 5 above
  207.     8. All of the above
  208. A=
  209.     7. It searches the current directory, then the PATH, then asks.
  210.     7
  211.  
  212. W=
  213. 2
  214.  
  215. Q=
  216.  True/False
  217.  
  218.  The name of the database definition file must end with ".Q&A".
  219.  
  220. A=
  221. No. It CANNOT end with ".Q&A". The Q&AC compiler uses this extension!
  222. $FALSE$
  223.  
  224. W=
  225. 1
  226.  
  227. Q=
  228.  Multiple-choice:
  229.  
  230.  The number of correct answers that I can give for a question is
  231.  
  232.     A. Two
  233.     B. Five
  234.     C. Unlimited
  235.     D. Limited by available memory
  236. A=
  237.     D. Limited by available memory
  238.     D
  239.  
  240. W=
  241. 2
  242.     
  243. Q=
  244.  True/False
  245.  
  246.  Can Q&ASA handle an essay question?
  247. A=
  248. $FALSE$
  249.  
  250. W=
  251. 1
  252.  
  253. Q=
  254.  Multiple-choice:
  255.  
  256.  Which of the answers given in the database does Q&ASA display as correct
  257.  if I answer incorrectly?
  258.  
  259.     1. All of them
  260.     2. The last one
  261.     3. The first one
  262. A=
  263.     3. The first one
  264.     First
  265.     3
  266.  
  267. W=
  268. 2
  269.  
  270. Q=
  271.  True/False
  272.  
  273.  Does Q&ASA regard case ("A/a") in an answer as significant?
  274. A=
  275. $FALSE$
  276.  
  277. W=
  278. 1
  279.  
  280. Q=
  281.  Multiple-choice:
  282.  
  283.  What will Q&ASA do if I put tabs in my database?
  284.  
  285.     1. It will crash
  286.     2. It will expand them using 8-column tab stops
  287.     3. It will convert them to blanks
  288. A=
  289.     2. It will expand them using 8-column tab stops
  290.     2
  291.     expand
  292.  
  293. Q=
  294.  Multiple-choice:
  295.  
  296.  How does Q&ASA locate the question/answer tags (Q=, A=) in the database?
  297.  
  298.     1. It looks at the first character of each line
  299.     2. It looks for those characters alone on a line
  300.     3. It assumes 7-line spacing
  301.         A=
  302.     2. It looks for those characters alone on a line
  303.     2
  304.  
  305. W=
  306. 2
  307.  
  308. Q=
  309.  True/False
  310.  
  311.  Is Q&ASA public domain?
  312.  
  313. A=
  314. NO! Q&ASA is SHAREWARE. You are expected to register and pay for its use.
  315. $FALSE$
  316.  
  317. W=
  318. 1
  319.  
  320. Q=
  321.  Multiple-choice
  322.  
  323.  What if I want to change the database file?
  324.  
  325.     1. You may change it any time you wish
  326.     2. You must recompile it using Q&AC.
  327.     3. You cannot change the database
  328. A=
  329.     2. You must recompile it using Q&AC.
  330.     2
  331.  
  332. W=
  333. 2
  334.  
  335. Q=
  336.  True/False
  337.  
  338.  If I type the database to the screen using the DOS command
  339.  "type filename.q&a", can I see the answers?
  340.  
  341. A=
  342. No, the database is encrypted.
  343. $FALSE$
  344.  
  345.