Sunday, November 29, 2015

Assessment

Assessment.

To create this image i used a website called Khan academy. Khan academy is a website in which you can create an image by using code.  when you create your image / picture you have to enter your code or commands. you have to enter a word, say line and then you have to enter your coordinates so that the computer knows where to put your object.  For my image / picture i used quite basic coordinates like (ellipse(267, 228, 99,100);) but they are still really effective when making an image / picture.























This is my code / coordinates.

Tuesday, November 10, 2015

Right side up.

Right side up.

In this lesson i have learnt how to use the else statement in the correct way and i have also learnt that you do not use else in the statement.

COMMENTING YOUR CODE.

COMMENTING YOUR CODE.

I this lesson I have learnt how to write a comment on my code so the Karel and other people can see what my code is trying to do.

TOP DOWN DESIGN.

TOP DOWN DESIGN.

In this code I learnt how to simplify my codes down to only 3-4 codes. I alos have learnt how to make my code keep on going without using the same code 100 times.

Wednesday, November 4, 2015

1.52: Lots of Hurdles

I have learnt how to only use one function and how to teach Karel how to jump over 5 hurdles.  using one function is much more effective than using 7-8 functions.                                                                                  

This is what my world looked like at the end once Karel had jumped all of the hurdles.












This is the functions that I use as you can see I only needed one function and a star function.
.