Friday, December 7, 2012

I CAUGHT THE JEROO

     Very Thankful. Finished Jeroo Lab 5B in 15 minutes and without help! Even though the beginning of this week was rough, it got progressively better! I owe my progress to my helpful and patient instructor (not trying to kowtow here) for his willingness to coach me through labs and for his tip which i shall dub ULT (short for ultimate). Its not very creative but hey, this isn't English class. Its where students think of tasks in terms of a particular end point and the conditions associated with that end point and then trace back to the point of orientation to work out possible traps and hindrances. I think that's definitely been key to accomplishment today. That and realizing that freaking out about learning does not help one learn better.
     Perhaps this tip isn't applicable to other things like how to study for finals, but its definitely made me more confident about the final exam. I guess I can see why people like Jeroo now because once you get it (code and all), its like a puzzle. I can't say I've mastered the program or the language used in the program but at least I see a light bulb flickering at the end of the tunnel!

Things we explored this week:
-Loops
-If statements
-compound statements
-recursions

Things i would like to improve next week if time permits:
-writing loops that are concise and efficient.
-how to implement recursions and when they work best
-language

Other goals:
-110 on the final : )



Sunday, December 2, 2012

Who said pythons eat Jeroo's?

   That's right, the world is sadly confused. Pythons do not eat Jeroos, they guide them! Well sort of, at least that's what i'm getting so far. So python is one of the codes to use for the program Jeroo. Turns out (thankfully) that Jeroo likes me a lot more than Scratch. This week the class learned about the basics of the program as well as how to program methods or a series of behaviors a jeroo can do that could be thought of as being similar to the repeat scrip in scratch. Basic code is as follows:

to create a jeroo: name=jeroo(row#,column#,number of flowers or cardinal direction)
jeroos can: hop(), pick up flowers, pick(), plant a flower, (plant), toss a flower one spot ahead (toss)
give a flower,give(dir) and turn in a direction, turn(dir)
dir= LEFT, RIGHT,AHEAD,HERE

Methods on the other hand are a series of behaviors a jeroo will perform all branched under one main 'headline'

Writing a method:
Under the methods tab-

def name(self):
       self.hop()
       self.pick(1)
....

Under the regular tab-
jerooname. name()

Tomorrow we're learning about loops. Hopefully this week will be an even more pleasant experience!