level | Description |
---|---|
data Structures | You can think of these as an individual "thing" that can contains collections, data structures, data types, ... Note: You can have a list (collection) of objects and data structures. |
data types |
For example:
|
of bytes |
One byte is to small,
so we use several adjacent bytes (collection of bytes)
as a "thing". (A data type.)
Collections of bytes are used as data types in programming languages. For example:
|
| |
decimal numbers | Bits in bytes are difficult for humans to use, so we assign the number 0 to 255 to bytes. Number are easier to think about and logically manipulate. The numbers 0-255 are the conversion to decimal (base 10) of the bits (base 2) in a byte. |
8 bits. This is the smallest unit of memory. Each byte in memory is addressable by a unique address starting at zero (0). Note: The industry has settled on 8 bit bytes as the standard. However, in the past I have worked on a computer that had 9 bit bytes. | |
A bit in hardware is a circuit that is either ON or OFF. We (humans) assign the numbers 0 and 1 to bits. |
.
.