Ir al contenido principal

CSC104 WEEK 8


As mentioned in my other posts, one of my difficulties was trying to ask questions to the TAs, especially due to conflicts with my timetable and office hours. However, in order to present project one, I took substantial advantage of the office hours provided. Although there were many students seeking for help, the instructors and TAs managed to answer the variety of questions that students had. In addition to project help, I also asked about the Sierpinski images that had me confused last time. My confusion in those definitions lied on the use of recursion to form an image based on previous one. After talked with the TA about how you can use the function that you are defining, in the body of the definition; Sierpinski images made more sense to me.

During that week, we moved from string lists to colors, which in my perspective is one of the more interesting topics in the course. In Dr.Racket color can be represented in two different ways: with a string, such as “black”, or with the use of a list. In order to be a list of colors, it should be composed for 3 to 4 numbers. The first 3 numbers represent the colors: red, green and blue, respectively and the lasts number opacity.  The reason why this topic seems fascinating for me is because we can alter the looks of an image with the use of functions for colors. For instance, during class we swap the color of a fish image from a red-ish tonality to blue. This change was made possible through the use of functions such as colors->image and image->color. We used the mentioned functions to create a definition which was able to swap the red color of the original image to the blue color. Additionally, we created a monochromatic version of the image changing all the colors of the image to their average value. Basically, through these examples, we learned that if we want to make changes to the color of an image, or simply we want more color options, using the list definition of a color is more accurate to play around with different functions, as the ones stated above.

Comentarios

Entradas populares de este blog

FINAL REFLECTION

CSC104 course was a surprisingly interesting course for the different topics studied in class, especially big-bang and Fibonacci numbers. However, sometimes it could be overwhelming when some definition produces an error. That is why I would recommend to a future student when writing a design function do not panic if it does not work at the beginning. Moreover, if you see that is not working properly, go to the interactions area and play with the various parts of your definition to gain a sense of what is the function of each part. Similarly, using check expects will help you at designing your function, because you will see what it is the supposed outcome of the function. Finally, I would strongly recommend using the help manual during the designing of the function, to see which command could help you with the desired output. Basically, for preparing for this course, organization and constant practice are keys. I would say that doing the weekly exercise will help you to master eac

CSC104 October 26th 2017

I have realized by now that the best way to study for CSC104 material is by doing the weekly labs exercise and to review the lecture material at the end of each week. The lab practices especially are an accurate representation of what the quizzes are going to look like. Thus, they provide a reliable source for practice and preparation before the quizzes. Additionally, I would say that doing past test helped to write the first term test, because thanks to that practice I got used to the format of evaluation. As well as the material that I should give more focus. Undoubtedly there is some topics that I should study more than others, such as Sierpinski images.   Although I really like the concept behind them and their appearance, especially their self-similarity, it still confusing for me how to build a definition for a Sierpinski image. However, I have been trying to overcome this problem by practicing alone the creation of new definitions with base       on the commands taught in