2013-01-18

CSC 104 Slog-Week One (Jan 7th - Jan 13th) & CSC 104 Slog-Week Two (Jan 14th - Jan 20th)

CSC 104 Slog -Week One (Jan 7th - Jan 13th)
Something new learned in the class:
  Why computing? —— to change the society
  How computing change the society? —— privacy, property, democracy……
   Related with RSM: A lot of industries now are using computing to help them proving the productivity.
  An overview of the class contents —— Two tracks: Programming & Social Issues
  What to do with computer machines: Algorithms
      Examples:
          1) Multiplication
          2) PBJ (with an in-class experiment, which seems to be really delicious LOL)
             From the PBJ sandwich program, I learned that
               a) Sequence is really important,
               b) We should try our best to find out all the possibilities of the changed-conditions,
               c) We should be really careful in case that we ignore some important steps.
          3) Google page rank
  Another example: paper folding
  Algorithm is really old. (An old example of algorithm: Euclid’s GCD)


A New Adventure In Computer Science!
Challenges I met this week
  GCD algorithm confused me because I am not sure that whether the sequence of n1 and n2 matters.

The test/quiz/assignment
Dun have one this week. O(∩_∩)O~

❤Feedback to the others
I read 's blog this week and I felt like we had the same feeling about the Dr.Racket system at first. So I left a message:
"Haha I felt really confused at first too! But feeling much better now :D How about you? :P"



CSC 104 Slog-Week Two (Jan 14th - Jan 20th)
Something new learned in the class:
The language we are using is Intermediate Student with Lambda.
In the Dr.Racket, we can edit the image, string, numbers and TRUE/FALSE.
ctr.D make a full screen
>(string-length A Sentence)
  9   ——(we will get a number)
>(Above   )
  
  
  
>(beside   )
Flip vertically and horizontally
  ❀※
>(+ 1 2)
  3
>(* 1 2 3 4)
  24
>(and true false)   ——both shud be true
  false
>(or true false)   ——either is true
  true
>(not true)
  false
>(not false)
  true
>(>3 5)
false
>(<3 5)
  true
>(flip-vertical {an image})
>(flip-horizontal {an image})
Not all the problems can be solved by computing
  e.g. halting problem
Halting Proble
  ❀algorithm that took so long
e.g. Fibonacci sequence (when we enter 30 it start to take a long time to calculate)
 Challenges I met this week
  ❀Didn’t quite understand the True/False program at first
  ❀Had a difficulty in changing the CDF password :( but it turned out that I successfully changed it at last. Thanks for Doris’s help :D

The test/quiz/assignment
  ❀We had a quiz which was pretty easy :D

Feedback to the others
I read 's blog this week. She said that "Like other programming languages, make sure to keep track of all the parentheses. Putting a parenthesis in the wrong spot will lead to an error and adding one too many will also lead to an error. " and I totally agree with that since I always make the same mistake. So I left the message:" I always forget parentheses too :P Fortunately we can check it by click the "run" button. It helps a lot!"