Tuesday, September 13, 2011


reading:
lecture book, ch 1, section a
hw: quickcheck at the end of the section

how do we store numbers?
base 2 numbers
decimal = base 10 numbers
binary = base 2 numbers

how do we store letters?
ASCII -
http://www.asciitable.com/

extended ascii
there is also unicode
A

http://www.ssec.wisc.edu/~tomw/java/unicode.html



nibble = 4 bits
word = 2 bytes
dword = 4 bytes

kilobyte = 1024 bytes (2^10)
megabyte = 2^20 (1024 kilobytes)
gigabyte = 2^30
trilobite = extinct marine arthropod
terabyte = 2^40

http://en.wikipedia.org/wiki/Terabyte


try converting the following binary to decimal:
101101

try converting 542 into binary


2 comments: