Oct 12th preparing for term test
In this week, we don't have any lecture because of the Thanksgiving Day on Monday and the term test on Friday. So instead of learning new staffs, I reviewed the codes we learned before. During my review, I found the "check-expect" and "boolean" most confusing, because, for "boolean", we expected a "#True" or "False" output. While "check-expect" was checking whether the two parts of the body were identical. After few times of practicing with the past tests and exercises, I got more familiar with these two functions. The other code that I got confused with was the rotate degree. When I typed in "rotate 45 an-image", I was expecting to see the image to rotate 45 degrees clockwise. But what I got was the image rotating 45 degrees counter-clockwise. By trying this code sever times on DrRacket, I figured out that it was the rule that rotates a certain amount of degrees was assumed as rotating counter-clockwise certain amount of degrees. After all, in order to prepare for the term test, I did several past tests and reviewed the codes by trying out the old exercises that were on the website. Hoping to do well on the term test tomorrow!
评论
发表评论