List and Memory Flashcards
List
An ordered list of values. Items in the list are sometimes called elements. Can get the value of an item by using square brackets and the index of the item.
Memory
Information and the medium on which it is stored for immediate use by a computing system. Memory can also refer to the device which stores the information.
RAM is Random Access Memory.
Reference
A value which enables a program to directly access a datum (a piece of data). Synonym: Handle.
Contiguous
Things that are directly next to one another. In many languages data in an array is stored in contiguous chunks. Synonym: adjacent.
Used in a sentence: It’s easier to write a collection of data to media when it is contiguous or adjacent to one another.
Side Effect
Any lasting effect that occurs in a function, which is not through its return value.
Mutable data type
Any type of variable which can be modified without changing the reference. Synonyms: changeable object