Week 5: Algorithm

This is the first computer science class after the golden week. In the golden week, we finished our writing about binary, which is the basic language of computer. This week, we started a new topic, which bring us inside the computer deeper.

10/10/2017: Presentation Day! 💻

In our first class, we continued our presentation concerning output, input and storage devices. Before the presentation, Mr. Pete taught us a way to shorten our web links, through a magical website. When we are not able to copy the link directly or send it to the device we want to share to, the link-shorten technology would be used.

The first group who presented their work was the storage group. They showed several types of storage devices, including flash disk, CD, DVD, etc. They have different properties: some like a SSD or a flash disk is quicker, while HDD is slower in input and output data. Also, SSD is usually smaller in size, usually used in laptops, while HDD are frequently used in desktops, due to its low price and large storage.

We were the second group who presented our work concerning input devices.

10/12/2017: Algorithm

Algorithm is a set of clear instruction to tell computer hardware what to do. It is everywhere. Many of the algorithm is math problems. Through specific algorithms, we can solve daily questions. We watched video, which taught us to put a set of values in order from smaller ones to larger ones. The first algorithm was quite slow: it compare each pair of values next to each other, then change its order if the larger one is on the left side. However, after improving, it worked several times faster than the original version of the algorithm. As a result, algorithm is always evolving. Another application of algorithm is the face-identifying program in our phones.

代码.jpeg