Friday 5 April 2013

CSC104 Week11

Hi everyone,

  This blog is a problem-solving blog. In this blog, I will record my steps in solving a mathematics problem. I choose a question from Prof. Danny Heap, and I will try to do it as simple as possible.

  The problem I will solve is called "diagonals". You have a rectangular grid mad up of m rows and n columns (the symbols n and m represent positive whole numbers). Draw a line from the upper left to the lower right corner (the diagonal). Who many of the grid squares will the line pass through the int interior of? If you are told m and n, can you calculate how many squares the diagonal will meet? Can you derive a formula? Can you justify your formula.

  What about a rectangular parallelepiped that is m rows by n columns by o layers?

  When we have a question, no matter whether it is Maths or Computer Science, do not be panic ! I found that when doing Project2 too many people are worried and they will not get any help!
 
  If we just read these words, it is hard to imaging the graph. Hence, why not draw a graph and try to get some hint from the graph?

  m=1 n=1  Black=1 White=0 Blick= cut  White= not cut(line not go through)
  m=2 n=2  B=2 W=2
  m=3 n=3  B=3 W=6
  m=4 n=4  B=4 W=12
so
  m=a n=a  B=a W=a^2 - a

This is the easy case

However, if m NOT = n

  m=>n the line <=45 tilt. Line will cut 1 square each row and there are m rows. So B=m W=mn-m

  m<n we have to separate the situation.

  m<n<2m Line will cut 2 square each row and there are m rows. So B=2m W=mn-2m

  2m<n<3m Line will cut 3 square each row and there are m rows. So B=3m W=mn-3m
.........
  am<n<(a+1)m Line will cut (a+1) square each row and there are m rows. So B=(a+1)m W=mn-(a+1)m

  I think this is the answer. However, this may seem not like a Maths equation. However you can apply it to specific problems.

  The final is coming. I am really worried about the final. I found that every professor is full of energy. Do you know the secret of that? I am sleepy everyday and I am always tired.

  Thank you very much for this course! This is the best course I have ever taken in U of T! The Professor is the best and the TAs are the best as well! I am very happy to meet with yours. I am a little sad that this semester is so short that I will say Bye to everyone. However, life is going on and I will remember everything in this Perfect course. All you guys make our worlds wonderful! Thank you very much!

Thanking you in advance,
Hope you can follow my Blog further,


Sincerely yours
Wang Guanning

Friday 29 March 2013

CSC104 Week10

Hi everyone,

  Today is Good Friday. I hope everyone would have a nice Friday and a relax weekends.

  This week is normal. We learned some Internet Connections structure. The basic structure is one to one connection and the advanced structures are like star configuration and all-connected configuration (bus connection).  Also, we learned website and its characteristic. There is one question which is really amazing: Should we believe the website. If we believe the website, then we will allow it to run Java on our laptop. 

  This week is short. However, we have Project2 and the final is coming. I will do my best to study and work hard.

Thanks,
Wang Guanning

Friday 15 March 2013

CSC104 Week9


Hi everyone,

  Hi everyone, I am back. This is second-Midterm week. I have 3 term-test this week. One is MGY one is LMP and the last one is CSC. While, after learning CSC, I found that CSC course is much more interesting than MGY and LMP. I think Lifesciences is interesting, however, there are l lot of memorization. I do not like memorization, so I have trouble in studying MGY and LMP. I am really good at Maths and Physics, so I love using brain and solving thinking questions.

  This week we learn hardware and computer structures. We are more concerned about the storage and CPU structure. The computer structure is amazing, especially CUP and storage disc. I think the flash disc is really powerful that it can keep information safe even in wash machine. And the CPU is also interesting, because we can design such a small stuff and make it run really fast.

  This week we have our CSC term test as well. The term test is easy, and I think I can get almost 100 in this exam. However, the only question which I was not sure is that why we do not put the storage device in the CPU but connect them with BUS. My answer is that the professor said that we have to keep the CPU cool enough to work and the most important problem so far is to cool down the CPU. Hence, I think we keep storage device away from the CPU to prevent CPU getting over-heated. Also when I prepared this term-test I read some books and I know that the speed of CPU and the speed of storage device is not equal. So they have to be separated apart.

  I found that many students have trouble in understanding the ecosystem and ball. I have a key in understand the definition and check-expect. Define rate-mouse mn = define f(x)  check-expect rate-mouse a b = check-expect f(a)=b. I think we can convert every definition in Maths and this is much easier for understanding.

Thanking you in advance,
Wang Guanning

Friday 15 February 2013

CSC104 Week6

  I am really sorry that I did not go to Lecture this week. I have 3 Term-Test and 2 assignments this week.

  I will read the lecture notes and textbook in this reading week.

  Thank you very much!

Friday 8 February 2013

CSC104 Week5 Welcome to CHINA ^ ^

HAPPY CHINESE NEW YEAR 


Hi every!
Happy Chinese New Year!


  I am very happy because today is Chinese New Year! I just come back from my friends' home. We played games and cards and we also ate cakes and drank bear.

  This week is hard for me:( I have four term-test this week and the worse, they are all in Wednesday! Also, this week is really sony especially today.

  In Chinese, if we have a sony spring festival, we will have a nice new year as well. So good luck to everyone!

  The lectures in this week mainly talked about the Mid-Term. I think the Mid-Term is super easy, because we have a nice Professor! Our Professor covered everything in our Mid-Term and he also posted the past-test and quiz with answer. These are really helpful for everyone! Although we do not have as many people as before in our lecture, I think people who came to lecture are clever and smart. The lectures are important and lecture notes are first priority.

  I really do not know what to say in this beautiful night. Hope I can got a 100 in my Mid-Term, and this will be my 5th perfect paper so far.

  
  However, I have to notice that the mew material might be hard! I did not understand the code "List" and the Dr.Rocket part in Tuesday's lecture. I strongly hope the Professor could remind that again (Sorry, all I thought was Mid-Term).

  Thank you very much! I am really happy to all your guys, and I wish everything is perfect in New Year.

  Sorry, it is almost 12:00 I have to submit it :P. Keep following my blog and I will tell your more.

Friday 1 February 2013

CSC104 Week4

Hi everyone,

  How time is flying. This is already Week4. I am still enjoying the beginning of this semester when suddenly I found that I will have Term-Test 1 next week. I have to say that I am extremely nervous about the next week's Term-Test, because I really want to get high mark in this course.

  The first thing I would like to talk about is about our course. Our CSC104 is the best course I have ever taken in U of T and my TA Yanshuai Cao is one of two best TA I have ever met (another is my BCH TA). However, I surprising found that people in our lecture room are much fewer than before. I think that maybe this is understandable, because, the morning is freezing this week and the Professor is super kind that he post the lecture notes and even the annotated notes! (Some of the Professor never post the lecture, or leave a lot of blanks. So if you miss lecture, you miss everything!) Hence, I think most people would prefer learning at home. Also, there is no clicker question in lecture, so it seems that going to lecture is unnecessary. The problem is even in today's Quiz, there is few people show up. And just before, I wanted to find some insight from other students' Blog, but I could not find anyone posted yet and some people just write 1 or 1.5 sentence. I think this is just like our World. Everyone were full of enthusiastic and ambitious. However, after several days people were tired, sleepy, and defeated by them-selves. They are true Losers.

  The lecture material is not hard for understanding and learning. However, I do not like history, and I think that most of us do not like history as well. I want to ask a naive question, why we learn these history by heart? I do not think this is really helpful to our Computer Science. I think Computer Science is more relate to the left side of our brain than the right side.

  The Dr. Rocket in this week is interesting! I love animation and I can make animation by myself. I had a lot of fun manipulating the bar, and I really make it works.

  I used to have trouble in "check-expect" and "image->image". However, my TA helped me a lot in first question and I found the answer in our textbook for the second question. Thank you very much!

  I have three questions about the coming Term-Test.
  1. Do we need to memorize everything in the history of Computer Science? Do we have any key year or key period?
  2. How should we prepare our Term-Test to get high mark?
  3. I have 4 Term-Test in Thursday next week, From 9am to 1pm, one hour for one Term-Test! This is horrible. Can I do something in this situation?

Thanking you in advance,
Wang Guanning

Friday 25 January 2013

CSC104 Week3


 This is my third week of CSC104 course. The first week we did not learn a lot, but the second week we really learn a lot about values. This week, we continue our learning in definition.

  The lectures in this week mostly covered the history of computer or maybe just about solving math questions by using different machine. I found that people had invented a lot of different machines to solve questions. Also, with the developing of algebra, the machines became much more complicated. This history is really amazing. New ideas and new material changed day by day in that period. I think the most important timeline is 20th country. After 1900, the computer became what I thought and the shape and operation was just like modern.

  The material in this week is not hard. However, I think that the biggest problem is memorizing the history of the computers. I think if the Professor could emphases the main points of the history, that will be much better for us to memorize the material and preparing the test. The Dr.Rocket part is easy right now. The definition is just giving a function a name. Then we only need to use this name again and again. This is really easy to understand and handle. However, I really have problem in understand the function "check-expect". I am not sure that why we need to check our expect? And if it fail, what should I do? I think I can find the answer in our textbook, but I hope that our professor can answer this question clearly.
  
  I think that the Professor should more concentrate on our Test. The lecture is good and the tutorial is wonderful, also the quiz is easy. However, I want to know what is on our Test. I will try to e-mail professor and also I will spend my weekend reading the textbook. Maybe the textbook will help me a lot.

  I am still a little worried about the Wiki assignment. Hope the Professor and the TAs will spend time talking somethings about this 

Thanking you in advance.