CAS CS 111 Lecture 14: CAS CS 111 (Lecture 14 Notes)
CAS CS 111 verified notes
14/38View all
Document Summary
Cas cs 111 - week 4, lecture 14 - binary numbers. *as professor sullivan counts lectures from 0, this is considered lecture 13 in class. A binary n mber is wri en in only (cid:343)0(cid:344)s and (cid:343)1(cid:344)s. Consider binary as another way of counting! In the decimal system, we count by ones starting from the ones place, then moving to the tens , then hundreds . Cool note, you can tell if a binary is even or odd if it ends in 0 or 1 . The only odd power of two is (2 * 10 0 ) or the number, one. Binary numbers that end in 1 have a number in the ones (2* 10 0 ) place, meaning the number one is going to added to the end of all these other even powers of 2. A binary that ends in 0 is even because it consists of only even powers of 2.