Next:
Logging on to Igor
A Gentle Introduction to Computer Science
Sebastian Danicic
Please print these
notes
.
Logging on to Igor
Logging on to Igor from a Mac
Logging on to Igor from Microsoft Windows
Useful but not essential information
Copying files from a Mac or PC to igor
Using nedit on igor
Running Hope on Igor
Another way Running Hope on Igor
Values and Types
Numbers
Exercises
Booleans
Boolean operators
Exercises
Exercises
Exercise
Combining Boolean operators
Exercises
Conditional Expressions
Simple Conditional Expressions
Exercise
Errors
Combining Expressions into More Complicated Ones
Exercise
Functions
Simple Functions
Exercise
Functions with More than One Parameter
Exercise
Exercise
Defining Functions in Terms of Other Functions
Exercise
Recursion
Defining Recursion
Examples
Exercise
Euclid's Algorithm
Exercise
Pattern Matching
Exercise
Lists and Tuples
Examples of Lists
Exercises
Lists of Lists
Exercises
Errors
Exercises
The Empty List, Cons, Head and Tail
Exercises
Defining Functions on Lists
Exercises
Counting the number of Elements in a List
Exercises
Appending Two Lists
Exercises
Reversing a List
Exercises
Tuples
Examples
Exercises
Problem Solving using Stepwise Refinement
Example
Specifying the Problem
Solving the Problem
Another Example - Sorting a List of Integers
Assignment
s.danicic@gold.ac.uk
Sebastian Danicic BSc MSc PhD (Reader in Computer Science)
Dept of Computing, Goldsmiths, University of London, London SE14 6NW
Last updated 2010-12-29