music
OSdata.com: programming text book 

OSdata.com

data structures

summary

    Control structures and data structures are the stuff that programs are made of.

free computer programming text book project

table of contents
If you like the idea of this project,
then please donate some money.
more information on donating

Google

data structures

    Control structures and data structures are the stuff that programs are made of.

    This is an informal discussion that will serve as background so that the reader will understand the context of the next few chapters.

scalars

    Simple variables are called elementary data items or scalar. These are data items that are treated as a single discrete unit in a programming language. Usually these are items that can be contained in a single element of the underlying hardware.

data structures

    Data structures are any combinations of scalar items or other data structures. The combination of the underlying elementary data elements allow for more complex programming.

    Many computer scientists view data structures as the fundaamental building blocks of programs rather than the program’s control structures.

    Often the algorithm used in a program is determined by the data structures chosen, rather than the other way around.

    Some of the important data structures are: character strings, arrays, structures or records, stacks, queues, lists, trees, graphs, and objects.

Ada

    “31 Every object in the language has a type, which characterizes a set of values and a set of applicable operations. The main classes of types are elementary types (comprising enumeration, numeric, and access types) and composite types (including array and record types).” —:Ada-Europe’s Ada Reference Manual: Introduction: Language Summary See legal information

other

   “2. Functions delay binding: data structures induce binding. Moral: Structure data late in the programming process.” —Alan Perlis, Epigrams on Programming, ACM’s SIGPLAN Notices Volume 17, No. 9, September 1982, pages 7-13

   “5. If a program manipulates a large amount of data, it does so in a small number of ways.” —Alan Perlis, Epigrams on Programming, ACM’s SIGPLAN Notices Volume 17, No. 9, September 1982, pages 7-13


free music player coding example

    Coding example: I am making heavily documented and explained open source code for a method to play music for free — almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).

    View music player in action: www.musicinpublic.com/.

    Create your own copy from the original source code/ (presented for learning programming).


return to table of contents
free downloadable college text book

view text book
HTML file

Because I no longer have the computer and software to make PDFs, the book is available as an HTML file, which you can convert into a PDF.

previous page next page
previous page next page

free computer programming text book project

Building a free downloadable text book on computer programming for university, college, community college, and high school classes in computer programming.

If you like the idea of this project,
then please donate some money.

send donations to:
Milo
PO Box 1361
Tustin, California 92781

Supporting the entire project:

    If you have a business or organization that can support the entire cost of this project, please contact Pr Ntr Kmt (my church)

more information on donating

Some or all of the material on this web page appears in the
free downloadable college text book on computer programming.


Google


Made with Macintosh

    This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser


    †UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

    Names and logos of various OSs are trademarks of their respective owners.

    Copyright © 2010 Milo

    Created: October 11, 2008

    Last Updated: November 14, 2010


return to table of contents
free downloadable college text book

previous page next page
previous page next page