Wednesday, 13 July 2011

Today I have a blog...

...but not really. I don't really see myself as a blogging type of person. This is simply to prove I can do it!

If you wanted to think about your homework, let me remind you what it was:
  • You were writing a webpage to encode some text - some of you got on better than others :-)
  • I gave you a print out of some working code...the page in action can be found at student.cherwellcomputing.co.uk/jws/code.html
  • Your task is to annotate the code to explain what each line is doing
Do you want to know what we're doing next...? If you think about it you can probably work it out. You written a page that will convert some code into text...so what do you think you need to do next?

OK, that was too easy, and the program you've written is too easy to break. Instead of simply shifting letters by a constant value, extend the program to shift letters by an amount that changes with each letter.