Final Reflection – May 29, 2017

This school year, I did really great, but I could have been a little more focused and a little more proactive by asking questions.

In regards to programming this year, I feel like I learned the basics of Python, along with a basic understanding of functions and systems in general. First semester was spent mostly on Scratch, and then I moved slowly to Python. I mostly learned things on my own, by experimenting and looking things up if I got really stuck. I enjoyed the mental challenge that this class brought, and that it was a challenge at your pace. I slowly learned about functions, loops, and eventually recursion.

Now, what did I learn about myself.  I learned that I really like working alone, and I can still get things done by myself. I also learned that in order to learn, I really have to do it myself. By just reading instructions or hearing them, it was really hard for me to comprehend, but when I actually started to work at it and make mistakes, I really began to understand. This was really satisfying, because when I finally got something right in Python, I knew why. I guess that’s another thing I learned. I like to know why. If I was just given the answer with any comprehension or context, I haven’t learned anything, and that piece of knowledge is useless. When you truly understand something, you can keep applying it to other problems.

So yeah. Thanks for the great class. I’ve really enjoyed coming to computer science this year, and I’m thankful for all it has allowed me to do.

Reflection – 11, May 2017

These past two weeks I gave it my all. At the beginning I had been working on reviewing for the upcoming exam. I worked to complete all of the recursion problems that had been set up. After completing those, I turned back to the quest in Gnimmargorp. I spent a little time on the Turtle-bc quest, realized I was getting bored, and switched to the quest that would allow me to travel to Tsin.

It took me about two class periods, but I was able to complete the quest with ROT13 encoder. The final code ended up looking like this:

I used recursion and loops, and I was able to create a code that worked.

My goal from the last reflection was to finish the ROT13 quest. I did that and completed the goal. I also bought passage with the Tsin, so I can continue with other quests. I had to work really hard to use the recursion, but I was proud that I was finally able to put it to good use.

My goal for the last couple weeks is just to continue working on the Tsin quests. I think the encoding ones are really fun and interesting, and I am looking forward to creating encoders for different codes.

This past year, I learned a lot about my learning style. I really enjoyed working by myself, and coming into class allowed me to reset from all of the other socializing that happens during the day. I was able to concentrate on what I thought was important and fun, and it was an experience that I haven’t really had in other classes before.

Reflection – 26, April 2017

In the past two weeks, I gave it my all. I’m still working on the Turtle Quests, and I am finishing up the last one now, the Turtle BC quest. I have also been doing research on recursion and the RO13 code, as well as working in coding bat a little bit.

The code for Turtle BC isn’t very hard, but it is a little tedious. I have done a few letters with just two lines and two curves. The code looks like this:

They look like this when put into Turtle World:

I am still working on the other projects, such as the RO13 code, and that will probably be the main focus in the next couple weeks in between studying.

In preparation for the exam, I have been looking at sites about recursion, and it is starting to make sense. I am going to practice on the problems provided, and hopefully I’ll be ready by the exam. It seemed a little hard to understand, but with examples, it is clearer.

My goal from the last reflection was to work on the Turtlflower quest, which I have not done at all. After that weekend, I realized that I would rather work on a new quest than laboring on the same one for a really long time, so that goal was not completed.

My goal for the next two weeks is the finish the RO13 quest. I think it’s about time that I moved on to something else, and that is a good starting place. I will also be studying for the exam, looking at recursion more and reusing the format in Codingbat.

Reflection – 6, April 2017

I have given it my all during the last couple of weeks. I was still working on the Turtle quests, and I finally made some progress. I was able to complete the DizzyTurtle quest and even go beyond that in creating a rough code for the Fermat’s spiral. It was really challenging, and I made a lot of mistakes, but those led to some pretty interesting pieces for my artwork document. Here is the code for Fermat’s spiral and a picture of what it looks like.

And here is one of the “mistakes”.

There was a lot of hit and miss while working on this quest, but it ended in some really cool results.

My goal from the last reflection was to finish either the dizzy turtle quest or the Turtlflower quest, and I am happy to say I was able to complete it. The Turtlflower quest isn’t done, but the Dizzy Turtle was a success. It took me most of the two weeks to finish both the Fermat spiral and the normal spiral.

My goal for the next two weeks is to continue to work on the Turtlflower quest, or to continue working with different kinds of spirals. There are many different ones, such as the fibonacci spiral or Cornu’s spiral. It would be really cool if I could figure out how to code them.

In order to improve my time in Gnimmargorp, I could close any distracting tabs, and I could have programming alternatives to the primary quest I am working on. I can get bored really easily if I am only working on one thing, so if I have a couple things that I am working on, I could switch between them. This would keep me working on programming instead of wandering off.

Reflection – 23, March 2017

Over the past two weeks I have given it my all. I’ve been working on two different quests, the Turtlflowers and Dizzy Turtle quests. They have both proved just as challenging as the Turtlpies, but I have made a little bit of progress. For the Dizzy Turtle I have created this shape:

It’s not quite a perfect spiral, but it is getting there. I have to figure out the exact math, because so far I have been guessing so that I have a starting point. For the Turtlflowers quest, I have created this

world.clear()

bob = Turtle(world)

bob.delay=.001

def flower(t,n):

for i in range(n):

for i in range(15):

fd(t,4)

rt(t,4)

rt(t,120)

for i in range(15):

fd(t,4)

rt(t,4)

rt(t,30)

lt(t,360/(n-2))

flower(bob,4)

as well as a few others. I haven’t gotten to a function that will create the number of petals given, but I have been using old codes, such as the code from Turtlpies in order to help with the math and the angles.

My goal from the last reflection was to complete the Dizzy Turtles quest, and I did not finish that goal. I think this was partly due to the fact that I was often switching between both Turtlepies and Dizzy Turtles, and making a little progress on both, but not finishing either.

That is why my new goal is similar to my old goal. I would like to finish one of the two quests that I am currently working on. It’s been a while since I have completed a quest, and I think it’s about time I did.

Looking towards the future, I’m not really sure what to do. I think I will continue as I have been in order to achieve a better grasp of Python before moving on to something else.

Reflection – 2, Mar 2017

These past two weeks I gave it my all. After finishing the Turtlepies, I spent time working on Turtleflowers, and added some new designs to the document I have, but I have spent the bulk of my time working on Codingbat and preparing for the Boss Battle on Monday. I worked on the advised subjects, so Logic-2, String-2, and List 2. It had been a while since I had worked on Codingbat, so it took some time to remember the format of the programming. I worked steadily on those subjects for the past couple classes, and I definitely feel more prepared for the Boss Battle, although I still have trouble with some problems, especially the logic ones. Here are some of the questions:

My goal from the last reflection was to finish one or two of the turtle quests. I have not officially finished any more of the turtle quests, but I have made progress in both the Dizzy Turtles and Turtleflowers. I spent a lot of time looking at spirals and figuring out how to make them, and I got the turtle to go in a spiral looking shape, but it is not finished yet.

My goal for the next two weeks is to finish the Dizzy Turtle quest. Like I said, I already have a spiral-esque shape, but I need to figure out the math so that the spiral is a perfect spiral.

As far as changes in my view of Computer Science, it has turned out to be a lot more difficult and confusing than I originally thought. Maybe it’s because all of the programming I’ve seen has been done by people who know all about it, so they made it look easy, but it has proven very difficult. Despite this, I like the challenge and am glad that I decided to take the class.

Reflection – 16, Feb 2017

These past two weeks have been full of successes, failures, and invention. I can say that I gave it my all. I completed a quest that I had been working on for quite some time, and I started a new document that is keeping track of all of the artistic “drawings” I have made in Turtleworld.

As I wrote about in a another post, I finally finished the Turtlepies quest that I had been working on for about 2 weeks. It took a lot more math than I knew and I had to do a lot of research. I am excited to have finished it and to move on to the Turtleflowers part of the quest that follows it.

I also started keeping track of all of the designs that I have made in Turtleworld, whether on purpose or on accident. They are not the same codes that I have been creating in quests, but ones that have created cool designs that I wanted to keep. I take screenshots of all the “artwork” and then put the code underneath it. Here are a few examples:


def polygon(t,length,n):
   degrees=180.0/n
   for i in range(n):
                  fd(t,length)
                  rt(t,degrees)
def circle(t,r):
   circum=2*math.pi*r
   n=int(round(circum))
   polygon(t,r,n)
def curly(l,n):
   for i in range(n):
       circle(bob,l)
       rt(bob,120)
def snowflake(n):
   for i in range(6):
                  curly((n-1),6)
                  curly(n,1)
snowflake(5)

def flower(t,n):
for i in range(n):
   for i in range(2):
     rt(t,45/n)
     fd(t,100/n)
   rt(t,120)
   for i in range(2):
     rt(t,120)
    fd(t,100/n)
for i in range(40):
for i in range(2):
   flower(bob,1)
   rt(bob,57)
lt(bob,57)

They have been really fun to mess around with, changing the angles and the lengths to create different patterns. This was really brought on by the article about the woman who used math to create cool geometric designs. I liked the pictures in the article that she had created, and I realized that I had been accidentally making things like that in Turtleworld.

My old goal was to finish the all of the turtle quests. I was not able to complete that since the one that was working on then I just finished last class. I think that the following quests, such as the Dizzy Turtles and Turtleflowers will take as much as work as this one, so I looking forward to the new challenge.

My new goal will be to finish one or two of the turtle quests, whether it be Dizzy Turtles and Turtleflowers. Since I haven’t met my goal for the last two reflections (of completing all of the quests), I think I will be a little more wary and only think about completing one or two of them. I presume they will be challenging and include more math (yay…).

Turt

TurtlPies and TurtlFowers

So the quest itself does not require an entry, but I worked so long on this one that I thought I might as well write a short one.

This quest took me far more time than many of the others because I had to look up math skills I was not familiar with. I had very rarely worked with radius and circumference in math class, so I had to look up the equations and then figure out how to translate them into Python.

I started out the whole quest on a guess and check system, and that was not at all. I was trying to figure out the math by myself, and it wasn’t working. When I actually took the time to look up the equation, the work went a lot faster. Here is where I got the formula. I also had to work with the functions given to me by python. The first equation that I found used a cosecant to find the radius, but python didn’t have that function built in, so I had to find an equation that used sin, and then I had to figure out how to convert the input to degrees instead of radians. This all took me a long time, with many breaks in between (due to frustration mostly), but I am satisfied now that I have figured it out.

Reflection – 28, Jan 2017

The beginning of the year started off well, and I would give myself a Great, but… This is because on the days with a substitute, I often got distracted from my work by other classwork or I wasn’t focused on the task at hand.

I have completed a few quests, working especially hard on the Turtle ones. It has usually takes me a long time to figure out the quests. The one I am currently working on is the TurtlPies and TurtlFlowers. Figuring out how to input a number of sides was easy, but creating a function that will create equal number of pieces within the shape has proved more difficult. This is the code I have come up with recently.

world.clear()
bob=Turtle(world)
bob.delay=.001
def turtlepies(t,n):
   for i in range(n):
            degrees=360.0/n
       fd(t,(400/n))
       rt(t,degrees)
turtlepies(bob,n)

This one was for creating the original shape. In an attempt to create on with pieces, I focused on the hexagon and came up with this code, which creates a pie for the hexagon, but not other shapes. I am still tweaking it.

world.clear()
bob = Turtle(world)
bob.delay=.05
def turtlepies(t,n):
   for i in range(n):
            degrees=360.0/n
       fd(t,(400/n))
       rt(t,degrees)
def piepiece(t,n):
   rt(bob,120-(360/n))     
   fd(bob,400/n)
   rt(bob,120)
   fd(bob,400/n)
   for i in range(n-2):
            rt(bob,180)
            fd(bob,400/n)
            rt(bob,120)
            fd(bob,400/n)
turtlepies(bob,6)
piepiece(bob,6)

I also completed a few of the sheep quests, and those are a little more confusing and take more time. When I need a break from the Gnimmargorp quests, I will head over to Codebat and complete a few of the problem there.

My prior goal was to complete the Turtle Quests, and although I have not finished all of them, I have gotten significantly closer. It has taken more time than I assumed, and I have also been working on a few other quests as well.

My new goal will be the same as my old goal. To finish the Turtle quests. There are only three more quests, and I think I can finish them, or at least be on the the last one, by the time I have to complete another reflection.

Turtling in Circles MASTERY

Turtling in circles

When it comes to studying for this class, most of it happens in class, and I learn as I go. I use the resources provided, mostly Think Python. I find it has a lot of information and makes a lot of the concepts easier to understand. When it comes to learning, I like to figure things out myself. I feel a greater satisfaction and a greater understanding when I take my time and slowly work through the more difficult quests by myself. I very rarely have questions, and they are mostly answered with a quick look at the resources. That’s easier for me than asking questions. I find parts of this coarse very difficult because with coding there are things you just have to know, and it takes a while for me to remember what is what.

I feel that being able to look things up by myself and figure problems out is a valuable skill in other classes. However, I think it is also important to be able to ask effective questions, and I hope to develop this skill as the year continues.