M206 Method Index and General Index for John McGuinns Smalltalk Tutorials , OU Course M206, and NCSU Course CSC517



More Tutorials
C Programming Tutorial
T223

HTML Tutorial & Web Design
T170,T171 and TT180

Search this site

Home

 

Tutorials
| 1. Starting Smalltalk, and Terminology | 2. Precedence Rules | 3. Classes - Strings | 4. Class Browser | 5. Variables | 6. Error Messages | 12. Control Structures | 16. Dialogs | 23. Collection class | 39. OpenGUI |

 

Information
| Smalltalk Books | Student Software & Books | Hints & Tips | Sites | Download Smalltalk | Coloured code | Download Documents | ASCII Codes |

 

Smalltalk Index

 

 

 

Student
Licence Software
at special prices

 

Originally based on the "master index" has now increased in size to the largest index available for the Open University M206 Computing an Object-oriented approach course. As the site is updated Smalltalk relevent material for CSC517 Object-oriented programming will be added.

It is a rather lengthy download, but well worth the time.

Updated 28 Jan 03. Page numbers in bold have been updated to the new printed Open 2003 UniversityBlock 1 book A new cdoumn added containing Page numbers in the Smalltalk Handbook.

Important

Message to 2003 M206 students. The course team are printing the chapters out in a different format from previous years, this will probably change the page numbering. This index should still be of use but a little conversion may be needed on the page number. Remember that this index is far more comprehensive than the one provided by the course team. I hope that current students will help me to help you, by forwarding any page number correctons so that I can update this page. Please use the Feedback page to inform me. Thanks

M206 List of Blocks and Chapters

Block I (1) Chapters 01 to 08
Block II (2) Chapters 09 to 16
Block III (3) Chapters 17 to 22
Block IV (4) Chapters 23 to 29
Block V (5) Chapters 31 to 39
Block VI (6) Chapters 40 to 46
Block VII (7) Chapters 48 to 50

Contents

Method Index AB CD EFGHIJ KLMNOPQ RS TUVWXYZ Arithmetic Comparison Boolean Other ',".; etc.
General Index A B C D E F G H I JK L M N O P Q R S T U V WXYZ

 

Using the index

There are two main indexes on this page | Method Index | General Index |

Printout this Page for a permanent reference, and / or save the page so that you can use it off-line.
This page is updated and the latest update date appears above. You may like to printout / save when an update takes place.

 

Use the links provided on this page for direct access, to other pages within this site.

M206 students

M206 students can access M206 HTML files within the C: drive of your own computer. Please note that this process does NOT use cookies or pry into your computer. It only directs the Internet browser on your computer to files on your computer.
Note links starting Lb expect the HTML files to be in the default installation folder, C:\M206\lw\html ,when you installed the M206 programs. These links will NOT WORK, unless you have these files installed on your computer, in the above location.
If you are a M206 student and you have installed the files into another location then, you can use this quick link facility by copying the files into this location. C:\M206\lw\html
You will also find references such as c22s3p19.htm or c22s3p19 these files can be be found in the C:\M206\lw\HTML\ subfolders in the case of c22s3p19.htm itwould be the Lb-HTM22 folder. I am sorry that I have not had time to turn them all into links. Similarly

Please help me to help you by using the Feedback page to inform me of :

  • Any errors,
  • Inclusions you would like to forward to me.
  • Any methods that appear in the OU course chapters or LearningBooks that are not in the methods index. Please include reference Chapter numbers, page numbers, LB numbers etc.
  • Any errors,

After using an LB link, use the browsers "Back" button to return to this page

CSC517 students

Sorry the links starting Lb and references such as c22s3p19.htm will not work for you.

Save this file on your desktop for instant access. Check the site for updates

Index of Methods

Note:- a lot of useful methods begin with either of these 2 sets of 2 letters as is

| Top | General Index |

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

Arithmetic methods
+ 47 21 13,15,17,20 addition. E.g. 4 + 5 answers 9. Tut 1. Methods
- 47     subtraction. E.g. 4 - 2 answers 2
* 47 21 13,15,17,20 multiply. E.g. 3 * 2 answers 6
** 47      
. 41     Tut 12. Use of periods. Expression series
/ 47 21 13,15,17,20 integer division Lb21 p15
// 47     division with truncation toward negative infinity. 9//4=2, -9//4=-3. -0.9//0.4=-3.
\\ 47     remainder from division
^ 41 14 5 returns a specific answer that follows the ^.
Comparison methods

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

~= 47 16
21
16
17
not equal in value Tutorial 12. Comparison Operators
< 47 16
21
16
13,17
less than Tut 12. Comparison Operators , Lb21 p9.

Top of Page

> 47 16 16 greater than Tut 12. Comparison Operators , Lb21 p9.
<= 47 16
21
16
13,17
less than or equal to Tut 12. Comparison Operators , Lb21 p9 , Lb 26 d4
>= 47 16
21
16
13,17
greater than or equal to Tut 12. Comparison Operators
=
==
difference between =and==
47 16
21
27
29
16
13,19
10,11
11
equal to in value (state). Tut 12. Comparison Operators , Lb21 p9 , Lb21 p13
is it same object Tut 12. Comparison OperatorsLb27 d8
:= 41 10 9 LB 10 P2. Assign a value into a variable.
Using with a Dialog box
( )       Use to alter order of precedence, and/or emphasis order of precedence
parenthesis
Boolean methods

Method

 Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

  & 47  16  20

logical AND Tut 12.& , Lb24 d4
(count > 0) & (count < 10).
Used with 2 Boolean operands Tut 12.

  | 47  16  20 logical OR Tut 12. |
(count > 0) | (width < 10)
Note UK keyboards usually | is the key to the left of Z. Use Shift.
Other methods ABCDEFGHIJ KLMNOPQRSTUVWXYZ

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

  , 47 9
16
15
19
Use a comma to Tut 3. concatenate
Tut 16. concatenate a string
' strings' 41     Use single quotes for strings
" comments" 41     Use double single quotes for comments
; 41 14 20 Lb14 p15 Cascade
Lb 23 path semicolon is shorthand for the receiver of the previous message.
-> 47      
# 41      
# ( ) 41      
| | 41      
[ ] 41      
$ 41 24 16 Indicates a character object, e.g. $a Lb22 p14-15 , Lb24 d1
A Method Index AB CDEFGHIJ KLMNOPQ RSTUVWXYZ Arithmetic ComparisonBoolean Other ',".; etc.

Method

 Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

abs 47      
add: 47 26 18 Lb26 p9 add: -- to add the object referenced by the argument to the end of elements.
add:after:
add: before:
add:beforeIndex:
47
47
    Lb26 d2 , Tutorial 23 Collection class downloads
addDependant 47      
add: first
add: last
47
47
    Lb29 d1 , Tutorial 23 Collection class downloads
allSubclasses       Lb21 p7
allSuperclasses       Lb21 p5-6 E.g. SmallInteger allSuperclasses
and: 48 16 20  
asArray 48      
asDays 48      
asIntegerArray       Tut 3
asNumber 48 16 10 String to number. Tut 3 , Tut 16. asNumber , Lb24 d7
5 asFloat
asInteger

 

asRational
(2/3) asFloat
5 asFloat class

48
48

 

48

21 14,15,20,23
14,15,23
14,15,20,23
Lb21 p11 5 asFloat
Tut 3 0.666667 asInteger. Lb21 d17
0.666667 asInteger class
0.666667 asRational
(2/3) asFloat

Top of Page

asLowercase
asUppercase
48     Tut 3 , Lb24 d7
Tut 3 , Lb9 p10
asOrderedCollection 48      
asSeconds 48      
asString       See printString. asString is introduced late in the course. Lb39 d9 , Lb45 p13
at: 48     Tut 3 , Lb23 p5 , Lb26 d2 , Tutorial 23 Collection class downloads
at:ifAbsent: 48     Lb23 p5
atEnd   31 19 Boolean answer -End of stream
at:put: 48     Tut 3 , Lb23 p5 , Lb26 d2 ,
Tutorial 23 Collection class downloads
atAll:put: 48      
atAllPut: 48      

balance

48      
balance: 48      
between:and: 48     Tut 12 Selectors that answers true or false.
beverage:newNamed:priced:   27 10  
brown 48      
ceiling 48     12.8 ceiling. Answers with 13. See floor
changed 48     Replaces updateUserInterfaces Look up updateUserInterfaces in your class browser, and note the method used. Lb39 d15
CharTable       Lb22 d21 firstInRange: ; lastInRange: , width: , formatOn:
class 48 21 5 Tut 3 , Lb16 d1 , Lb21 p1-3
colour 48      
coolour: 48      
condition and selection 42      
concatenate: 48    

Joins strings. Easier to use a comma , E.g. 'one ' , 'two'Tut 3. concatenate

confirm: 48      
copy 48 29 13 Lb 24 d3 ,
copyUpTo:       Lb45 d3
cr 48      
credit 48      
credit: 49      
currentTime 49      
Date class   22 7 Lb22 p7-10 Date class exercises
Date today
Date today year
Date today day
  22 7-8 aVariable :=Date today
Lb22 p7
Browse the Date class for many more useful methods.
day 49      
daysInMonth
daysInYear
49
49
    LB22 p11
dayOfMonth 49      
dayOfWeek: 49      
day:year: 49      
debit: 49      
denominator 49      
dependents 49      
detect: 49 26 8  
detect:[ ]ifNone:[ ] 49 26 17,29 Lb24 p8 , LB26p3Lb26 p9 detect:ifNone: -- to return an object held in the collection elements
Lb27 d9 , Tutorial 23 Collection class downloads
Dialog warn:       Dialog Boxes Tut 16 , Lb16 p1
Dialog confirm:       Dialog Boxes Tut 16 , Lb16 p2
Dialog request:
Dialog request:initialAnswer:
Dialog request:initialAnswer: onCancel:[ ]
      Dialog Boxes Tut 16 , Lb16 p3
Lb16 p4
Lb16 p6
display clear.       c22s3p19.htm
display cr.
      c22s3p19.htm
display hideAnswers.
      c22s3p19.htm , c27s3d10.htm
display show:
display showAnswers.
display show: 'string'; cr.
display showChar: $*; tab;
showChar: $-; tab; showChar: $*.
display show: 'string'
  24 11

c22s3p19.htm , Lb27 d10
c22s3p19.htm , Lb22 p19 . shows answers in display pane
c22s3p19.htm
Mastering the use of these messages can help with the finding of problems when code does NOT return the expected answer

Top of Page

do:[ ] 49 26 21 Lb24 d1 , LB26 p3
Lb26 p9 do: -- to enable you to iterate over each object in elements.
Lb27 d10 nested do:
Tutorial 23 Collection class downloads
doesNotUnderstand: 49      
down 49      
dropVowels 49     Tut.3 size Lb9 p10
,
E Method Index AB CDEFGHIJ KLMNOPQ RSTUVWXYZ Arithmetic ComparisonBoolean Other ',".; ect

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

error:       Lb27 d3
even 49     Lb16 p8 , Lb24 d1
exists   31 13,39 Boolean answer, does file exist
first 49 26 17 Lb26 p9 first -- to return the first element of the OrderedCollection object referenced by the elements instance variable. Tutorial 23 Collection class downloads
firstDayOfMonth 49      
firstIndex   26 6 ( can disregard )
firstInRange:       Lb22 d21
floor 49     12.8 floor answers with 1.2. See ceiling
formatOn:       Lb22 d21
fromSeconda: 49      
Frog (list of methods)   21 29  
green 49      
halt 49     Lb17 p9 , Lb 17 Dealing with Errors in Expressions
height 49      
height: 49      
holder 49      
holder: 49      
home 49      
hours 49      
hours: 49      
hours:minutes:seconds: 49      
hover:by: 49      
HoverFrog (list of methods)   21 32  

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

ifFalse: [ ]
ifTrue: [ ]
ifTrue: [ ] ifFalse: [ ]
ifFalse: [ ] ifTrue: [ ]
42 49-50     Tut 12. ifFalse: , Lb16 d7
Tut 12. ifTrue:
Tut 12. ifTrue:ifFalse:
Tut 12. ifFalse:ifTrue:
includes: 50     Lb 23 p1 , Lb27 d10 , Tutorial 23 Collection class downloads
includesKey: 50      
indexOf: 50     Lb24 d1 , Lb24 d4 , Tutorial 23 Collection class downloads
indexOf:ifAbsent: 50      
initialize 50 15 7 Lb15 d4 , Lb15 d6
inspect 50     Tut 3. Inspecting. Note all objects understand inspect.
intersection:       Lb 23 p7
isEmpty 50 26
31
17
18
Tut 12 Selectors that answers true or false. Lb 23 p1
Lb26 p9 to return true if there is at least one object in elements. otherwise to return false.
isInteger 50 16 21 Tut 12 Selectors that answers true or false.Top of Page
isKinfOf: 50      
isMemberOf: 50      
isNil 50     Lb16 d7 , Lb27 d9 , Lb45 d4 Nested ifs
isNumber       No isNumber method, see isReal. Tut 12 Selectors that answers true or false.
isReal 50     Tut 12 Selectors that answers true or false.
isSequenceable 50      
isString 50     Tut.3.
isSymbol 50      
isVowel 50     Lb24 d8 , Lb26 d3 Tut 12 Selectors that answers true or false.
join:   26 17, 18  
jump 50      

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

keysAtValue:ifAbsent: 50      
keysAndValuesDo: 50     Lb23 p7 , Lb24 d6 , Tutorial 23 Collection class downloads
key:value: 50     Lb23 d5 , Tutorial 23 Collection class downloads
last 50      
lastIndex   26 6  
lastInRange:       Lb22 d21
leapYear: 50      
left 50      
max: 50      
min: 50      
minutes 50      
monthIndex 50      
maxVal 50     Lb21 p4
minVal 50     Lb21 p4
myDependents 50      
negated 50     Lb14 p12
new 50 15 6 Lb10 d10
new: 50     Lb24 d1 instance and Class method depending on class
newDay:month:year:
newDay:monthNumber:year:
newDay:year:
50    

Lb22 p10

Class methods
next   31 19  
next:   31 21  
nextPut:   31 16 Top of Page
not   16 16, 19 Tut 12.
odd       Lb16 p8
or:   16 20  

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

perform:   24 21 frog1 perform: #right Lb24 p9
plus:       Lb14 p13 addition
pop       Lb29 d2
primitive:       Lb21 d14
printHierarchy       This is a very usefulmethod, it displays the hierarchy, both super and sub classes.
Lb21 p7
printOn       Lb45 d2
printString   16 9 number (or object) to StringprintString , Lb9 d6 , Lb16 d1
printStringRadix: 2
printStringRadix: 16
      Lb22 p15. Binary
Lb22 p16 Hexidecimal
Lb22 p17 Other radices
push:       Lb29 d2
Queue class(list of methods)   26 35  
quo:       7 quo: 3 Quotient answer is rounded towards 0. Lb21 d17

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

remove:       Lb 23 d1 , Tutorial 23 Collection class downloads
removeFirst   26 18,20 Lb26 d2 , Tutorial 23 Collection class downloads
remove:ifAbsent:[ ]   26 20 Lb 23 p1 , Lb26 d2 , Tutorial 23 Collection class downloads
removeKey:       Lb23 p5 , Tutorial 23 Collection class downloads
removeKey: ifAbsent: [ ]       Lb23 p5 , Tutorial 23 Collection class downloads
removeLast       Lb26 d2 , Tutorial 23 Collection class downloads
reverse       Tut. 3 , Lb9 p10
rounded       "Answer the integer nearest the receiver.".2.5 rounded answers 3
2.49999 rounded answers 2
S Method Index AB CDEFGHIJ KLMNOPQ RSTUVWXYZ Arithmetic ComparisonBoolean Other ',".; ect

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

self 41 13
14
15
4, 6
9
8
self is a pseudo-variable not a method, but is used within some method's code. Lb13 p2
^self       Lb24 d4
self shouldNotImplement
self updateUserInterfaces
      Also look under the message that follows self
shouldNotImplement       LB26 d12
show:   24 11  
size   26 21 Tut.3 , Lb 23 p1 , Tutorial 23 Collection class downloads
sortBlock: [ ]   26 14-16 Lb 26 d4
subclassResponsibility   21 9 Lb21 p9 , Lb21d10
super 41 15 8 super is a pseudo-variable not a method, but is used within some method's code.
super initialize Lb15 d6
^super new Lb 22 d3

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

Timenow
(Time now) hours:3
(Time now) hours:3 minutes:30 seconds:45
Time fromSeconds:67000
      Lb22 p12

 


Lb22 p13
timesRepeat:       Tut 12 , Lb20 d1
Toad(list of methods)   21 34  
to:do:       Lb24 d1 d6 , Tutorial 23 Collection class downloads
truncated   21 15 3.142 truncated answers 3. Lb21 d17

Method

Sm Hnd

Chapter

Page

Links, LearningBook Number Practical/Discussion Number. or Comments

updateUserInterfaces   27 25 Lb13 d5  (Example NO explanationuntil d11)
Lb27 p11
Use changelater in the OU course rather than updateUserInterfaces
upTo:   31 19 Top of Page
value   16
22
23
11
12
11
[Dialog warn: 'Hi there'] value
Tut 12. [Blocks] value
Lb16 d5
value:   23 16 |myBlock|
myBlock :=[:aString | Dialog warn: aString] .
myBlock value: 'boo' .
myBlock value: 'hello'
p23 16. evaluates a block with argument. Produces Dialog box 'boo' then 2nd box 'hello'
width:       Lb22 d21
with:   24 13 Lb 26d8
withCRs       withCRs
[ ] whileFalse: [ ]   20
31
11
19
Tut 12. whileFalse: , Lb20 p2
Lb 23 p3
[ ] whileTrue: [ ]   20 11 Tut 12. whileTrue: , Lb20 p2
windowSpec       Class methodwindowSpec helps to find GUI errors

| Top| Index of Methods|

General Index

General IndexA B C D EF G H I JK L M N O P QR S T U V WXYZ


Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
-->   23 11  
Abstract classdesign   21 9  
Abstract classes   21
45
7
19
Lb 21 , 22 , 45
Abstract methods   45 19 Provide default behaviour, that is overridden in subclasses. Also see base & template methods
abstraction   1 7 Top of Page
accessor message, accessor message pairs   9
20
8
7
Lb9 d6. getter, setter
accessor methods   13 13  
accessors for attributes   27 16  
account button   7 6  
Account Class 7      
accounts   27 15  
action button   5 19  
addBeverage:priced:   27 14 Vending Machine
addMachine:   27 14 Vending Machine
affordance   5
19
10
12
 
Air-traffic control       Lb 26 , Check Queues section out for the previous TMA.
allSubclass   21 6  
allSuperclasses   21 6  
Amphibian Abstract Class 8 21 8 Appears in LB22
analysis   1
4
33
43
7,8
5
6,7
4
 
and   16 17 See & in method index
animation   7 5  
answer   6 19 Tut 1. Glossary
anthropomorphic language   35 16  
anthropomorphism   35 16  
application   4 11  
application model   39 19  
application software   1 14,20  
architecture -computer   48 3  
argument   6
8
16
7
 
Argument expected       Lb17 d5 Error message
Arithmetic Operators       + - * / // \\ See methods table above
ArithmeticValue Class 27 21 13  
Array class 18 24 7 Collection class diagram , Lb22 d9 , 11
ArrayedCollection abstract class 18     Collection class diagram
array - literal elements   24 8  
ASCII   9
22
31
15
11
6
ASCII Codes
assess button   7 8 Top of Page
assignment (concept of)   10 8  
assignment and messages - visulising   10 15  
assignment expression   10 9  
assignment of a collection       assignment and literals   10 9  
assignment symbol   10 9  
assignment verses messages   10 19  
Association class 37 23
33
11, 12
5,12
 
association type   33 13  
authentication   50 16  
Attaching a user interface to a model       Lb27 p12
attribute   4
6
9
4,6
Lb 6 d2
Called instance variable, later in course.
B C   General IndexA B C D EF G H I JK L M N O P QR S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
backbone   50 9  
class       Collection class diagram Similar to Set class, but tallies the number of duplicates.
balance   27 11,12  
Base methods   45 19 Lb 23 , 26
Provide behaviour useful to subclasses.
Also see abstract & template methods
basket   7 6  
Behaviour Class 11      
behaviour   4 5,9  
behavioural requirement   32 5  
behavioural specification   32 10  
beverage   27 8,10,14  
beverages   27 14  
binary digit   1 15  
binary digits   31 5  
binary file   31 8  
binary message   9 15 precedence
binary messages   14 10 Tut 1. Glossary
binary message selector   9 14  
binary selector   14
21
10
5
Tut 1. Glossary
bit   1 15  
bit manipulation   21 17 Top of Page
bits   31 5  
black-box testing   27
28
19
4
 
block   16 11 Lb16 d10. Nested blocks. Tut 12. Blocks
block arguments   23 16 [:anArgumentName | aMessageExpression ] A popular argument name is each
Blockclosure Class 12 16 11 Tut 12. Blockclosure
Blocks   23 16 Tut 12. Blocks , Lb23 p4
Boolean Class 13      
boolean   16 15  
boolean condition block   20
31
11
19
Tut 12. Blocks
boolean expressions   16 12 Tut 12.
bootstrapping   48 10  
BOSS   31 31,32  
bottom-up       Lb 27
boundary values   27 22 Tut 12. boundary values
branch   21 4  
buffer   31 15  
button help   7 5  
bytecode   17 6  
ByteString class 20 24 15 Collection class diagram
ByteSymbol class 21      
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
Can't start an LB       How to use debugger to solve problem
calling a primitive   21 18  
caret   14 5  
cascaded message expression. 42 14 12 Lb14 p15
Character Class 34      
CharacterArray abstract class 19 24 15 Collection class diagram
character   9 15  
character   22 15 Lb22 p14-21. p18-Creating instances of Character useful for value:, cr and tab
check box   5
39
20
23
 
circular references   31 31  
class   6
9
17
21
33
8,12
10,14,15
51,52
5
5
Top of Page
Class Browser       How to add a full class browser
Customise Class Browser Syntax Colours
Lb13 p1. Simple Class browser
Lb15 d1. Additional features
Class Browser - How to display coloured code       Coloured code in a Class Browser , Lb 27
class descriptions   42 9  
class editor   27 36 Lb 27 p6
class hierarchy   21 5  
class library   9 5  
class initialize method prevents LB opening       How to use debugger to solve problem
class method   27 35  
class methods  

16
22

4
6
 
class method that sets an instance variable       Lb 26 , Check classes Plane, and Order in Class browser. Make a list of instance variables, then check Class methods.
class reporter   27 36 Lb27 p5. Class reporter tool
class testing   28 6  
class variable   27 35  
class variables   22 6 Lb22 p2. Creating and initialising
Lb22 p5. Instances accessing class variables
Lb22 p6. Automatically initialising .
Lb22 d6. Tip:- temporarily include a Dialog warn:
LB 22
class-association diagram   33
42
14
4
 
class-association matrix   33 27 Top of Page
class-instance variables   22
27
5
12,14,39
Tut 5. class-instance variables
client   2
20
35
6
5
15,21
 
close   31 15  
code   1 20  
code review   27 19  
code templates 42      
collaborating objects   6 20,22  
collaboration   20
33
35
46
4,5
5
4,15
4
Lb6 d12. A very early use of collaboration, and a good example.
collaborator   35 14  
Collection abstact Class 15 23
24
4
5
Collection class diagramLB 23 Collections: Sets and Dictionaries Contents Tutorial 23 Collection class downloads
collections   27 16  
Coloured code in a Class Browser       Coloured code in a Class Browser , Lb 27
command-line interface   5 5,11  
comment   12
13
5
5
 
common message protocol   21 7,9  
comparison operator       Tut 12.
compiler   17 5,16  
compile-time error   17 8 Top of Page
component   1
4
6,10,14,17,18,19
4
 
component-based software   43 6  
composing messages   9 17  
computer system   1 16  
concatenate   9 14 concatenate
Lb9 d10
concatenating   16 19  
concrete class   45 50  
conditional expressions       Tut 12. conditional expressions
conference   12 6  
constants   22 6  
constraint   32 5  
contents   31 19  
contentsOfEntireFile   31 12,19,39  
continuous representation   40 28 (Direct manipulation)
Control Stuctures:- Decisions and Loops       Tut 12. Control Stuctures:- Decisions and Loops
conversion of numbers   21 14  
copy   29 13  
converter class       Lb17
converter message   29 14  
correctness   12 4  
cr       Lb22 p18-19 character
crashes       preventing crashes
Creating a new pagein a LearningBook       Lb27 p4
Creating the Counterapplication       Lb 39 Session 1
Creating a simpleATM       Lb 39 Session 8
Crtl Q       Lb20 p2
current directory   31 12 Top of Page
currentDrink   27 15  
currentPin   27 15  
D . General IndexA B C D EF G H I JK L M N O P QR S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
Date class 35 22 7 Lb 22 Practicals 7-10
aVariable :=Date today   22 7-8  
debugger   17 8 How to use debugger
debugging   27 19 How to use debugger
Lb 17 Dealing with Errors in Expressions
debugging book   17 23,46,47,49,50 How to use debugger
debugging tools   17 46-49  
delete   31 12,39  
denominator   21 20  
dependent   27 25  
dependency mechanism,   39 9  
dept   27 11  
design   1
4
33
43
7
5
6,7
4
 
design directive   32 8  
design document   42
43
5
13
 
design principles   5
41
8
3,17,36
 
design process   27 8  
design rationale   41 17,25-29  
designing   41 8,13,19,26  
designing user interfaces   41 5  
detect:   26 8  
developer's perspective   12 5  
Dialog Class 26      
dialog   16 4 Tut 16. Dialog boxes
dialogue control   41 8,13,21,36-40  
dictionaries   27 16  
Dictionaryclassclass   10
23
18
12
Collection class diagram
direct manipulation  

5
40

16
26
 
directional usage of associations   35 19  
directoryContents   31 13,39  
direct subclass   15 11  
disciple   39 9  
display pane   24 11 Tut 1 Workplace Animation
discount usability engineering   41 5,37  
Display show:   24 11  
distributing intelligence evenly   35 29  
divider line   39 27  
do nothing       Lb-39 d26
document   4 10  
documentation   41 8,9,13,21,27  
domain model   6 22  
domain model   9
27
6
4,25
 
double quote   13 5  
downward compatibility   48 6  
drinklist   27 15  
dynamic compilation   17 7  
dynamically   16 14  
efficiency   21 19  
EIS   27 8,12 Top of Page
elements   23 4,6  
email   1 11  
employee information system   27 12  
employees   27 13  
empty   29 9  
empty string   16 7  
encapsulate   26
43
24
19
 
encapsulated   13 11  
encapsulation   43 13,17  
engine   31 10  
enumerating messages   23 18  
environment   9 5  
equality   16 14  
error - logical & semantic
error - syntax
  17 10
19
Lb 17 Dealing with Errors in Expressions
How to use debugger
error messages 44     error messages Tut 2
error messages hints and tips
Lb 17 Dealing with Errors in Expressions
error page   17 47  
essential-use-case   41 5,12,13,36,37  
etiquette   12 6  
evaluate       Tut 1
evaluating a user interface   41 8,19  
exception
exception - handling
exception - raising
  17
17
17
8,10,11
8,11
11
error messages Tut 2
Lb9 d2 'exception' notifier window
How to use debugger
Exception notifier   17 22  
execution speed   21 18  
execution stack   17 46,47,50  
exists   31 13,39  
exit   7 5  
expert evaluation   40 32  
explain button   7 8 Top of Page
expression
expression - nested
  9 7
17

parenthesis
expression series   9 7 Lb9 p4
external stream   31 14  
externalReadStream   31 17,20  
F . General IndexGeneral Index A B C D E F G HI JK L M N O P Q R S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
False Class 13      
feedback   5 10  
feedback   19 12  
field   5 23  
file in   31 32  
file name extension   31 9  
file out   31 32  
filename   31 12  
fileSize   31 13,39  
Finding a method in class browser       Finding a method in class browser
Find next text... button       Lb27 d5
First Class   2 7,8  
firstIndex   26 6 (can disreguard)
first-party testing   27 19  
flaming   19 12  
Float Class 33 21 14,22  
floating point   21 21  
format   31 4  
Fraction Class 29      
fraction   21 14,19,20 Lb21 p16,17
Frog Class 9      
Frog methods (list of)   21 29  
FTP   2 6  
garbage collection   10 3 Lb10 d7
GC cursor (Garbage Collection)       Preventing crashes
GC cursor
generalisation relationship   33 10  
get message   9 8  
get message   20 7  
getter message   28 7 Tut 1. getter
getter methods   13 15  
global variable   27 27 Tut 5. Global variable
global variables   22 5 Top of Page
graphical interface   6 7  
graphical user interface   5 5  
greater than >   16 16  
greater than or equal to >=   16 16  
group box   39 27  
group working   19 6 Lb27 Session 4
GUI builder   27 8  
GUI interface   5 5  
Handles   35 20 LB 45 p9
hardware components   43 7  
HCI. See human-computer interaction        
help   7 6  
hexadecimal       hexadecimal
c22s3d16.htm
high-level language   1
17
15
5
 
Hospital
Responsibilities, collaboration
Walkthrough
Orchestrating instance
Create a new patient instance
Handles, Keeps track
Design
Invariants
  33
35
35
35
35
35
45
33

5-39
8
12
18
18,20
7-28

22

LB 45 Session 1 implementing
LB 45 Session 2 responsibilities for recording information
LB 45 Session 5 keeping track
LB 45 Session 6 actions described by walk-throughs
postCode: aString
hot key   5 18  
HoverFrog class methods 9 21 32  
HTML   31 7,9  
HTTP   2 6  
human computer interaction   1 8,21  
icon   5 19  
identity   6
16
8
19
 
image file   31 10  
immutable object   9 16 Lb9 d13
immutable objects   21 16  
implementation   33
43
6
4
Top of Page
implementation directive   32 8  
incremental prototyping   43 14  
indirect subclass   15 11  
inequality   16 16  
information   31 5  
inheritance   15 6  
inheritance hirearchy   21 4 Lb15 d3. inherited protocol. Collection class diagram
initial comment   13 5  
initial statements of requirements   27 7  
initialise   6
22
11
8
 
input field   16 6  
input/ output field widget   39 5  
inspector   9 7 Tut 3 Inspecting
Tut 3 Inspector window
instance   6 8  
instance method   27 35  
instance protocol for streams   31 14  
instance variables
(also see temporary variables)
  13
22
27
8
4,5
12,14,35
Tut 5. instance variables
Integer Abstract Class 31      
integer   21 14,15,18 Lb21 p1
integer division   21
22
20
10
 
integration   33 6  
interaction design   40 5  
iterating messages 42      
interface   5 5  
interface help   7 6  
intermediate code   17 6,7  
internal stream   31 14  
Internet   1
2
6,11,1
2
4
Top of Page
interpreter   17 6  
intersection       Lb 23 d2 The intersection (the common elements)
intuitively       (Direct manipulation)
invariant   33
34
20, 22
14, 23
 
is-a-kind-of relationship   33 10  
is not supported by your model      

Error Messages--- is not supported by your model

Answer to problem

iteration (Loops)   20
23
10
18
Tut 12.
iterator   23 6,18  
Iterating through an instance of OrderedCollection      
J K . General Index A B C D E F G HI JK L M N O P Q R S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
just-in-time compilation   17 7  
Keeps track   35 18,20  
key   23 10  
keys and values
keysAndValuesDo:
  27 16 Lb 23 7-8 , Lb 24 6 , 8Lb 31 4 , 6
keyword   6 16,17 Tut 1. Methods
Tut 1. keyword
keyword expressions   14 10 hoverFrog1 hover:Up by: Lb6 d10
keyword messages   14 10 precedence
Tut 1. keyword
keyword selector   14 10  
knowing the user   41 8,19,23,25  
label widget   39 27  
LAN   27 5  
largeInteger   21 18  
LargeNegativeInteger   21 18  
LargePositiveInteger   21 18  
lastIndex   26 6  
Layout style   16    
leaf   21 4  
LearingBook   4 7  
LearingBook won't open       How to use debugger
LearningWorks   1 6,13,23 Top of Page
less than <   16 16  
less than or equal to <=   16 16  
library   9 5  
LIFO   29 17  
lift   7 5  
limitedPrecisionReal   21 21  
List class   39 27  
list widget   39 25  
literal   10
14
29
6
9
11
Lb10
literal - creation of objects   23 12  
literal constant   21 16  
literal constants   22 11  
local area network   27 5  
local variable   17
22
15,16
5
Tut 5. local variable
location   27 15  
Logical Comparisons       Answer true or false. Format:- (value comparisonMessage value) E.g. (3 > 2) answes false
<, >, <=,=>, ~=,=,==. See under methods above
logical comparison operators
logical error 42 17 10  
Loops - looping - (Iteration)       Tut 12 , Errors Endless Loops
low-level language   1
17
15
5
 
machine   27 14  
machine code   17 5  
machines   27 14  
Magnitude class 27 21 4,12 Lb21 p9-14
makeDirectory   31 13,39  
Maintain        
many-to-many association types m:n
avoid using
  33
34
18
22
Top of Page
Master and disciple   39 9-10  
MECEBS Morgans entertainment
Responcibilities, collaborations
Design
Invariants
  34
37
45
34
4-15
29-37

 

14
LB 45 Session 3 implementing
LB 45 Session 4 responsibilities for recording information
LB 45 Session 7 keeping track and walkthroughs
menu bar   5 17  
message   4 5  
message   6
9
6
8
 
message - accessor   9 8  
message - binary   9 14, 15  
message-end   17 47  
message - get
  6
9
8
8
 
message-send   17 49 debugging
message - sending   6
7-8
 
message - selector
  6
17,19
 
message - set
  9
8
 

message selector -keyword-binary
message selector -unary

 

9

14

14
15,17
10

 
message answer expression   14 5 ^messageExpression
message answers - text descriptions   10 7  
message answers v their text descriptions   9 13 Review question 6
message composition   9 17  
message expression   8 5 Tut 1. Glossary
message selector   9 14  
messages page   17 49  
Message not understood       Error Messages--- Message not understood:#
metaclass   22 12,14 Lb 22 p22 Eg Select new in Frog class & use view in class browser to view super new
metaphor   5 12  
method   13 4 Method-Seaching for in LBs
Tut 1. Glossary
Tut 1. Methods
Lb13 p2. Creating a new method
Lb14 p2. Writing a new method that returns an explicit message answer
method body   13 5 Tut 1. Methods
method heading   13 4 Tut 1. Methods
method inheritance   15 6  
method template   13 7  
method testing   28 6  
microwave   7 6  
modal dialogue box   5 22 Top of Page
model   1
27
39
21
24
8
 
Model class 39 39 16  
model-user interface   39 15  
modulo division   22 10  
Morgans entertainment seeMECEBS  
move to   7 6  
MUI. See model-user interface        
multiplicity   33
46
13
5
 
N . General Index A B C D E F G HI JK L M N O P Q R S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
name   6 8  
name   27 10,11  
native language   21 17  
navigation   35 11  
navigational aids   40 30  
negotiated statement of requirements document   32
41
45
10
5,7,13,14,16.19
Hospital 7, Morgans 29
 
nested expression   9 17  
nested expression as reference   10 7  
nested blocks       Lb16 d10
network computing   1 6,11  
nil   16 5  
node   21 4  
non-behavioural requiremnt.   32 5  
NonBoolean receiver--proceed for truth       Error Message. NonBoolean receiver
Exercise to create message
non-modal dialogue box   5 23  
NoOfEmployees   27 13  
not   16 17  
notifier   17 22,46  
'Nothing more expected-->       Error messages---Nothing more expected-->
Lb14 d5
noun   33 25  
noun phrase   33 25  
Number class 28      
number   9 15  
number   21 14  
number   27 15 Top of Page
number conversion messages       Lb21 p11
number expression   10 5  
number literal   10
21

6
16

 
numerator   21 20  
object   4
6
15

4,11,
5,6,20,22,8,21,6,10
5

 
Object Class 4      
object - collaboration,

 

  6
6
20,22
6,10
 
object identity   46 5  
object creation   8 5  
object-interaction diagram   6
8
10
21
6
14, 16-18
 
object - state of   6 6,10  
object model   33
41
42
23
7,13,15,16.18.20,31,36
5
 
object modelling   1 7  
object - name   6 8  
object reference   10 5  
object-oriented analsis   42 3  
object-oriented design   42 3  
object-oriented technology   1 6,9  
observational evaluation   40 32  
observing users   41 10,40  
one-to-many association type   33 14,17  
open   31 14  
Open Shopping
Responsibilities, collaborations
Invariants
  34
37
34
15-21

 

23
 
OpenDraw   4 9 Top of Page
OpenWord   4 9  
operating system   1 16  
or   16 17 See | in method index
orchestrate   35 14  
orchestrating instance   20
35
9
14
 
orchestration   20
46
4,9
4
 
OrderedCollection Class 22 26 4  
Override   15 6 Lb17 d7
P . General IndexA B C D E F G H I JK L M N O P Q R S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
pane   5 22  
parameter – see argument       Top of Page
parent   39 10  
Pascal   1 20  
pattern recognition   31 22  
perceptualisation   40 28  
persistence   31 5  
persistent   31 4  
persistent memory   31 4  
personalDetails   27 11  
pin   27 11  
plain text file   31 6  
point   21 13  
polymorphism   6 13  
PoolDictionary class   27 29 Collection class diagram
pop   29 17  
position   31 19,20  
posting   19 12  
precedence 43 14 11 precedence
Precedence tool       Lb14 p14
precondition   27 21  
preposition   33 30  
price   27 10  
primitive   21 17  
primitive   31 29  
primitive expression   21 17 Lb21 p14
printHierarchy   21 6,12  
print-string   31 26  
priority queue   26 26  
procedral language   1 21  
processing the basket   7 8 Top of Page
program   1 18  
programming cliché   21 9  
programming environment   1 6  
protocol   2
6
5
9
 
prototyping   41
43
26,37
14
 
pseudo-variables self and super 41 14 9 Tut 5. pseudo-variable
push   29 17  
questions & answers button   7 6  
queue   26 16  
quotient   21 20  
quotient   22 10  
radio button   5 20 Lb39 Session 9
RAM   31 4  
random access memory   31 4 Top of Page
ReadStream   31 26,39  
real   21 21  
real world   35 16  
recap button   7 6  
receiver   6
9
13
14
7
9
8
10
 
receivers page   17 47  
record   27 8  
recursive association   33 16  
readable code   12 6  
redundant association   33 29  
reference   10 5  
reference – concept of   10 5  
references - summary of kinds of   10 7  
references to objects (using GUI )   10 5  
references using number expressions   10 5  
references using object names   10 5  
references using string and number literals   10 5,6  
references v text description   10 7  
registration   19 6 Top of Page
regression testing   27 22  
relationship - Glossary hierarchy       Tut 3. hierarchy
Glossary hierarchy
relationship - Textual       Glossary Textual
remainder   21
22
20
10
 
repetition   20 11  
reply – see answer selector   6 17  
requirements   27 5  
requirements analysis   32 7  
responsibility   8
33
35
6
5
4
 
responsibility-driven design   45 16  
reuse   43 13  
reversible incremental actions   40 28 (Direct manipulation)
reviewing a user interface   41 8,19  
right parenthesis expected.       Lb 17 d2 , Right parentheses is expected
root   21 4  
rounding down   21 27  
rounding up   21 27  
rountangle   10 11  
run time -error -system   17 6,10,8  
S . General IndexA B C D EF G H I JK L M N O P QR S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
Save your work, and Backup       Save your work, and Backup
scalability   40 30  
scenario   8
41
9
12-13,24,26
A textual description of an interaction with user interface
scope   22 5 Tut 5. Scope
seamless   33 7  
search engine   2 6  
selection   16 3  
selection setter in GUI   39 26-27  
selector   8
9
7
14
 
selector   24 21 Top of Page
self   13
14
5,6
9
Lb13 p2
self subclassResponsibility       see: look up the Method index without including the self
self reference   27 29  
self-testing   27 19  
semantic error   17 10  
semantics   14 9  
sending   17 49  
separable user interface   6 23  
SequentialCollection abstract class 16     Collection class diagram
server   2 5  
server   20
35
5
15,21
 
Set class 24 23 8 Collection class diagram
set message   9
20
8
7
Tut 1. setter
setter message   28 7  
setter method   13 13  
SetToEnd   31 22  
shelf   7 6  
show   24 11  
simulation   1 18  
situation analysis   41 5  
skip   31 22  
skipToAll:   31 22  
slider widget   39 7  
SmallInteger Class 32 21 15  
Smalltal   1 20  
smalltalk   27 29  
smalltalk code   12 3  
smalltalk statements   13 5  
smalltalk syntax and usage 41      
socio-technical systems   41 7  
software   1 18  
software component   1
4
43
18
4
10
 
software development   1
12
6
4
Top of Page
software properties   12 3  
sort block   26 14  
SortedCollection Class 23 26 10 Lb 26
sources file   31 10  
space   31 17  
specification   28 4  
stack   29 17  
staffmember   27 9,11  
staffNo   27 11  
startMachine   27 14  
state
(see instance variable)
  4
6
27
9
6,10
16
 
statement of requirements   27
32
5
4
 
statically   16 14  
stepping   17 49 Lb 17 Dealing with Errors in Expressions
story board   41 11,24,26,32  
stream   31 12  
string   9 10,14 empty string
String abstact class 20 24 15,16 Collection class diagram
string literal   10 6  
style guide   41 5,37  
subclass
  6
15
14
4
Lb 15 p2 Creating
subclass -direct -indirect   15 10  
subclassResponsibility   21 10 See method index
substring   29 14,15  
subtree   21 4  
summary of kinds of reference   10 7  
superclass   6 14  
symbol   24
19,20
Top of Page
Symbol abstract class 21 29 11 Collection class diagram
synchronous   1 8  
synonym   33 26  
syntax   14 9  
syntax elements .   ;   " "   #   #( )  | |   $   ' '   [ ] 41      
syntax error
syntax error reports
  17
17
9
43
 
system   1 16  
system dictionary   27 29  
system software   1 20  
T . General IndexA B C D EF G H I JK L M N OP Q R S T U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
tab   31 17 Lb22 p18 character
task
task help
  7
7
4
6
 
task allocation   41 7,21,39,40  
telocentric design   41 6,36,37  
think-aloud   41 17-19,25-26,37  
template method   45 19 Lb 22 , 24,26.
Also see absrtact & base methods
temporary variable   16
17
22
7
13,14
5
Tut 5. temporary variable
A way of not using variables. Lb29 d1
terminology- basic       Tut 1. Terminology
Tut 1. Glossary
testing

 


testing - white and black box,
testing - method and class
testing - account class
testing - user
testing - user - limitations/dangers
  17
27
33
28
28
28
40
40
21
19
6

 

 

33
36
Tut 12. Testing code
Lb27 d10 , Lb29 d2
testing strategy   28 4  
text editor   31 6  
text interface   6 7  
textual analysis   33 25  
textual representation   9 10

Lb10 p1
Lb10 p1 References versus textual representations.

textual representation- faulty answer after adding attribute (instance variable)       Tut 1.Faulty textual representation
third-party testing   27 19  
thread   19 12  
Time Class 38 22 9  
timesrepeat   20 10  
TMA class   29 12  
Toad class methods 10 21 34  
tool   9 7  
top-down       Lb 27
tracing   17 24 Top of Page
triggering message   13 9  
True Class 14      
truncated   21 15  
TwoByteStringclass   24 17 Collection class diagram Is used for the "exotic characters" that require 2 bytes of memory. Similar to Bytestring that uses 1 byte. The use of Bytestring or TwoBytestring is automatic.
TwoByteSymbolclass       Collection class diagram
unary expressions   14 10 Tut 1. Unary
unary messages   14 10 precedence
update messages   39 11  
undefined   16 5  
UndefinedObject Class 40      
Unhandled exception:
Message not understood: #......
My subclass should have overridden one of my messages'.
This message is not appropriate for this object'.
     
Lb17 d7 Error Messages--- Message not understood: #
Lb21 d10
Lb21 d12
Unmatched comment quote       Lb17 d3 Error message
usability   5
12
8
4
 
Use-case   41 12 e.g. A telephone salesperson, answers a call
user   35 9  
user interface   5 6 7 19 27 3 7,23,7 5 8 24,25,35  
user needs analysis   5 8  
user-centred software   5 7  
user-centric design   41 37  
user's perspective   12 5  
V General IndexA B C D E F G H I JK L M N O P Q R ST U V WXYZ
Subject Sm Hnd Chapter Page Lb Number Practical/Discussion Number. or Comments
value identity   46 5  
variable   10
13
17
9-10-14
15,16
13,14
Tut 5. Variables (also see: class, class-instance, instance, global, local, pseudo, and temporary variables)
variable -correct use of terminology   10 11  
variable declaration   10 15 Top of Page
variable name   10 14  
variable-reference diagram   10 11, 14  
variable-reference diagram - limits of   10 14  
variables versus objects   10 19  
VATLAN Administration   27 14  
VATLANAdmin   27 8,14  
vending machine   27 8,14,15,31,37 Lb27 p9
verb   33 29  
verb phrase   33 29  
virtual computer   1 10  
virtual machine   17 6  
virtual machine   31 10  
visibility   5 10  
visibility   19 12  
visualisation   40 29 (Direct manipulation)
VMAaccount   27 9,12  
volatile   31 4  
walk-through   35 8  
Web Page   2 5  
Web Site   2 6  
white-box testing   27 19  
white-box testing   28 4  
widgets   39   action button, check box, divider line, group box, input / output field, label, radio button, slider, text editor
Will not be optimised       Will not be optimised
window   5 22  
workspace   9 7  
WriteStream   31 26,39  
WWW   1 11  
zombie   39 16  

| Index of Methods| General Index| Top of Page|

Amendments
10 June 01 Correction- remove isNumber see isReal
17 June 01 Additions
14 Oct 01 Additions

 

Copyright © John McGuinn 2000 -01