Final Self-Reflection

Throughout this year I believe I gave it my all most of the time because of my effort into completing most of the tasks at hand.

In the beginning of the year we learned about Scratch and although I knew most of the basics that we were learning, I still managed to get a chance to work on some more advanced topics like making a platformer where the character is not allowed to go below blocks and making the character shoot, jump etc. This was the tasks that I enjoyed throughout the year because it was one of the things that I as allowed to work more advanced on because I knew quite a bit about Scratch.

After Scratch, we went into working in Python and there I learned a lot because I didn’t know at all about Python other than ‘print “Hello” ‘. After working through the first few tasks on codecademy.com I understood most of the basics and when it came to the quizzes I understood most of the questions and only had to search them up every so often. So after learning the basics of Python, I went more into the slightly advanced tasks which were confusing for me, but if it got too confusing I’d ask Mr. Miller for help on what I did wrong/didn’t do.

After I finished codecademy.com Python lesson I went into Ruby and learned the similarities and differences it has to Python and how most other languages aren’t at all like I learned about Python, but Python alone is still really helpful.

Now to what I learned about myself. I found out that if I put my mind to working on something I could easily achieve it, and if I need help I could always help. I managed to become more of an independent person as I started doing the tasks and questions given on my own. One more thing I learned about myself is that even if I don’t understand something I can easily understand it by either reading up on it to help me or by simply asking help and patiently listening and asking if I was confused to what I heard and that I should always clarify what I was told.

Overall I was thankful I chose this class that it helped me learn computer languages which could eventually be helpful in my later years in life. Thanks for the great class and I was happy I came in every day.

Self Reflection May 11th

Throughout these past few weeks, I believe I did great, but I was talking some of the time with my friends, and although I was talking, I still managed to bypass my goal of 65% and actually got 68% which is good because my previous goal was a bit low expected, so I raised it to this new goal which seems to be a good choice:

One lesson we learned was how to do dictionaries in Ruby, which is also called Hashes in Ruby.

In Ruby to cycle through hashes and to print the values it’s this:

matz = { "key 1" => "value 1",
    "key 2" => value 2",
}
matz.each do |key, value|
      puts matz[key]
end

whichs turns into:

value 1
value 2

{"key 1 "=> "value 1", "key 2" => "value 2"

In Python, though, it’s different. To do it in Python it’s like this:

dic = {"key 1":"value 1","key 1":"value 2"}
for value in dic.itervalues():
    print value

which would print as:

value 1
value 2

This is one way in how Ruby is different to Python, and another way is instead of doing “key 1”: “value 1”, and in Ruby, it’s “key 1” => “value 1”.

This is slightly different to Python but it’s not too different.

My old goal was a good amount to achieve, so my next goal is to get from 68% to 85%, which should be a good goal to get.

Self Reflection for April 26

Throughout these past weeks, I believe I did great, but I was discussing conversations with my peers which could make it seem like I wasn’t working, but I actually got to 42% which was way past my 35% goal.

Throughout these percents on Ruby, I’ve been learning the basics of Ruby (similar to Python) and how they work. One major thing I learned is that Python only uses print while Ruby uses both print and puts which is different to Python. The difference between print and puts is that puts prints the text then puts the equivalence to pressing enter. For example:

puts "There will be a space between me and the next line"
print "See "

Will turn into:

There will be a space between me and the next line
See nil

The other thing I noticed as I was working through Ruby is that after all code it says “nil” which basically means the end of the code or it represents nothingness according to this website: https://goo.gl/LikSSP .

Another thing I learned is how to loop through arrays which is different from Python:

a = [1, 2, 3, 4 , 5]

for number in a:
     print number

returns with:
1
2
3
4
5

It’s like this in Ruby:

numbers = [1, 2, 3, 4, 5]

numbers.each { |number| puts number}

returns with:

1
2
3
4
5

which is quite different from Python but gives the same results. Although it doesn’t look hard it’s still confusing to memorize and remember to do array_name.each { |element| puts/print element }.

Overall I learned quite a bit over these weeks even though we had the spring break.

My old goal was too easy than what I expected but that may be because Ruby has fewer lessons that Python did, so my next goal is to get from 42% to around 65%.

 

 

Self-Reflection April 6

Throughout these past few weeks, I believe I gave it my all as not only have I completed my goal but exceeded and did more than my goal requested me to do. My old goal was to finish the python code (which I did) and start thinking about what program I would like to learn next. I’ve decided to work on Ruby as the program is relatively similar to Python and I also worked a bit on Ruby itself and got to 26% already:

Similar to Python, we learned the basics of “And”, “Or” and “Not” but one difference from Python is how it is formatted.

Below is how Ruby formats And:

Below is how Ruby formats Or:

Below is how Ruby formats Not, which is similar to Python:

Since my last goal seemed a bit too easy and I easily got up to 26%, my next goal for the next two weeks is to get up to 35% and next week I’ll see whether ≈10% is a good goal or not.

Self-Reflection for March 23

Throughout this past week, I feel like I’ve given it my all as I not only achieved my goal, and more, but I also understood the majority of the things I was doing, and if I didn’t understand I would look at the help section. My old goal was to get to 93% (or 92%, I don’t completely remember) and my current status is 95% as it shows below:

In these weeks I’ve been working more with classes and how to correctly format and how to do different things in the classes. Here is an example of one code that I did and completed:

My new goal is to finish the codecademy and to start deciding what I want to do next. I believe this is a reasonable goal because these next few percents will be harder as I get higher up.

Semi-Weekly Self Reflection: March 2

Throughout this past week, I feel I have been great, but I have been off task a little bit to talk and interact with peers in the class.  Although I did get off task a bit, I still did manage to achieve my goal of 85%:

Not only that but throughout my learning I learned about binary and how to use it. The main thing I didn’t learn from the codecademy examples was the different number placements (like 10 is 2, and 01 is 1 and 11 is 3) so I had to ask Mr. Miller, or Loremaster Rellim (wait… what’s Rellim backwards????).

After I got through binary and the basics of it like slides and different commands like ^ and | and &, codecademy had me start working along classes. So far it’s quite easy to learn, but I’m not sure why they define (def ____() ) more than one thing? Why wouldn’t they just have the __init__() only?

class Animal(object):
    """Makes cute animals."""
    is_alive = True
    health = "good"
    def __init__(self, name, age):
        self.name = name
        self.age = age
    # Add your method here!
    def description(self):
        print self.name
        print self.age
        
sloth = Animal("John", 10)
ocelot = Animal("Frank", 23)

For example in this code, why do they have “def description(self):” as well as def __init__(self, name, age). Why don’t they just have one or the other.

My next goal is to get from 85% to about 92% because now that I’m getting higher up in percentages, the questions are getting harder to answer. Alone getting to 80% was tough, so I’m lowering my standard a little bit by giving myself a little more manageable goals

Self-reflection, February 16th – Ian

Over the past few weeks I believe I gave it my all as not only have I achieved my goal from last weeks post (to work more on codecademy) but I got a lot further than I was before:

I believe I earned “I gave it my all” because I got through a lot of codecademy and learned a lot more that I can apply to other work.

One thing I learned to do was to make a battleship game that was pretty enjoyable to learn and make:

from random import randint

board = []

for x in range(5):
    board.append(["O"] * 5)

def print_board(board):
    for row in board:
        print " ".join(row)

print "Let's play Battleship!"
print_board(board)

def random_row(board):
    return randint(0, len(board) - 1)

def random_col(board):
    return randint(0, len(board[0]) - 1)

ship_row = random_row(board)
ship_col = random_col(board)
print ship_row
print ship_col


for turn in range(4):
    print "Turn", turn + 1
# Everything from here on should go in your for loop!
# Be sure to indent four spaces!
guess_row = int(raw_input("Guess Row:"))
guess_col = int(raw_input("Guess Col:"))

if guess_row == ship_row and guess_col == ship_col:
    print "Congratulations! You sunk my battleship!"
else:
    if (guess_row < 0 or guess_row > 4) or (guess_col < 0 or guess_col > 4):
        print "Oops, that's not even in the ocean."
    elif(board[guess_row][guess_col] == "X"):
        print "You guessed that one already."
    else:
        print "You missed my battleship!"
        board[guess_row][guess_col] = "X"
    # Print (turn + 1) here!
print_board(board)
if turn == 3:
    print "Game Over"

My new goal is to get to 85% by the next reflection as I believe that is a reasonable goal for me to achieve.

Self-reflection, January 24th

Throughout these few weeks, I believe I gave it my all as I managed to get through more of codecademy.

As I continued working through codecademy I chose the sections I wanted to work on. The sections I chose to work on are the loops (as we’ll have an exam on that). Here is a code for one of the loops

Another section I learned about is Dictionaries. Here is an image of one of the work I had to do:

My next goal is to continue working on codecademy and to get through more of it. 🙂

GOYO Large Quest Start (but I already finished)

Throughout the past week, I’m going to work on Codeacademy (I already did it, I’m just doing the GOYO Large quest now). Expect 3 more of these posts copied and pasted since I’ve done 3 weeks of Codeacademy already.

Instead of making 2 more posts I’m just going to say here that I’ve already done 3 weeks of this so I’m just going to say that THIS POST IS FOR ALL 3 OF THE WEEK I’VE DONE THIS… SO I’M ACCEPTING THE QUEST 3 TIMES SINCE I DIDN’T DO THEM AS I WAS DOING IT

I’m doing this to just learn more about python and practice since in gnimmargorP (Programming backward) it’s getting a bit too hard.

BLOG

Throughout the three weeks I’ve been working on Codeacademy I learned a lot more. The questions together are at the same difficulty as Gnimmargorp but for the questions, I don’t understand I’m understanding through the explanations on the side that tell me an example and how they did the problem that was given.

I felt very accomplished as through the three weeks I’ve learned a lot about Python. And for the questions I didn’t understand through Codeacademy I learned and tried to understand through the examples they gave. This project will change the work I did because it will give me more information on things to code and new ideas on the quests in Gnimmargorp.

The link of the ‘quest’ that I got up to in Codeacademy is the one that follows:

https://goo.gl/bz0agn

The end results of my code is a large variety, so it’d be hard to copy and paste it al in.

Self-reflection, December 1st

Throughout this past week, I feel I have gave it my all. I feel I “gave it my all” because I managed to get productive during class time and I started working on a website (which was what I started working on). Overall I continued working a bit more in codeacademy.com but started working on websites and the basic text and image inputs. The image below shows what I learned and what it turns out to be:

html online

turns to (just a sample idea of what I can do):

html online1

My goal is to learn a bit more about building websites and hopefully improve what I currently have, or make another one with a different idea.