2010-10-06

The power of programming

Yesterday’s blog posting was fun to create. I had wanted to write something in binary code, but I hadn’t wanted the tedium of coding each character of the post by hand—so I wrote a program to do the work for me!

I wrote the program code in Turing, the great language that my students will soon learn. The program took each line of my text and converted it to a bitstring—then I posted those strings in my blog!

Today, I introduced students to the notion of decimal equivalents of bitstrings and provided them with an abbreviated ASCII chart. Using that chart, they decoded yesterday’s blog posting.

01010100011010000110000101110100001000000110100101110011001000000111010001101000011001010010000001110000011011110111011101100101011100100100000011011110110011000100000011100000111001001101111011001110111001001100001011011010110110101101001011011100110011100100001

3 comments:

  1. What does this mean? I tried decoding it myself and got "That is the power @ 222 204 @ 224 228 222 206 228 194 218 218 210 220 206 0100001" (The last bit is missing a digit, so I couldn't decode it). I'm confused as to what this is supposed to be... is it some sort of code within binary code?

    ReplyDelete
  2. I'm not sure, but I think it's supposed to say, "That is the power of programming."

    ReplyDelete
  3. yeah probably, but how do you get that from what is above?

    ReplyDelete