CPSC 110 - Class 7: Arbitrary-sized Data

74 views4 pages
user avatar
Published on 14 Oct 2011
School
UBC
Department
Computer Science
Course
CPSC 110
CPSC 110 – Sept 28, 2011
CLASS SEVEN
FOCUS: Arbitrary-sized data, mechanism, HtDD, HtDF, HtDW
Arbitrary-sized data:
Not all applicants, one or more fireworks all my favourite teams
Making lists? Examples:
Note: end of a list must always say empty
Using first and rest allows points of the list to be brought up as the answer:
Note: These are ‘homogenous’ lists. ‘heterogeneous’ lists will be taught later in the
course
If you don’t know how long the list is, but want to pick a certain part of it:
Also taught later in the course
1
Unlock document

This preview shows page 1 of the document.
Unlock all 4 pages and 3 million more documents.

Already have an account? Log in