Lecture
Now we learned about the hardware architecture.
Where Von Neuman's going
There are some issues
> Von Neumann bottlenck
( speed+size chockel at bow)
> mortality of Moore's Law
( notten, as gott smaller)


Where Von Neuman's going
There are some issues
> Von Neumann bottlenck
( speed+size chockel at bow)
> mortality of Moore's Law
( notten, as gott smaller)


DrRacket cond codes
; number-hunch : number -> string
; Is n really, really big?
; that is, is it more than 101
(define (number-hunch n)
(cond
[(> n 101) "Oh, it's *really* big"]
[else "Not so big"]))
(number-hunch 5)
(number-hunch 102)
(define (GCD m n)
(cond
[(zero? n) m]
[else (GCD n (remainder m n))]))
(GCD 35 15)
(GCD 15 35)


No comments:
Post a Comment