Introduction to Programming by a drawing game
For the first week of programming, We discussed was to demonstrate the three roles in programs world. Drawing led the students to under the concept of how programming work. There will be three students in a team to play each role. The instructor will give the instruction about how to draw the picture to the one who draws. The instructor represents the idea of doing something before turning to programming. Instructions writer would write the strategy that instructor use, which plays the role of programmer. The last process of programming is the drawer that plays the role after the program is printed out. An algorithm is also the part of programming because it finds the solution to solve a problem as programming does.
Algorithm
When it comes to an algorithm, it can be strategies that give us the ability to solve the problem easier. The strategies for a single problem can sometimes be unlimitable. The purpose of using an algorithm is to solve a problem better easier and faster.
An algorithm that we work on in class this week was to find the sum of (1+2+3+4+5+6……200). After, guessing the answer with different strategies we don’t really know if our answer is correct or incorrect. First, It was very unfathomable to find the efficient answer for the question. But we find out a very useful algorithm pattern for the problem. It is N(N-1) and N stand for the last number of the sum problem which is 200.
To sum up, this splendid lesson has given me the opportunity to discern the basic of programming. It was like solving a problem by finding the best and efficient problem. I am looking forward to learning this kind of subject more to improve myself, as a person who passionate programming.