Tuesday, 19 November 2013

Use algorithm properly

Approaching to the end of this course,  the topic of algorithm is brought up again in my CS career, I have learn it in the CSC108,  it is not too hard to understand, but if we don't pay attention on it , it would be a hardcore for us. No matter how smart you are. OK ,back to the topic. whenever we mention algorithm,  the first one come up to our mind is Bubble sort, well , I have to emphasize that this is the worst one to use.. Like , President Obama said before in a talking show"people never use the bubble sort!". Any else? YES, there are mege sort, quick sort, build-in sort etc.... This week's lab, I observed their running time, get a general ideas of each algorithm, how they are work, how many literary they used each time....I think it would be really help for me in my future efficient programming or coding.

Monday, 18 November 2013

Efficiency

As a programmer, we are not just finishing code, we have to think how to write the code efficiently, because, the computer is the tool that simplify the work load. So whenever we write a code, we have to have keep the world "efficiency" in mind...

Wednesday, 6 November 2013

The logic

umm.. almost forget here, i am back now.....well, really busy last few week, just finished A2, i learned a lot from this, such as tree structure, recursion...etc... the most important the things that i realized is the logic of coding and programming... whatever the computer language you using, the logic is the unique.