Dec 6th SLOG

      It's almost the end of this term, and I'm about to finish studying CSC104. In this term, I learned a lot from this course. I started from knowing nothing about DrRacket to being able to use DrRacket to do some calculation, to create an image, to do recursions. I had learned java before, but I started DrRacket all fresh. DrRacket made me become more interested in computer science.
      I'm happy to give some advice to students who are about to join this course. Firstly, you don't need to worry even if you know nothing about computer science or DrRacket. You would get to start from the very beginning. You will get to know about functions, know about what kind of input will produce the output you are looking for. If you want to prepare for this course, downloading DrRacket is the very first step that you need to do. Then, be creative. There is more than one answer when creating a function. For example, when you want to rotate an image clockwise 45 degrees, you can either rotate it clockwise 45 degrees or counter-clockwise 315 degrees. I would like to give you another example. There are two variables in the list when you want to pick out the second variable, you can either use the function "rest" or function "second". Either function can provide you with the output that you are looking for. So be creative, there's no need to worry if you find that your answer is different from your peers. There's a chance that both of you are correct.
      Secondly, I would like to give the students an advice about designing a function. Also, creativity is quite important. But at the same time, be careful with the brackets. Always remember to close the bracket if you use an opening bracket, otherwise the function will not be able to run. Using the correct function is always important. For example, when you want to pick a variable from the list. There are some existing function that you can use directly, "first" "second" "last". But there are no "forth" "fifth" "sixth". If you want to pick out the "third" variable from the list, you would need to define a function. So, knowing what functions exist is definitely important. When defining a function, remember to put the name of the function and the placeholder in brackets, and the body of the function needs to be put in brackets as well. There's a difference between defining a function and defining a variable. There's no need to put the name and variable in an extra bracket when defining a variable.
       Finally, I would like to advise students who are going to join this course that reading the notes on DrRacket from class is quite important. The notes are important when studying for quiz, test or projects. If you get struggled with anything according to the course, go to office hour and get help from the TAs, that would be very helpful.
      I hope my advice would be helpful to students who are about to join this course. I did have a great time on this course throughout this term.

评论

此博客中的热门博文

First CSC104 blog

Oct 27th blog

studying for final exam