|
||||||
Recall the CCT description of the rule INSERT-SPACE-2 discussed in Section 12.2.2: (INSERT-SPACE-2 IF (AND (TEST-GOAL insert space) (TEST-CURSOR %LINE %COL) ) THEN ( (DO-KEYSTROKE 'I') (DO-KEYSTROKE SPACE) (DO-KEYSTROKE ESC) (DELETE-GOAL insert space) )) As we discussed, this is already proceduralized, that is the rule is an expert rule. Write new 'novice' rules where the three keystrokes are not proceduralized. That is, you should have separate rules for each keystroke and suitable goals (such as GET-INTO-INSERT-MODE) to fire them. answer (INSERT-SPACE-BEGIN-SET-MODE
One of the assumptions underlying the programmable user model approach is that it is possible to provide an algorithm to describe the user's behaviour in interacting with a system. Taking this position to the extreme, choose some common task with a familiar interactive system (for example, creating a column of numbers in a spreadsheet and calculating their sum, or any other task you can think of) and describe the algorithm needed by the user to accomplish this task. Write the description in pseudocode. Does this exercise suggest any improvements in the system? answer open-ended exercise |
|