Ir al contenido principal

CSC WEEK 9


Along with the concepts of colors, we started the animations topic. In fact, an image is not animated if does not change somehow. To change an image, we use the function repeated which takes 3 inputs: a function, an image and a number. However, this function produces a list of images, not exactly an animation. Thus, we started to work with the big-bang function. As its name suggests, big-bang function creates something, in this case an animation. Even though this new command allows us to create something different and unique, as an animation; I did not like it at first because I had trouble initially understanding what it is asking me to do. Specifically, I was confused on the use of freeze which is a function that basically delete all the previous information of the element, in this case animation. What happens is that you delete all the previous information of an animation. In other words, you cannot come back to the original image. I understood that after performing by myself different commands in the practice document submitted by the instructor. This made me realize that if we want to master a concept that we do not understand completely, practice in the interactions panel is a good way to comprehend better the different topics.  

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 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 t

CSC WEEK 11

Number representation was the topic for week eleven, which basically focused on binary numbers. At the beginning of the week, I did not feel comfortable with binary digits, but through the week I, certainly, progressed with my understanding. As humans, when counting we tend to group things in 10. However, computers do not use decimal numbers, they use voltages, which is similar as use just two fingers, instead of ten. In binary numbers, the only digits are one and zero, and because we are so used to do operations in base ten numbers, it is difficult doing operations with binaries. In fact, it took me a while to feel comfortable doing sum or multiplication with binary, specifically addition. But thanks to the practice fields that professor submitted, I mastered operations with binaries. I realized that it was the same as doing operation with decimal numbers, but just using zero and one, for instance, 1+0=1, 0+1=1. The only difference is when adding one and one, which equals one and