PROGRAMMING SYSTEMS OF DATA - GitHub Pages

PROGRAMMING SYSTEMS OF DATA

Michael Garland, November 2020

DATA

Program

Knowledge, Models, Actions, ...

How do we organize the external data that a program accesses/acquires?

How do we organize the internal data that a program processes/generates?

DATA STRUCTURES

Every programming system provides common building blocks

>>> powers_of_two() List [1, 2, 4, 8, 16, 32]

>>> identify_speaker() Dictionary {'first name': 'Michael', 'last name': 'Garland'}

Array

>>> A = numpy.ones((5,8), dtype=int) array([[1, 1, 1, 1, 1, 1, 1, 1],

[1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1]])

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download