Friday, February 22, 2013
General Thoughts
Most people see computer programming as a science, an area involving analysis, logic and theories. While i don't disagree with that at all, I also think that the area can be described in other metaphorical terms. One can liken computer programming to an easel, Python to a canvas and the human developer to the artist. In summary, its another dimension for the left-brainers to play god in. Unfortunately, this whole Bruce Almighty thing isn't working out or me. I find myself forgetting fundamental "rules" like how to call a value that was previously returned. I also find myself forgetting obvious things when code errors pop up. My only consolation? Ain't touching this world in college! But i digress. As the six weeks is coming to an end, there are some things that i really enjoy about the class (unfortunately, its not the content). The grading policy's great! Not in the sense that students can score relatively well without a complete grasp on the content, although that does make me smile, but in the sense that there is less stress about it. The class is great as far as an introductory course goes and the grading policy is more lenient on those who are beginners. Plus, students in the class are all at different levels and assignments are set up so that students are less competitive with each other. Its a nice break from the typical LASA class. My only hope as of now is that by the end of this semester, i will have developed better problem solving skills which can be applied in other areas that i'm naturally stronger in.
Friday, February 15, 2013
Good things
I'll admit it, i'm no natural at Computer Programming, programming languages or anything tech related. But lets not dwell on the negatives. Despite having a hard time getting the first function of project two down, i did it! Yes i had some help but hey, i think i'm finally getting the hang of things (as in how things are supposed to work, what the function of the main function is and the component element of functions). On the bright side, i learned a very good problem solving tactic from both Kailey and Averi. In short, if you're stuck, don't dwell on it, move one and do the things that you can do and then come back to the hard stuff. I thought this was an excellent approach to the lab. Allow me to explain. Both Kailey and Averi thought that the second function was difficult after they had completed the first. Thus, they skipped to the third function, maximizing their productivity without getting all caught up on the second function. How does this tactic apply to me, you ask? Instead of getting all hung up on the seemingly impossibility of the second function (i guess i am being a little melodramatic) i moved on to the main function and practically finished that one! This leaves an entire day devoted to figuring out how to graph the function! Realistically, will i still need help from my best buds and the teach? Almost without a doubt. But am i getting something out of the class? Yes, one hundred times over yes.
Saturday, February 9, 2013
Troubleshooting
Highlights from this week:
-Decision control in python relies on Boolean logic anything not false (zeros (0,0.0) empty sequences, false sequences and nothings) are true.
- learned about conditionals (there are three; and,or,if with the if statement being the most common) which checks whether or not a statement is true as a condition for running. Just like in jeroo, if statements that contain elif statements offer the user more control over the code.
-comparison operators such as <,>,=<,>=,==,=! also evaluate true or false
-nested conditionals are confusing to read. Python allows the user to simplify by using comparison operators
-while loops may be used to repeat certain sections of code until a defined condition is met
ex. a=0
while a<5
means that this loop will continue to run until a is equal to five.
-for loops are a lot like while loops but they are preferrable to while loops when it comes to listing things
ex. for variable in range (1,50) will assign the numbers 1-49 to variable
Lab:
-Finished with lots of help. Realized that one of my problems was not reading the pre-lab or the lab thoroughly enough to understand the task which, as you can imagine, doesn't help. I need to slow down. Thank goodness Mr. Tessler was willing to help me...Hopefully i can start to do more of the lab on my own next week. Mini-goal for 2/11-2/16, SET!
-Decision control in python relies on Boolean logic anything not false (zeros (0,0.0) empty sequences, false sequences and nothings) are true.
- learned about conditionals (there are three; and,or,if with the if statement being the most common) which checks whether or not a statement is true as a condition for running. Just like in jeroo, if statements that contain elif statements offer the user more control over the code.
-comparison operators such as <,>,=<,>=,==,=! also evaluate true or false
-nested conditionals are confusing to read. Python allows the user to simplify by using comparison operators
-while loops may be used to repeat certain sections of code until a defined condition is met
ex. a=0
while a<5
means that this loop will continue to run until a is equal to five.
-for loops are a lot like while loops but they are preferrable to while loops when it comes to listing things
ex. for variable in range (1,50) will assign the numbers 1-49 to variable
Lab:
-Finished with lots of help. Realized that one of my problems was not reading the pre-lab or the lab thoroughly enough to understand the task which, as you can imagine, doesn't help. I need to slow down. Thank goodness Mr. Tessler was willing to help me...Hopefully i can start to do more of the lab on my own next week. Mini-goal for 2/11-2/16, SET!
Sunday, February 3, 2013
GRHHHH
The most difficult part about this first project is solving the syntactical errors. I guess this week was the first time i realized how intricate coding is. One letter off or one space too many can lead to dysfunctional line of code. Although this isn't a new discovery, working on the project this week allowed me to see how much like binary general coding is. You either have the code right to a tee or not at all-- there's no middle ground. However, not to be a debbie downer, there are a few things i think i can learn from this week's assignment. For one, I'm not very detail oriented. Otherwise, a common error for me wouldn't be a missing colon at the end of a function definition. For two, I'm not that great at computer programming. Even though it was the first project every in which students had to write from scratch, i needed a lot of help besides consultation from previous labs and power points. I don't know what i would do without the people around me but i'm thankful that they were so willing to help. I wonder what the likelihood of me being able to help them out is....
Subscribe to:
Comments (Atom)