home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / doc / learn / p3 < prev    next >
Encoding:
Text File  |  1979-01-10  |  6.0 KB  |  220 lines

  1. .NH
  2. Scripts.
  3. .PP
  4. As mentioned above, the present scripts try
  5. at most
  6. to follow a three-track theory.  Thus little
  7. of the potential complexity of the possible directed graph
  8. is employed, since
  9. care must be taken in lesson construction to see
  10. that every necessary fact is presented in
  11. every possible path through the units.  In addition,
  12. it is desirable that every unit have alternate successors
  13. to deal with student errors.
  14. .PP
  15. In most existing courses, the first few lessons
  16. are devoted to checking prerequisites.  For example,
  17. before the student is allowed to proceed through the editor
  18. script the script verifies that the student understands files
  19. and is able to type.
  20. It is felt that the sooner lack of student preparation
  21. is detected, the easier it will be on the student.
  22. Anyone proceeding through the scripts
  23. should be getting mostly correct answers; otherwise, the
  24. system will be unsatisfactory both because the wrong
  25. habits are being learned and because the
  26. scripts make little effort to deal with wrong answers.
  27. Unprepared students should not be encouraged
  28. to continue with scripts.
  29. .PP
  30. There are some preliminary items which the student must
  31. know before any scripts can be tried.  In particular,
  32. the student must know how to connect to
  33. a
  34. .UX
  35. system,
  36. set the terminal properly,
  37. log in,
  38. and execute simple commands (e.g.,
  39. .ul
  40. learn
  41. itself).
  42. In addition, the character erase and line kill conventions
  43. (# and @) should be known.
  44. It is hard to see how this much could be taught by
  45. computer-aided instruction, since a student who
  46. does not know these basic skills will not be able
  47. to run the learning program.
  48. A brief description on paper is provided (see Appendix A), although
  49. assistance will be needed for the first few
  50. minutes.  This assistance, however, need not be highly skilled.
  51. .PP
  52. The first script in the current set deals with files.  It assumes
  53. the basic knowledge above and teaches the student about
  54. the
  55. .I ls ,
  56. .I cat ,
  57. .I mv ,
  58. .I rm ,
  59. .I cp
  60. and
  61. .I diff
  62. commands.
  63. .tr ~
  64. It also deals with the abbreviation characters *, ?, and [\ ]
  65. in file names.
  66. It does not cover pipes or I/O redirection,
  67. nor does it present the many options
  68. on the
  69. .ul
  70. ls
  71. command.
  72. .PP
  73. This script contains 31 lessons
  74. in the fast track;
  75. two are
  76. intended as prerequisite checks,
  77. seven are review exercises.
  78. There are a total of 75 lessons in all three tracks,
  79. and the instructional passages typed at the student
  80. to begin each lesson total 4,476 words.  The average
  81. lesson thus begins with a 60-word message.
  82. In general, the fast track lessons have somewhat longer
  83. introductions, and the slow tracks somewhat shorter ones.
  84. The longest message is 144 words and the shortest 14.
  85. .PP
  86. The second script trains students in the use
  87. of the
  88. .UX
  89. context editor
  90. .I ed ,
  91. a sophisticated editor
  92. using regular expressions for searching.
  93. .[
  94. ritchie thompson unix  seventh edition 1978
  95. %O See section \f2ed\f1 (I).
  96. .]
  97. All editor
  98. features except encryption, mark names and `;' in addressing
  99. are covered.
  100. The fast track contains 2 prerequisite checks,
  101. 93 lessons, and a review lesson.
  102. It is supplemented by 146 additional lessons in other tracks.
  103. .PP
  104. A comparison of sizes may be of interest.  The
  105. .ul
  106. ed
  107. description
  108. in the reference manual is 2,572 words long.  The
  109. .ul
  110. ed
  111. tutorial
  112. .[
  113. kernighan editor tutorial 1974
  114. .]
  115. is 6,138 words long.  
  116. The fast track through
  117. the
  118. .ul
  119. ed
  120. script is 7,407 words of explanatory messages, and the
  121. total
  122. .ul
  123. ed
  124. script, 242 lessons, 
  125. has 15,615 words.
  126. The average
  127. .ul
  128. ed
  129. lesson is thus also about 60 words; the largest
  130. is 171 words and the smallest 10.
  131. The
  132. original
  133. .ul
  134. ed
  135. script represents about three man-weeks of effort.
  136. .PP
  137. The advanced file handling script deals with
  138. .ul
  139. ls
  140. options,
  141. I/O diversion, pipes, and supporting programs like
  142. .I pr ,
  143. .I wc ,
  144. .I tail ,
  145. .I spell
  146. and
  147. .I grep .
  148. (The basic file handling script is a prerequisite.)
  149. It is not as refined as the first two scripts;
  150. this is reflected at least partly in the fact that
  151. it provides much less of a full three-track sequence
  152. than they do.
  153. On the other hand,
  154. since it is perceived as ``advanced,''
  155. it is hoped that the student will have somewhat
  156. more sophistication
  157. and be better able to cope with it at a reasonably
  158. high level of performance.
  159. .PP
  160. A fourth script covers the
  161. .ul
  162. eqn
  163. language for typing mathematics.
  164. This script must be run on a terminal capable of printing
  165. mathematics, for instance the DASI 300 and similar Diablo-based
  166. terminals, or the nearly extinct Model 37 teletype.
  167. Again, this script is relatively short of tracks:
  168. of 76 lessons, only 17 are in the second track and 2
  169. in the third track.
  170. Most of these provide additional practice for students
  171. who are having trouble in the first track.
  172. .PP
  173. The
  174. .I \-ms
  175. script for formatting macros
  176. is a short one-track only script.
  177. The macro package it describes is no longer the standard,
  178. so this script will undoubtedly be superseded
  179. in the future.
  180. Furthermore, the linear style of a single learn script is somewhat
  181. inappropriate for the macros, since the macro package is composed of many
  182. independent features, and few users need all of them.
  183. It would be better to have a selection of short lesson
  184. sequences dealing with the features independently.
  185. .PP
  186. The script on C is in a state of transition.
  187. It was originally designed to follow
  188. a tutorial on C,
  189. but that document has since become obsolete.
  190. The current script has been partially converted
  191. to follow the order of presentation in
  192. .ul
  193. The C Programming Language,
  194. .[
  195. ritchie kernighan programming 1978 prentice hall
  196. .]
  197. but this job is not complete.
  198. The C script was never intended to teach C;
  199. rather it is supposed to be a series of exercises
  200. for which the computer provides checking and
  201. (upon success) a suggested solution.
  202. .PP
  203. This combination of scripts covers much of the material which any
  204. .UX
  205. user
  206. will need to know
  207. to make effective use of the system.
  208. With enlargement of the advanced files
  209. course to include more on the command interpreter, there
  210. will be a relatively complete introduction to
  211. .UX
  212. available via
  213. .ul
  214. learn.
  215. Although we make no pretense that 
  216. .ul
  217. learn
  218. will replace other instructional materials,
  219. it should provide a useful supplement to existing tutorials and reference manuals.
  220.