2013年3月8日星期五

week 7

This week was the first week after reading week. I felt like I didn't prepare for classes begin. I was too relaxed during reading week because I had four midterms before it so there was nothing left to study.

This week I learnt something new which was how to convert numbers into binary. It was really interesting to learn. If a number is odd, it is obvious that it cannot be divided by 2. So the last bit on the right is 1. It gives you a small chart to guide you when you are doing some multiplications and adding. I think the calculation for binary is similar to base 10. You just need to remember the result for several conditions, such as adding 1 and 0 or multiply 1 and 0. The only thing that is distinct from base 10 is the representation of decimal place. In base 10, if we move the decimal left by one digit, the number will be 10 times smaller whereas in binary, the number is reduced by its 1/2.

Binary can also apply to image colors, and sound. Because the color list of one image can be expressed by four main elements, which are red, green, blue, and opacity, there are 2 to the power of 32 kinds of colors exist.

This week I also learnt how to use other letters to represent a string. For letters are from A-M, you add 13 to find the corresponding letters, and for letters from N- Z, you basically subtract 13. You can get a new string using this algorithm.

This week I needed to finish the second part of Wikipedia assignment. I spend a lot of time on reading the wikipedia practices and conventions.

2 条评论: