❤Something new
learned in the class:
[Dr.Racket]
❀Values
here are some new terms that I learned this week, I recorded them
down for the reviewing in the following days.
-(first
menagerie)
-(rest menagerie)
-(list-ref
menagerie
0)
We get whatever in position 0 (which is the
first stuff in the list.)
-(range
n1 n2 interval)
We get a
list of number beginning with n1 and ending up with (n2-interval) counting by
the interval.
-(reverse
menagerie)
-(Define-struct
exhibit (name pic feet))
-(make-exhibit
…)
-(exhibit-pic
…)
-(exhibit-feet …)
-(map
sqr num-list)
-(map
sqrt num-list)
-(map
string-length …)
-(map
add5 num-list)
-(map
scale-pingu
scale-list)
-(image color-list im)
-(color-list
->bitmap
image -> color-list im))
-(Define (Bluer c)
(make-color
(color-red c)
(color-green c)
(quotient
(+ 255 (color-blue c)) 2)
(color-alpha c)))
-(swap-red-blue c)
NOTE THAT
-The computer will respond these with (list … …)
-When we say (make-color 1 2 3 4)
1 responds to red intensity, 2 responds to green intensity, 3
responds to blue intensity, 4 responds to alpha.
❤ Challenges I met this week
❀The key
points of programming during this week are not very difficult and we didn’t
learn the history of computing this week. Anyway, this week went so far so good.
❤The test/quiz/assignment
We had a mid-term test this week. I prepared the
history of computing for a long time because there are a lot of things to
memorize, while it turned out that there weren’t lots of things about it in the
test. Anyway it’s good to not have many problems about it so that I can get a
good mark. :)
As for the programming part, I lost two
points altogether. One was because I didn’t explain clearly about why it takes
a computer a substantial amount of time for values as (Fibonacci 40) or
(Fibonacci 50). The other is because I wrote “im” as “pic” which didn’t match
the one offered in the questions.
Fibonacci |
For this test, I am glad that I didn’t hand
in the test paper immediately after I finished the test, instead I checked for
several times until the time was up. It helped me to correct some small
mistakes and get a higher mark. In general, I feel like I did not bad but there
is still a space for me to make progress. Hopefully I can get a higher mark
next time.
Can you change the settings of your blog so that everything is in english? Thanks. :)
ReplyDeleteSorry the first day I start to use the blogspot, it appeared like this. Maybe that's because my laptop as well as its system are from China.I tried to fix it but failed again :(
DeleteI just changed the blog language to English successfully :D
Delete