亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? p5

?? unix v7是最后一個廣泛發布的研究型UNIX版本
??
字號:
.NHThe Script Interpreter..PPThe.Ilearn.Rprogram itself merely interprets scripts.  It providesfacilities for the script writer to capture studentresponses and their effects, and simplifies the jobof passing control to and recovering control from the student.This section describes the operation andusage of the driver program,and indicates what isrequired to produce a new script.Readers only interested inthe existing scripts may skip this section..PPThe file structure used by.I learnis shown in Figure 2.There is one parent directory (named \f2lib\f1\^) containing the script data.Within this directory are subdirectories, one for eachsubject in which a course is available,one for logging (named.I log ),and one in which user sub-directoriesare created (named.I play ).The subject directory contains master copies of all lessons,plus any supporting material for that subject.In a given subdirectory,each lesson is a single text file.Lessons are usually named systematically;the file that contains lesson.I nis called.I Ln ..br.KF.sp.TScenter, box;c s s sl l l l.Figure 2:  Directory structure for \fIlearn\fR.sp.nflib.if t .sp .5	play		student1			files for student1...		student2			files for student2....if t .sp .5	files		L0.1a	lessons for files course		L0.1b		....if t .sp .5	editor		....if t .sp .5	(other courses).if t .sp .5	log.TE.sp.KE.PPWhen.Ilearn.Ris executed, it makes a private directoryfor the user to work in,within the.Ilearn.Rportion of the file system.A fresh copy of all the files used in each lesson(mostly data for the student to operate upon) is made eachtime a student starts a lesson,so the script writer may assume that everythingis reinitialized each time a lesson is entered.The student directory is deleted after each session; any permanent recordsmust be kept elsewhere..PPThe script writer must provide certain basic itemsin eachlesson:.IP (1)the text of the lesson;.IP (2)the set-up commands to be executed before the user gets control;.IP (3)the data, if any, which the user is supposed to edit, transform, or otherwiseprocess;.IP (4)the evaluating commands to be executed after the userhas finished the lesson, to decide whether the answer is right;and.IP (5)a list of possible successor lessons..LP.ILearn.Rtries to minimize the workof bookkeeping and installation, sothat most of the effort involved inscript production is in planning lessons,writing tutorial paragraphs,and coding tests of student performance..PPThe basic sequence of events isas follows.First,.I learncreates the working directory.Then, for each lesson,.I learnreads the script for the lesson and processesit a line at a time.The lines in the script are:(1) commands to the script interpreterto print something, to create a files,to test something, etc.;(2) text to be printed or put in a file;(3) other lines, which are sent tothe shell to be executed.One line in each lesson turns control overto the user;the user can run any .UX commands.The user mode terminates when the usertypes .I yes ,.I no ,.I ready ,or.I answer .At this point, the user's work is tested;if the lesson is passed,a new lesson is selected, and if notthe old one is repeated..PPLet us illustrate this with the scriptfor the second lesson of Figure 1;this is shown in Figure 3..KF.sp.TScenter, box;c.T{Figure 3:  Sample Lesson.sp.nf#printOf course, you can print any file with "cat".In particular, it is common to first use"ls" to find the name of a file and then "cat"to print it.  Note the difference between"ls", which tells you the name of the files,and "cat", which tells you the contents.One file in the current directory is named fora President.  Print the file, then type "ready".#create roosevelt  this file is named roosevelt  and contains three lines of  text.#copyout#user#uncopyouttail \-3 .ocopy >X1#cmp X1 roosevelt#log#next3.2b 2.fiT}.TE.sp.KE.LPLines which begin with# are commands to the.I  learn script interpreter.For example,.LP.ul	#print.LPcauses printing of any text that follows,up to the next line that begins with a sharp..LP.ul	#print file.LPprints the contents of.I file ;itis the same as.ulcat file but hasless overhead.Both forms of.I #printhave the added property that if a lesson is failed,the.ul#printwill not be executed the second time through;this avoids annoying the student by repeating the preambleto a lesson..LP.ul	#create filename.LPcreates a file of the specified name,and copies any subsequent text up to a# to the file.This is used for creating and initializing working filesand reference data for the lessons..LP.ul	#user.LPgives control to the student;each line he or she types is passed to the shellfor execution.The.I #usermodeis terminated when the student types one of.I yes ,.I no ,.I ready or.I answer .At that time, the driverresumes interpretation of the script..LP.ul	#copyin.br.ul	#uncopyin.LPAnything the student types between thesecommands is copied onto a filecalled.ul\&.copy.This lets the script writer interrogate the student'sresponses upon regaining control..LP.ul	#copyout.br.ul	#uncopyout.LPBetween these commands, any material typed at the studentby any programis copied to the file.ul\&.ocopy.This lets the script writer interrogate theeffect of what the student typed, which true believers in the performance theory of learningusuallyprefer to the student's actual input..LP.ul	#pipe.br.ul	#unpipe.LPNormally the student input and the script commandsare fed to the.UXcommand interpreter (the ``shell'') one line at a time. This won't doif, for example, a sequence of editor commandsis provided,since the input to the editor must be handed to the editor,not to the shell.Accordingly, the material between .ul#pipeand.ul#unpipecommandsis fedcontinuously through a pipe so that such sequenceswork.If.ulcopyoutis also desiredthe.ulcopyoutbrackets must includethe.ulpipebrackets..PPThere are several commands for setting statusafter the student has attempted the lesson..LP.ul	#cmp file1 file2.LPis an in-line implementation of.I cmp ,which compares two files for identity..LP.ul	#match stuff.LPThe last line of the student's inputis compared to.I stuff ,and the success or fail status is setaccording to it.Extraneous things like the word.I answerare stripped before the comparison is made.There may be several .I #matchlines;this provides a convenient mechanism for handling multiple``right'' answers.Any text up to a# on subsequent lines after a successful.I #matchis printed; this is illustrated in Figure 4, another sample lesson..br.KF.sp.TScenter, box;c.T{Figure 4:  Another Sample Lesson.sp.nf#printWhat command will move the current lineto the end of the file?  Type "answer COMMAND", where COMMAND is the command.#copyin#user#uncopyin#match m$#match .m$"m$" is easier.#log#next63.1d 10T}.TE.sp.KE.LP.ul	#bad stuff.LPThis is similar to.I #match ,except that it corresponds to specific failure answers;this can be used to produce hints for particular wrong answersthat have been anticipated by the script writer..LP.ul	#succeed.br.ul	#fail.LPprint a messageupon success or failure(as determined by some previous mechanism)..PPWhen the student typesone of the ``commands''.I yes ,.I no ,.I ready ,or.I answer ,the driver terminates the.I #usercommand,and evaluation of the student's work can begin.This can be done either bythe built-in commands above, such as.I #matchand.I #cmp ,or by status returned by normal.UX commands, typically.I grepand.I test .The last commandshould return status true(0) if the task was done successfully andfalse (non-zero) otherwise;this status return tells the driverwhether or not the studenthas successfully passed the lesson..PPPerformance can be logged:.LP.ul	#log file.LPwrites the date, lesson, user name and speed rating, anda success/failure indication on.ulfile.The command.LP.ul	#log.LPby itself writes the logging informationin the logging directorywithin the.I learnhierarchy,and is the normal form..LP.ul	#next.LPis followed by a few lines, each with a successorlesson name and an optional speed rating on it.A typical set might read.LP.nf	25.1a   10	25.2a   5	25.3a   2.fi.LPindicating that unit 25.1a is a suitable follow-on lessonfor students witha speed rating of 10 units,25.2a for student with speed near 5,and 25.3a for speed near 2.Speed ratings are maintained foreach session with a student; therating is increased by one each tieethe student gets a lesson right and decreasedby four eachtime the student gets a lesson wrong.Thus the driver tries to maintain a devel suchthat the users get 80% right answers.The maximum rating is limited to 10 afd the minimum to 0.The initial rating is zero unless the studeftspecifies a differeft rating when startinga session..PPIf the student passes a lesson,a new lesson is sedected and the process repeats.If the student fails, a false status is returnedand the programreverts to the previous lesson and triesanother alternative.If it can not find another alternative, it skips forwarda lesson..I bye ,bye,which causes a graceful exitfrom the .ullearnsystem.  Hanging up is the usual novice's way out..PPThe lessons may form an arbitrary directed graph,although the present program imposes a limitation on cycles in thatit will not present a lesson twice in thesame session.If the student is unable to answer one of the exercisescorrectly, the driver searches for a previous lessonwith a set of alternatives as successors(following the.I #nextline).From the previous lesson with alternatives one route was takenearlier; the program simply tries a different one..PPIt is perfectly possibleto write sophisticated scripts that evaluatethe student's speed of response, or try to estimate theelegance of the answer, or provide detailedanalysis of wrong answers.Lesson writing is so tedious already, however, that mostof these abilities are likely to go unused..PPThe driver program depends heavily on featuresof.UXthat are not available on many other operating systems.These includethe ease of manipulating files and directories,file redirection,the ability to use the command interpreteras just another program (even in a pipeline),command status testing and branching,the ability to catch signals like interrupts,and of coursethe pipeline mechanism itself.Although some parts of .ullearnmight be transferable to other systems,some generality will probably be lost..PPA bit of history:The first version of.I learnhad fewer built-in wordsin the driver program,and made more use of thefacilities of.UX .For example,file comparison was done by creating a.I cmpprocess,rather than comparing the two files within.I learn .Lessons were not stored as text files,but as archives.There was no concept of the in-line document;even .I #printhad to be followed by a file name.Thus the initialization for each lessonwas to extract the archive into the working directory(typically 4-8 files),then .I #printthe lesson text..PPThe combination of such things made.I learnslower.The new version is about 4 or 5 times faster.Furthermore, it appears even faster to the userbecause in a typical lesson,the printing of the message comes first,and file setup with.I #createcan be overlapped with the printng,so that when the programfinishes printing,it is really ready for the userto type at it..PPIt is also a great advantage to the script maintainerthat lessons are now just ordinary text files.They can be edited without any difficulty,and  .UXtext manipulation tools can be appliedto them.The result has been thatthere is much less resistanceto going in and fixing substandard lessons.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亲子伦对白| 亚洲综合在线免费观看| 成人免费视频caoporn| 亚洲精品大片www| 久久久综合精品| 欧美午夜一区二区三区免费大片| 国内久久精品视频| 精品一区二区三区在线播放视频 | 一区二区三区精品在线观看| 国产成人av电影在线| 久久久国产精华| 韩国女主播一区| 久久久久国产精品麻豆ai换脸 | 日韩一级片网站| 亚洲精品中文在线影院| 色婷婷久久久久swag精品| 国产精品久久久久久妇女6080| 国产一区二区三区四区在线观看| 精品国产一区二区精华 | 色哟哟亚洲精品| 亚洲国产精品v| 91小视频免费观看| 亚洲一区在线观看网站| 欧美性感一类影片在线播放| 亚洲综合免费观看高清在线观看| 国产黄人亚洲片| 日韩在线一二三区| 一区二区三区中文字幕精品精品| 亚洲精品一区二区三区精华液| 欧美福利电影网| 在线观看视频一区二区欧美日韩| 日本美女一区二区三区| 午夜欧美2019年伦理| 91精品欧美福利在线观看| 欧美国产国产综合| 欧美精品久久一区| 久久久久久久久岛国免费| 亚洲精品免费电影| 91国内精品野花午夜精品| 成人精品小蝌蚪| 成人av综合一区| 99riav一区二区三区| 成人免费高清在线| www.亚洲在线| 色婷婷久久久亚洲一区二区三区| 在线视频你懂得一区| 丝瓜av网站精品一区二区| 欧美成人精精品一区二区频| thepron国产精品| 麻豆国产91在线播放| 午夜在线成人av| 国产精品毛片久久久久久久| 日韩免费在线观看| 欧美一区二区三区免费在线看| 色狠狠一区二区三区香蕉| 福利一区二区在线| 风间由美一区二区三区在线观看 | 99久久精品免费看国产免费软件| 亚洲成av人片一区二区三区 | www.av亚洲| 蜜臀久久久久久久| 亚洲综合色噜噜狠狠| 一区二区三区中文字幕精品精品| 国产精品传媒视频| 国产精品区一区二区三| **网站欧美大片在线观看| 亚洲欧美色图小说| 不卡区在线中文字幕| 色综合久久综合| 久久精品免视看| 视频一区在线播放| 色乱码一区二区三区88| 国产清纯在线一区二区www| 日本欧美一区二区三区| 偷拍一区二区三区| 自拍偷拍欧美精品| 夜夜嗨av一区二区三区| 日韩高清中文字幕一区| 91美女片黄在线观看91美女| 国产精品成人在线观看| 亚洲国产精品t66y| 精品噜噜噜噜久久久久久久久试看 | 成人av资源在线观看| 欧美日韩视频在线观看一区二区三区| 日韩欧美另类在线| 成人欧美一区二区三区白人| 成人黄色av电影| 欧美影院午夜播放| 国产三级欧美三级| 亚洲成人资源在线| 久久99精品国产.久久久久| 亚洲国产视频a| 懂色av一区二区三区免费看| 欧美影院一区二区三区| 久久久久久久久97黄色工厂| 国产成人av电影在线观看| 亚洲美女少妇撒尿| 精品久久久久久最新网址| 97国产精品videossex| 一卡二卡欧美日韩| 久久久.com| 成人小视频免费在线观看| 亚洲午夜精品网| 国产欧美精品一区二区色综合| 日本精品一级二级| 国产一区二区视频在线播放| 亚洲国产视频一区| 国产精品国产三级国产普通话99| 欧美高清dvd| 91视视频在线观看入口直接观看www| 五月天中文字幕一区二区| 国产日韩成人精品| 欧美va亚洲va| 91精品国产全国免费观看| 一本到一区二区三区| 国产91在线观看丝袜| 欧美aaaaa成人免费观看视频| 一区二区三区在线观看国产| 精品日韩在线观看| 日韩女优毛片在线| 色屁屁一区二区| 中文字幕一区二区三区精华液 | 成人app软件下载大全免费| 国产精品少妇自拍| 菠萝蜜视频在线观看一区| 久久精品水蜜桃av综合天堂| 蜜臀久久99精品久久久画质超高清 | 一二三四区精品视频| 成人精品国产免费网站| 国产亚洲成aⅴ人片在线观看| 日本中文一区二区三区| 精品婷婷伊人一区三区三| 亚洲黄色在线视频| 色婷婷综合久色| 亚洲欧美视频一区| 色av一区二区| 亚洲男人的天堂在线aⅴ视频| 99视频国产精品| 国产精品高潮呻吟久久| 99视频在线精品| 亚洲欧洲av一区二区三区久久| 岛国一区二区三区| 国产色综合久久| 国产suv精品一区二区883| 国产日产精品一区| 成人一级片在线观看| 综合欧美一区二区三区| 欧美怡红院视频| 石原莉奈在线亚洲二区| 日韩欧美另类在线| 国产精品一区免费在线观看| 国产欧美一区二区精品仙草咪| 国产大陆精品国产| 中文字幕视频一区二区三区久| 99re这里都是精品| 亚洲尤物视频在线| 日韩三级视频中文字幕| 国产在线视视频有精品| 国产日产欧美一区二区三区| 99久久免费国产| 亚洲成a人片综合在线| 欧美电影精品一区二区| 成人av资源下载| 亚洲一区二区三区美女| 日韩一区二区三区四区五区六区 | 从欧美一区二区三区| 亚洲欧美另类综合偷拍| 欧美精品乱码久久久久久| 国产麻豆成人传媒免费观看| 成人欧美一区二区三区在线播放| 在线免费视频一区二区| 免费在线观看一区| 国产精品视频一区二区三区不卡| 91蝌蚪porny| 免费成人av在线| 日韩一区欧美一区| 日韩亚洲欧美中文三级| 成人午夜av电影| 午夜激情一区二区三区| 久久久久青草大香线综合精品| 色综合婷婷久久| 麻豆一区二区99久久久久| 国产欧美精品区一区二区三区| 91黄色免费网站| 久久国产精品免费| 亚洲视频一区在线| 日韩视频免费直播| 91蜜桃婷婷狠狠久久综合9色| 蜜桃在线一区二区三区| 国产精品伦理一区二区| 欧美一区日韩一区| av亚洲精华国产精华精华| 免费一区二区视频| 中文字幕亚洲一区二区va在线| 欧美一区二区三区电影| 成人av在线播放网址| 日本中文在线一区| 亚洲综合免费观看高清完整版在线 | 国产高清精品久久久久| 日韩精品色哟哟|