Wednesday, December 5, 2012

Last week for CSC

     It's a pleasure to take this course and I finished the last project last Friday, and also get the project 1 back which I get 100% mark. To summarize this term, we first know about the history computing devices and also be taught some rules around computer science. And most we focused on is Dr. Racket. The main things that Dr. Racket is to write check expect and define and that helped a lot to solve the tricky calculating and some tricky pricuring programs. Nowdays our lives become more mordern, I will continue to take some course about computer science and this term is the most interesting course that I have taken.

Sunday, November 4, 2012

second post

          This week I learnt the rest of the operations, it's important for modern society because it includes the generation of the computer programs and the generation from unix to desktop. Also I learnt about the ROT13 language, it's a dangerous language because its easy to be translated by the competitor, it transfer for the language is just for example A transfer to N the and the step for this is just move 13 position of word from A then you will get N, like the example that Dr.Heap gave us, hello can transfer into uryyb. Also the Dr.Racket is also about the ROT13 language, and it's just about the same thing like I just wrote before. In the end, it's a busy week next week, but it will be fun, the project 1 in due to next friday, and also the term test is coming, enjoy these works it will be done easily.

Sunday, October 28, 2012

My first post about my interesting course

       Here is my first post for my journal. This week's lecture we talked about the Von Neumann stuff and its about the data programs and RAM stuff. The most interesting thing is the eaxample because when you load the data for A1 and the data for A1 is by example for 3 then you will get the RAM for 3, also the second step is same for the first step. Then you can add R1 and R2 together you can get a new R3 then R3 can be stored into A3, that is about the most simple programs runs for my opinion.
Then professor Heap introduced some hard drives, its important for modern society because we are still using it.
       Second its about the Dr. Racket, this week is first week that we do not use picturing-programs, and this week programs is about number hunching, its for define a number wether is bigger of smaller by strings, and the step for this programs is
(define (number-hunch n)
      (cond
        [(> n 101) "Oh, it's *really* big"]
        [else "Not so big"]))

(number-hunch 5)       the answer is "Not so big" in my opinion
(number-hunch 102)     the answer is "Oh, it's *really* big" in my opinion

 (define (GCD m n)
      (cond
         [(zero? n) m]
         [else (GCD n (remainder m n))]))

(GCD 35 15)       the answer is 20 in my opinion
(GCD 15 35)       the answer is -20 in my opinion

      It's interesting this course because I like lot of stuffs about computer, and Dr. Racket is useful to know about the computers programs. I'll talk about next topic when the lecture is finish.