๐Ÿ“— -> 9/25/24: Syllabus / Everything is Bits


When lectures is over, add the content as aliases above

๐ŸŽค Vocab

  • Bit - Binary Digit, 2 values

Syllabus
Lecture Slides

โ— Unit and Larger Context

Small summary

โœ’๏ธ -> Scratch Notes

  • Everything is bits
  • Mapping of bits to meaning is artificial, and up to programmers
    • B bits can represent unique items
    • If you have S unique states you need bits
      • Or the first power of 2 than S
        Int 4 bytes/32 bits
        Short 2 bytes/16 bits
        Char 1 byte/8 bits
        Float 4 bytes/32 bits
        Double 8 bytes/64 bits
        Sizes of variables can vary across systems so if you ever need to know a variables size in bytes keep using sizeof()

๐Ÿงช-> Example

  • List examples of where entry contents can fit in a larger context
  • Link all related words