home *** CD-ROM | disk | FTP | other *** search
/ Kids Cube / 7_Science.iso / sfg / sftutor.cai < prev    next >
Text File  |  1993-12-15  |  9KB  |  372 lines

  1. @options escape:thatsall
  2. .screen 0
  3. .color 15,3
  4. .cls c=177
  5. .color 15,1
  6. .border (*1,1,25,80*) double
  7. .box (*10,17*) border shadow center
  8.  
  9.                    Welcome!
  10. To the Science Fair Graphs & Numbers Tutorial
  11.   ┌───────────────────────────────────────┐
  12.   │  To end the demo, press the Esc key.  │
  13.   └───────────────────────────────────────┘
  14.  
  15.      Press Enter to move to next screen.
  16.  
  17. .endbox
  18. .locate 22,1
  19. .center(*This program was produced using TexaSoft's PC-CAI program.*)
  20. .locate 23,1
  21. .center(*(c)Copyright TexaSoft, 1984-1994.*)
  22. .locate 25,58
  23. .pause (*Continue=Enter Stop=Esc*)
  24. .screen 0
  25. @MONITOR(*9:BEGIN*)
  26. .rem check monitor, if okay, go to begin. If not display message
  27. .cls c=177
  28. .color 15,1
  29. .box (*10,2*) border center
  30.  
  31.                              Special Note
  32.  
  33. This program requires that you have a EGA or VGA compatible monitor.
  34. If you are not using a compatible monitor, press the ESC key at this
  35. time. Otherwise, press ENTER to begin the tutorial.
  36.  
  37. .endbox
  38. .locate 25,58
  39. .pause (*Continue=Enter Stop=Esc*)
  40. @label:begin
  41. .screen 0
  42. .color 15,3
  43. .cls c=177
  44. .color 15,1
  45. .locate 2,1
  46. .center(*Let's see how to CREATE A BAR CHART.*)
  47. .box (*4,1*) border center
  48. For your science project, you created three electromagnets made of
  49. three different kinds of wire -- Small, Medium and Large gauge.
  50. You tested each magnet to see how many nails it would pick up.
  51. You want a BAR CHART to show your results.
  52.  
  53.     YOUR  DATA IS...
  54.  ─────────────────────     ┌───────────────────────────────────────┐
  55.   MAGNET      NAILS        │  1─2─3 steps to CREATE a BAR CHART:   │
  56.  ──────────   ────────     │ ───────────────────────────────────── │
  57.   SMALL         31         │  1. Create a NEW database             │
  58.   MEDIUM        38         │  2. Enter the data                    │
  59.   LARGE         51         │  3. Select the graph to display       │
  60.                            └───────────────────────────────────────┘
  61.  
  62. Let's see how it's done...
  63. .endbox
  64. .color 11,1
  65. .locate 25,58
  66. .pause (*Continue=Enter Stop=Esc*)
  67. .screen 0
  68. .color 15,3
  69. .cls c=177
  70. .color 15,1
  71. .box (*2,28*) border shadow
  72. Creating a Graph is as
  73. simple as 1-2-3!
  74. .endbox
  75. .color 15,5
  76. .play (*MFO1C4*)
  77. .box (*8,10*) border shadow
  78. 1. Create a NEW database
  79. .end box
  80. .color 15,2
  81. .play (*o1E4*)
  82. .box (*13,25*) border shadow
  83. 2. Enter the data into the database
  84. .end box
  85. .color 15,4
  86. .play (*o1F4*)
  87. .box (*18,40*) border shadow
  88. 3. Select the graph to display
  89. .end box
  90. .color 15,1
  91. .locate 25,58
  92. .pause (*Continue=Enter Stop=Esc*)
  93. .color 15,1
  94. .cls
  95. .screen 9
  96. .pcx sftut1 1,1
  97. .box (*5,37*) border shadow
  98.     This is the MAIN MENU screen.
  99.  
  100. The File "pull-down" menu is extended.
  101. .endbox
  102. .wait 2
  103. .box (*12,37*) border shadow
  104. HINT: To choose a menu, use the right-
  105. or left-arrow keys, or point to a menu
  106. name with your mouse pointer and click.
  107. .endbox
  108. .locate 25,58
  109. .pause (*Continue=Enter Stop=Esc*)
  110. .cls
  111. .pcx sftut1 1,1
  112. .box (*12,45*) border shadow
  113.  
  114. STEP 1: Choose New Database.
  115. (Or, choose Open a Database,
  116. if you already have your
  117. data in a database.)
  118.  
  119. .endbox
  120. .locate 25,58
  121. .pause (*Continue=Enter Stop=Esc*)
  122. .cls
  123. .pcx sftut2.pcx 1,1
  124. .box (*16,25*) border shadow
  125. When you choose New Database, you are asked
  126. to enter the name for your new database.
  127. Enter a name, like "MAGNETS", of up to 8
  128. characters. (No blanks in the name.)
  129. .endbox
  130. .locate 25,58
  131. .pause (*Continue=Enter Stop=Esc*)
  132. .cls
  133. .pcx sftut3.pcx 1,1
  134. .box (*12,42*) border shadow
  135.  
  136. Choose the database type from a
  137. list of pre-defined databases, or
  138. you can create a custom database.
  139.  
  140. To create a BAR CHART, choose the
  141. SIMPLE BAR CHART Option.
  142.  
  143. .endbox
  144. .locate 25,58
  145. .pause (*Continue=Enter Stop=Esc*)
  146. .cls
  147. .pcx sftut5.pcx 1,1
  148. .box (*12,25*) border shadow
  149. STEP 2: ENTER DATA - This is where you
  150. enter your results of your experiment --
  151. the data entry screen. Enter the data
  152. for the first magnet as record 1.
  153. .endbox
  154. .locate 25,58
  155. .pause (*Continue=Enter Stop=Esc*)
  156. .box (*12,25*) border shadow
  157. Your first Label is SMALL (small wire)
  158. Your first Value is 31 (number of nails)
  159.  
  160. Type SMALL (press Enter), type 31 (Press
  161. Enter), then...
  162. .endbox
  163. .locate 4,10
  164. (.CHR024)
  165. .locate 5,10
  166. .locate 6,10
  167. .locate 7,10
  168. .locate 8,10
  169. └ Label = Small = The type of magnet
  170. .locate 4,19
  171. (.CHR024)
  172. .locate 5,19
  173. .locate 6,19
  174. └ Value = 31 = The number of nails picked up
  175.  
  176. .locate 25,58
  177. .pause (*Continue=Enter Stop=Esc*)
  178. .cls
  179. .pcx sftut6.pcx 1,1
  180. .box (*12,25*) border shadow
  181. Enter records 2 and 3 -- representing
  182. the three sizes of magnets and number of
  183. nails picked up. Press F7 (Exit) to end
  184. entry....
  185. .endbox
  186. .locate 25,58
  187. .pause (*Continue=Enter Stop=Esc*)
  188. .cls
  189. .pcx sftut9.pcx 1,1
  190. .box (*16,11*) border shadow
  191. STEP 3: CHOOSE WHAT GRAPH TO USE...
  192. The Graph menu is displayed. For this 
  193. analysis, choose to display a Bar Graph.
  194. .endbox
  195. .wait 1
  196. .box (*20,40*) border shadow
  197. This is the resulting graph...
  198. .endbox
  199. .locate 25,58
  200. .pause (*Continue=Enter Stop=Esc*)
  201. .screen 9
  202. .cls
  203. .PCX sftut11.PCX 1,1
  204. .locate 25,58
  205. .pause (*Continue=Enter Stop=Esc*)
  206. .screen 9
  207. .cls
  208. .PCX sftut12.PCX 1,1
  209. .locate 3,5
  210. (.CHR024)
  211. .locate 4,5
  212. .locate 5,5
  213. .locate 6,5
  214. .locate 7,5
  215. .locate 8,5
  216. └────────────────────
  217. .box (*7,25*) border shadow
  218. NOTE: Using the menu at the top of 
  219. the screen, you can change colors, 
  220. patterns, titles, etc. for each graph. 
  221.  
  222. These graphs are in EGA mode. If you use
  223. VGA mode, you will have more color choices.
  224.  
  225. Following are some more graph examples...
  226. .endbox
  227. .locate 25,58
  228. .pause (*Continue=Enter Stop=Esc*)
  229. .cls
  230. .PCX sftut13.PCX 1,1
  231. .locate 25,58
  232. .pause (*Continue=Enter Stop=Esc*)
  233. .cls
  234. .PCX sftut14.PCX 1,1
  235. .locate 25,58
  236. .pause (*Continue=Enter Stop=Esc*)
  237. .cls
  238. .PCX sftut15.PCX 1,1
  239. .locate 25,58
  240. .pause (*Continue=Enter Stop=Esc*)
  241. .screen 9
  242. .color 15,4
  243. .cls
  244.  
  245. .cen(*R E M E M B E R*)
  246.  
  247. .cen(*Creating a Graph is as*)
  248. .cen(*simple as 1-2-3!*)
  249. .line (1,90)-(635,90)
  250. .line (1,90)-(1,320)
  251. .line (1,320)-(635,320)
  252. .line (635,90)-(635,320)
  253. .line (1,320)-(320,90)
  254. .line (320,90)-(635,320)
  255. .paint center=(2,99) color=2 bound=15
  256. .paint center=(450,99) color=3 bound=15
  257. .paint center=(200,300) color=1 bound=15
  258. .locate 10,10
  259. 1. Create a
  260. .locate 11,10
  261.    new database.
  262. .locate 10,58
  263. 2. Enter the
  264. .locate 11,58
  265.    data.
  266. .locate 14,35
  267. 3. Select
  268. .locate 16,33
  269. the graph type
  270. .locate 18,31
  271. you want to create.
  272. .locate 25,58
  273. .pause (*Continue=Enter Stop=Esc*)
  274. @LABEL:ENDING
  275. .screen 0
  276. .color 15,3
  277. .cls c=177
  278. .color 15,1
  279. .box (*2,2*) border shadow center
  280.  
  281. Science Fair Graphs & Numbers allows you to create these kinds of
  282. graphs and calculations:
  283.  
  284.     o Bar Chart, Pie Chart, Line Chart, Area Chart
  285.     o Histogram, Box and Whiskers, Normal Curve
  286.     o Cumulative Distribution, Stem and Leaf Plot
  287.     o X-Y Scatterplot
  288.     o Time Series Plot
  289.     o Calculate statistics
  290.  
  291. To make data entry easy, SF G&N creates and reads data in
  292. the standard dBASE format.
  293. .endbox
  294. .locate 25,58
  295. .pause (*Continue=Enter Stop=Esc*)
  296. @label:test
  297. .color 15,3
  298. .cls c=177
  299. .color 15,1
  300. .play (*o1a16*)
  301. .box (*8,5*) border shadow center
  302.  
  303. Do you want to print out a one page summary of how to perform
  304. the bar chart example?
  305.  
  306. (Make sure your printer is on-line and has paper.)
  307.  
  308. .endbox
  309. .color 15,1
  310. @begin
  311. .locate 20,28
  312. @read (*Please answer Y or N:*)
  313. @right (*Y*) keyword
  314. @END QUESTION
  315. @if wrong then :skipprint
  316. .color 15,3
  317. .cls c=177
  318. .color 15,1
  319. .box (*5,5*) border shadow center
  320.  
  321.   Printing in progress...
  322.  
  323.   After the tutorial summary finishes printing --
  324.  
  325.   Go over the tutorial step by step and create the barchart
  326.   described in this tutorial.
  327.  
  328.   Create this sample bar chart BEFORE entering your own data.
  329.   This will help you understand better how to use the program
  330.   for creating charts for your own data.
  331. .end box
  332. .locate 22,10
  333. @shell(*if exist sftutor.doc copy sftutor.doc prn*)
  334. .locate 25,58
  335. .pause (*Continue=Enter Stop=Esc*)
  336.  
  337. @label:skipprint
  338. .color 15,3
  339. .cls c=177
  340. .color 15,1
  341. .box (*10,5*) border shadow center
  342.  
  343.                 Run through the tutorial again?
  344.  
  345.      This is the end of the tutorial, you have two choices:
  346.  
  347.      1. Answer Y (Yes) to go through the tutorial again
  348.  
  349.      2. Answer N (No) to end the tutorial
  350.  
  351. .endbox
  352. @begin
  353. .locate 22,10
  354. @read (*Please answer Y or N:*)
  355. @right (*Y*) keyword
  356. @WRONG
  357. @END QUESTION
  358. @if wrong then :thatsall
  359. @goback:begin
  360. @label:thatsall
  361. .screen 0
  362. .cls
  363. @stop system
  364.