Abstract
Two elements of data organization are central to program design. The first element is the design of individual components. The second element, which dominates in all but the simplest programs, is the management of many components of a particular type. A text processor must store many words, and a spreadsheet must store the contents of many cells. Although arrays can be used to store many components, an important restriction governs their use. The size of an array is fixed at the time of declaration. Arrays cannot grow and shrink to match changing requirements as the program runs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1995 Springer-Verlag New York, Inc.
About this chapter
Cite this chapter
Grogono, P. (1995). Collections. In: Programming with Turing and Object Oriented Turing. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-4238-3_9
Download citation
DOI: https://doi.org/10.1007/978-1-4612-4238-3_9
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-94517-0
Online ISBN: 978-1-4612-4238-3
eBook Packages: Springer Book Archive