0
School of Cognitive and Computing Sciences
First Year School Course -- CG019 COGNITIVE MODELLING Computer Class Week 2: Summer Term 2002 Benedict du Boulay and Steve Torrance |
There are two separate exercises for this class. You will be expected to write up your experiments with the system as part of a laboratory report for assessment (see the Course Outline).
The purpose of this exercise is to enable you to experiment with a program that accepts commands and questions in English and relates these to a simple world of coloured blocks.
By the end of the exercise you should be able to (i) understand the stages of analysis between input and response and the different representations involved at each stage; (ii) understand the effects of different kinds of mal-formed input on the response of the system.
pop11 +gblocks
You will find it useful for your Report to have the record of your interactions with the system as your own file. At the end of the session with this program to cause a file named myblocksrecord to be written:
This will put a file called myblocksrecord containing a record of the interactions during this session into your file area and exit from the program back to the Unix prompt.
To print out that file on the dot matrix printer named ``kgb'' in 3D3
type the Unix command
lp -d kgb myblocksrecord
Type bye to the Blocks program and press .
Try out a range of commands and questions. Note the stages through which the analysis goes. Find out different ways in which the program can fail to understand what you typed or fail to execute your command. You will have to draw the parse-trees by hand to record them, though note that a textual representation is provided in the record file.
The Buggy program pretends to be one of several children with misconception(s) about subtraction. It first invites you to give it a range of sums and shows you what answer the child would give. It then invites you to predict the answers the child would have given when it gives you the sums to do. The idea is for you to sufficiently understand the child's misconceptions so that you can predict how he or she would react.
By the end of the exercise you should be able to (i) mimic the incorrect subtraction behaviour of a range of children. (ii) understand the level of detail at which the underlying cognitive model of subtraction is constructed.
At the Unix prompt type
pop11
lib buggy
go();
and then follow the instructions of the program. When you are ready to be tested on your understanding of the child's misconception just press in response to the prompt
Testing child b Top number: ?
You should aim to understand the difficulties of all four of the available children named a, b, c and d. Keep a record by hand of what you do and how the system responds.
Press in response to the prompt
Which child would you like to test: a, b, c, or d
and then type
bye
to get back to Unix.
Make sure to logout from Unix before leaving the terminal by clicking the EXIT icon at the bottom of the screen below the globe.