Week 2: Functions

Function is a code that performs an action. Function and loop are similar in some way because it groups codes to minimize the lines used in coding. The types of functions that I used today in ‘code.com’ are functions such as drawSeaGrass, drawRectange, and drawTriangle. I think using functions and looping them is the best way to simplify the codes I use in coding.

Functions vs Loops

Function is a code used to perform an action. For example, “turn Left” function makes the turtle turn left and “moveForward” function makes the turtle to move forward.

Loop is used to repeat a certain action more than once to reduce the length of the function needed in programming. For example, instead of writing “moveForward” 5 times, you can put “moveForward” function into the loop only once and assign the loop to 5 repetition to make the turtle to move forward 5 times.

Week 2 : Abstraction and Top Down Design

Our teacher helped us understand how programming create basic things such as internet and blogs. Wikipedia says that abstraction in its main sense is ‘a conceptual progress where general rules and concepts are derived from the usage and classification of specific examples. I do not get it nor understand how java works but I’m trying new things in this class, which is a wonderful experience. I wish I get better in java like most of my classmates. Wikipedia (also) says that a top down design is ‘essentially the breaking down of a system to gain insight into the sub-systems that make it up.’ I find it hard to understand programming because it’s not an actual object that we can modify or create. I hope I understand java (programming in general) and get better every time I learn something new.

About Me

I was born in Austin, Texas while my dad was in UT and then I moved to Seoul, South Korea when I became 2 1/2 years old. I lived there for about 10 years and then I moved back to the United States when I almost became 13 years old (7th grade). I enjoy living in Texas mainly because it feels like time is going slow and the atmosphere is calm and relaxed. I traveled to Japan, Taiwan, and the United States (California). I want to travel the world after graduating college, mainly in Africa and Europe, and live in New Zealand after I get a job. I might not be perfect in English but I will try my best. This is my first week at UT summer camp. I wanted to go to UT summer camp because my dad graduated here. My parents were interested in me learning programming (although I do not like it). I wish I learn something better than what I learned this week. Being here in UT was still fun though. And last but not least, my back still hurts because I sat for too long.

Design a site like this with WordPress.com
Get started