==register== has ==predefined== number/limit of bits it can store/represent
overflow error: value returned/generated is greater than register can store
result of calculation require (number of bits) to be represented
(e.g greater than 255 in 8-bit register i.e ==TOO MANY BITS==)
binary shift
(positive integer) left shift: multiplied. right shift: divided. by 2^(number of shifts)
most/least significant bits lost -> incorrect value
3 number system
DDD
Binary - base 2. two values: 0, 1. all data and characters represented in binaryary - base 2. two values: 0, 1. all data and characters represented in binary
2. Identify patterns of elements -> grouped and indexed with number of occurrence and position
3. Repeating sequence of elements encoded in two values: run count and run value
4. Groups repeating data and store how many times they occur. Resolution is stored with data so computer knows the size to recreate it when decompressing