Monday, March 30, 2015

    In week 9, professor went over the sample solution for assignment two in class, specifically, he talked about the class Minimax. It was interesting to see how a different idea works in the same question, especially, the flexibility under some general instructions. Even though, me and my team might came up with am incorrect solution, but it was inspiring to see a different prospective in programming. Moreover, professor's solution was really clean,short and compacted, and I think this is what a better format to have for the next assignment. Therefore, I will definitely try to change my way of approaching to a question if I get stuck, and try keep my code clean and short.
   Another thing that professor covered in class was test cases. I found it was vitally important to have some correct and efficient test cases to proof that your code is actually working without breaking down. Therefore, I was very concentrated in that lecture, but lots of practices are need in order to perform  well in the final exam.

Sunday, March 15, 2015

    Yeah!!! The CSC term test is over. It turned out to be better than what I was expecting because I have already had an impression what the test will look like from the first test. Moreover, I have some good practice on the three topic that was covered in the test because of the labs and the assignments. Therefore, I am pretty happy with how I performed even though the result will not be available until late.
    We had a class right after the term test, and it was really short. I didn't pay too much attention to the lecture, but I think it was basically some review for the previous topics. But I could be wrong, and I will go back and check with the lab handout for this week. One last thing that I found out is that the lab is extremely useful for preparing for the tests, so I will try my best to finish all the lab exercises without the actual lab.

Sunday, March 8, 2015

    Week 8 wasn't a easy week to get by. The assignment 2 was due on Thursday and there was no help for the assignment due to the TA strike, and I have to prepare for the term test which is on Wednesday next week.
    Me and my teammate started the assignment late because we thought this assignment would take not too much time to write since we are given starting code. However, when we were really scratching our head for the minimax strategy and how to plug every class into the main function game_view, we realized that we are pretty far from completion and we might not able to finish it on time. For that reason, me and my teammate stayed up all night to write the program and keep working until the very last minute before the deadline. Fortunately, we were able to get it finish and the strategy turned out to be fairly intelligent, and we were pleased by our teamwork.
    Even though we have finished the assignment, I cannot just chill out afterwards because  term test is coming up. The topic that I am concerning about is the Linked List that we learn in the week because I wasn't paying attention to the lecture, but instead, I was working on the assignment. Therefore, I need to work hard to pick it up.
    Lastly, good luck on the term test!!!

Sunday, March 1, 2015

         We learned tree and binary search tree in class this week, and as I heard from my TA during the lab, it is actually one really useful data structure in the later year in computer science.
         This how tree works. We first define a class tree and create nodes and leafs which are instances under the first node of the tree. As we create more and more nodes and leafs, we can draw an image base on this data structure, and it looks really similar to a root of a plant. This data structure is useful because we can write a recursion method to search something from the tree and it is not too hard.
         However, the binary search tree is actually a much more useful data structure. It is similar to tree, but instead of having unlimitedly many children (nodes) or leafs under one node, we limit the maximum number of children of a node to be two and all child has to be comparable with each other. Most importantly, the value of the left hand side of the children has to be less than the value of the root, and the value of the right hand side children has to be greater than the root. By this layout, we can write a simple recursion method to search a value in the binary search tree, and it can shorten the number of comparison during the searching by a large factor. Therefore, it is an extremely efficient data structure to use.

         After I realize the importance of this data structure, I spent quite a bit of time to understand the structure and asked for lots of help form the TA during the lab. Because of this, I feel pretty confident for writing the data structure tree, and I think this is also a good habit for studying computer science. Therefore, I will try keeping this study habit for the rest of the semester.  

Sunday, February 22, 2015

week 4 slog

    This is the first block after my reading week, and also after my torturing midterms. The reading week was great because I have finished every term tests and assignments before it, and I can do whatever  without worrying about school work. However, the second I received my poorly performed csc term test result, I started to regard all the time that I have wasted during the reading break. I should have tried to correct my mistakes on the term tests and review on all the materials that we have covered in class and labs, for examples, recursion and class tree. 
    Another problem that I have spotted is that I couldn't follow up during the lecture. One of the reasons I figured is that I didn't do enough preparation before class and read though the chapters notes. Therefore, I have made up my mind that I will do my best to catch up whatever I have left behind in the first two months.

Saturday, February 7, 2015

Finally the computer science term test is over!!! I am both very exciting and sad about it; firstly, I am exciting because I am half way through my term tests weeks; but I am sad because I did extremely poor on both of the exams in this week. For the computer science test, I spent a huge chunk of time trying to figure out the simple recursion tracing problem and that cost me unable to finish the exam. Right after the csc exam, I ran to the Exam Center to write my math exam. My brain shut down during the math exam and that was the end of the story.

I feel pretty depressing after the poorly performance on the exams. However, think of the bright side, the csc term test worth only 6% of the total course grade, and I still have two more exams to write. Therefore, I cannot just sit in a dark corner and cry; instead, I should find out the problems that I am having and correct it and to be a better me.

Sunday, February 1, 2015

         It was a rough week because me and my group have just handed in the first assignment for the computer science class. It didn’t go well at the beginning because we misunderstood the structure of the program and it caused a lot of our time. Lucky, by the help of some friends, we were able to spot out our mistakes and complete the assignment on time. I hope this assignment would get a good result since we put a lot of time and effort on it.
Even though the first assignment is over, the following weeks don’t look any easier than this one. I can’t believe it is week 4 already and my computer science midterm is just few days away from now, and I should be reviewing hard for my midterm. However, term tests never come alone, and I have 4 term tests in the following 2 weeks; this is what I can never get used to in university. Therefore, I need to make an efficient study plan for the next 2 weeks in order to prepare well for the tests without stressing out.

         Hope midterms go well!

Thursday, January 22, 2015

Hi everyone, this is my first post for my computer science class on 2015. Stay tuned! I will be updating my block weekly, and the assigned topic for this week is why geeks need to know how to write.
For computer geeks, they all very good at one particular skill, which is coding. For people who understand programming language or have some programming background would be very impressed by your logits and ability. However, for the others who are not really good at it, they won’t understand a single thing because you couldn’t translate your beautiful piece of code into some everyday language, such as English. For that matters, you can’t communicate with other people and tell them your fabulous code and idea; worse of all, you might lose your opportunity to a great career.
         For an employer, it is not only your coding ability that determines whether you are suitable for the job, but also some other skills that adds up to your overall value, such as writing skill, public speaking skill and leadership. Therefore, it is most likely for an employer to hire a coder who has a higher overall value than a geek who only know how to communicate with programming language.

         Therefore, there are good reasons for a geek to learn how to write in daily language; and for that same reasons, I should better start improving my writing skills as well.