home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / UTILITY / WISPLNG3.ZIP / -MCTEST.WSP < prev    next >
Encoding:
Text File  |  1990-11-24  |  3.9 KB  |  108 lines

  1. -----This line is reserved and typing on it will do you no good, whatsoever.----
  2. {            Multiple choice testing using WISP, an example program.
  3. { Note that wrong choices force the testee to answer the previous question
  4. { again.
  5. BREAK/-117/999                {CTRL-END
  6. ::Question 1
  7.   BOX/1/1/25/80/177/78/C
  8.   PRINT/1/24/ Testing your knowledge of WISP /79
  9.   PRINT/25/11/ Wrong answers make you answer the previous question again! /79
  10.   MENU/           to PRINT means           /2/5/21/31/31/27/1/s
  11.        A.  Send characters to the printer.=
  12.        B.  Send characters to the monitor.=
  13. 2
  14.   PRINT/15/16/NO, WISP does not send characters to the printer./79
  15.   WAIT/23/34/78/PRESS ANY KEY
  16.   GOTO/Question 1
  17. 3
  18.   PRINT/15/17/YES, PRINT means send characters to the monitor/79
  19.   WAIT/23/34/78/PRESS ANY KEY
  20. {-------------------------------------------------------------------------------
  21. ::Question 2
  22.   BOX/1/1/25/80/1/79/C
  23.   MENU/                      DIM means                   /2/5/15/31/31/27/3/s
  24.        A.  Dimension an array.                          =
  25.        B.  Turn off the blinking of some color choices. =
  26. 4
  27.   PRINT/15/28/NO, WISP does not use arrays./79
  28.   WAIT/23/34/78/PRESS ANY KEY
  29.   GOTO/Question 1
  30. 5
  31.   PRINT/15/23/YES, DIM means to turn off blinking./79
  32.   WAIT/23/34/78/PRESS ANY KEY
  33. {-------------------------------------------------------------------------------
  34. ::Question 3
  35.   BOX/1/1/25/80/1/79/C
  36.   MENU/                   PAINT means                 /2/5/16/31/31/27/5/s
  37.        A.  Fill the area inside a circle with color. =
  38.        B.  Color a portion of the screen with color. =
  39. 6
  40.   PRINT/15/27/NO, WISP does not draw circles./79
  41.   WAIT/23/34/78/PRESS ANY KEY
  42.   GOTO/Question 2
  43. 7
  44.   PRINT/15/18/YES, PAINT means to color an area of the screen./79
  45.   WAIT/23/34/78/PRESS ANY KEY
  46. {-------------------------------------------------------------------------------
  47. ::Question 4
  48.   BOX/1/1/25/80/1/79/C
  49.   MENU/                    SHELL means                   /2/5/15/31/31/27/7/s
  50.        A.  Leave WISP keeping it in memory, then return.=
  51.        B.  Exit WISP altogether and run another program.=
  52. 8
  53.   PRINT/15/18/YES, SHELL means to leave only temporarily./79
  54.   WAIT/23/34/78/PRESS ANY KEY
  55.   GOTO/Question 5
  56. 9
  57.   PRINT/15/18/NO, L-RUN is to leave an run another program./79
  58.   WAIT/23/34/78/PRESS ANY KEY
  59.   GOTO/Question 3
  60. {-------------------------------------------------------------------------------
  61. ::Question 5
  62.   BOX/1/1/25/80/1/79/C
  63.   MENU/                   CLS means                 /3/5/16/31/31/27/9/s
  64.        A.  Close a file that WISP had opened.      =
  65.        B.  Clear the screen to the color parameter.=
  66.        C.  Close the program and exit.             =
  67. 10
  68.   PRINT/15/20/NO, WISP closes it's files automatically./79
  69.   WAIT/23/34/78/PRESS ANY KEY
  70.   goto/Question 4
  71. 11
  72.   PRINT/15/8/YES, CLS will clear the screen to the color parameter supplied./79
  73.   WAIT/23/34/78/PRESS ANY KEY
  74.   goto/Question 6
  75. 12
  76.   PRINT/15/18/NO, LEAVE is the command to exit the program./79
  77.   WAIT/23/34/78/PRESS ANY KEY
  78.   goto/Question 4
  79. {-------------------------------------------------------------------------------
  80. ::Question 6
  81.   BOX/1/1/25/80/1/79/C
  82.   MENU/    BLOADable files are:    /3/5/25/31/31/27/13/s
  83.        A.  about 2K bytes in size.=
  84.        B.  about 8K bytes in size.=
  85.        C.  about 4K bytes in size.=
  86. 14
  87.   PRINT/15/31/NO, 2K is incorrect./79
  88.   WAIT/23/34/78/PRESS ANY KEY
  89.   goto/Question 5
  90. 15
  91.   PRINT/15/31/NO, 8K is incorrect./79
  92.   WAIT/23/34/78/PRESS ANY KEY
  93.   goto/Question 5
  94. 16
  95.   PRINT/15/32/YES, 4K is correct./79
  96.   WAIT/23/34/78/PRESS ANY KEY
  97.   BOX/1/1/25/80/1/79/C
  98.   BLOCKPRINT/3/79/4/5
  99.     Congratulations!  You made it to the end of the test, indicating that you
  100.     got all the answers correct, eventually.  This has been an example of
  101.     multiple choice testing using the WISP programming language.
  102.     WAIT/23/34/78/PRESS ANY KEY
  103. 999
  104.   cls/7
  105.   cursoron
  106. . leave
  107. 
  108.