CP104 Lecture Notes - Lecture 7: Binary Number, Readwrite
hayjayshay and 38575 others unlocked
2
CP104 Full Course Notes
Verified Note
2 documents
Document Summary
Program and data is stored (and run and transmitted) in binary, a sequence of 1s/0s. Memory location holds 8 bits: 1byte=8bits, 1 word = 2 bytes = 16 bits, double word = 4 bytes = 32 bits o quad word = 8 bytes = 64 bits. What does it mean to be a 32 or 64 bit system: 64 bits means it will load in in parallel 64 bits of memory every time it does a read/write. Storing numbers: binary number system, negative and real numbers have special variations o see slide, everything is stored in 1s and 0s. Storing characters: uses coding system in a specific pattern, ascii (american standard code for information interchange)** -> expanded into something called unicode, ex. A=65=01000001 (or 65 decimal), b=66=01000010, a=97=01100001 o there are lower cases, upper cases