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.