Lab 1: We decided to basically split each column on the punch card into two so that we could store twice as much data. This would allow for 36 different characters and we would be able to store up to 160 characters. This leaves space for all the letters plus ten other characters (punctuation or something else).
100000000000 = A
100000010000 = Ab
etc.
Lab 2: 01000010011001010010000001110011011101010111001001100101001000000
11101000110111100100000011001000111001001101001011011100110101100
10000001111001011011110111010101110010001000000100111101110110011
00001011011000111010001101001011011100110010100101110 translated to "Be sure to drink your Ovaltine." Each combination of eight 1's and 0's corresponded to a different letter. 01000010 for example is B. I used this website to translate the binary.
Wednesday, September 23, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment