home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…ids, Adults, Educational / RocelcoInc-ExploreTheWorldOfSoftware-KidsAdultsEducational-Vol2-Shareware.iso / educate / disk083 / sample.def < prev    next >
Encoding:
Text File  |  1989-08-11  |  7.2 KB  |  368 lines

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