That being said, efficiency seems to be one of the most important computer science topics, at least in industry. A computer's resources as well as a user's time is finite, so the usefulness of a program seems to be almost completely proportional to its efficiency of execution.
CSC148 SLOG
Thursday, 7 April 2016
Week 12 Impressions
During the final week of CSC148, we finished covering the topic of Big O and efficiency. So far, I am finding that it is relatively harder to find ways to practice applying this concept than others in this course. One can find endless ways to implement recursion and classes just by coding, but Big O is a more analytic topic by nature. To increase familiarity with the topic, I should practice applying Big O notation to various pieces of code, whether mine or from online. The accuracy of the notation can only really be confirmed through thinking and analysis, instead of just running of the code.
Wednesday, 30 March 2016
Week 11 Impressions; Revisiting Week 3 Impressions
It has been a little over 2 months since I posted my first "slog" for CSC148. A lot of my anticipations were affirmed, yet I feel I have gained more perspective.
In my first slog, I stated that I was most concerned on how efficiently I could directly practice programming in order to be successful in CSC148. The sentiment was that directly applying concepts would be a sure way to understand them, given enough time. While this turned out to be true for many situations, I have also realized that sometimes it is okay to simply sit back, read coding examples and related theory, and slowly digest the material without actively re-applying it. This allows me to creatively ponder different aspects of the material without the stress of being confined to rigid parameters.
It is sometimes difficult to predict which type of learning is best for specific situations, but I find that I am improving at finding the correct balance. This applies the same to my other subjects as well. Sometimes I regret not having directly "practiced" course content enough, and other times I regret not digesting "theory" long enough. Nonetheless, I am slowly becoming better at approximating the best methods of learning, which always seems to be a variety.
Week 10 Impressions
For the past week, we have been learning about efficiency of code. As pieces of code become larger and take longer to run, the method of execution of an algorithm becomes more important. This is similar to my studying habits, where planning and designing my own workflow is important. Discipline and focus play a direct part in my learning efficiency, in the same way that CPU speed directly affects how fast an algorithm runs through code. However, equally important, is how I achieve my studying, such as deciding on the order in which I study certain subjects, which in turn affects my overall studying speed. In the same way, deciding in which order to execute certain tasks in programming can significantly affect the execution time of the algorithm.
Saturday, 19 March 2016
Week 9 Impressions
As I did for Assignment 1, I am working on Assignment 2 alone. This was a conscious choice based on my preference for autonomy. While the assignments are very long and time is saved when working in a group, when working by myself, I understand the assignment better, having worked on all aspects of the assignment directly. Thus I gain more from my practice.
Furthermore, I do not have to worry about disagreements with group members, an unsatisfying type of struggle. I am the only one accounted for marks deducted or earned on the assignment, and so in this regard, I have to worry only about my own competence.
I realize interpersonal collaboration is an important skill in most fields of work, but independence is equally important, and there is an inherit sense of stability to be found in independent work.
Furthermore, I do not have to worry about disagreements with group members, an unsatisfying type of struggle. I am the only one accounted for marks deducted or earned on the assignment, and so in this regard, I have to worry only about my own competence.
I realize interpersonal collaboration is an important skill in most fields of work, but independence is equally important, and there is an inherit sense of stability to be found in independent work.
Saturday, 12 March 2016
Week 8 Impressions
Concepts in CSC148 like recursion and trees are simple. It takes only exposure to a few examples to digest the intuitions. I would expect, then, that I should dedicate most of my time in CSC148 to implementing these concepts. My improvements in computer science has largely been due to direct practice.
That being said, some elements of proficiency are more urgent then others. In preparation for the test to come, I will make sure I know all the key terms to avoid basic issues. It would be disappointing if I was capable of implementing everything on the term test but failed to execute because I couldn't understand some instruction.
Thursday, 3 March 2016
Week 7: Recursion
The concept of recursion is somewhat novel, but quite simple once grasped. While I initially had difficulty conceptualizing recursion at an intuitive level, sorting the concept into two specific situations: a base case, and a recursive step, solidified my understanding. Recursion in this way is quite similar to proof by induction in mathematics, where instead of a recursive step, there is the inductive step, and where the process starts instead of ending at a specific base case.
I appreciate recursion however, not through its novelty, but its actual use. Particularly, printing the contents of a binary tree with recursion displays why the ability to use certain methods/functions an unspecified number of times is so powerful. For this reason, the base condition of a recursive function is a lot like a while loop. One who employs recursion into code plans a condition for which the recursive function to end in a certain way and implements it as the base case. Essentially, any time I wish to do anything with an object that is repetitive in structure, particularly involving nodes, I can use recursion.
I appreciate recursion however, not through its novelty, but its actual use. Particularly, printing the contents of a binary tree with recursion displays why the ability to use certain methods/functions an unspecified number of times is so powerful. For this reason, the base condition of a recursive function is a lot like a while loop. One who employs recursion into code plans a condition for which the recursive function to end in a certain way and implements it as the base case. Essentially, any time I wish to do anything with an object that is repetitive in structure, particularly involving nodes, I can use recursion.
Thursday, 25 February 2016
Week 6 Impressions
My programming fluency has noticeably increased in the past few weeks. Like a language, python becomes more familiar most efficiently via practice, (especially by fooling around in an interpreter). In the past, it took me some time to digest unfamiliar code. In contrast, I have recently been able to read code more naturally.
That being said, as one of those who could not take the first test due to the fire alarm, I am uneasy that I have little tangible measurement on where I stand in relation to the class. I have no significant grades in CSC148 so far, and while I have a sense of my own progress, I wish for more external signs of success (or lack thereof). In the meantime, I will keep trying to refine my studying skills.
That being said, as one of those who could not take the first test due to the fire alarm, I am uneasy that I have little tangible measurement on where I stand in relation to the class. I have no significant grades in CSC148 so far, and while I have a sense of my own progress, I wish for more external signs of success (or lack thereof). In the meantime, I will keep trying to refine my studying skills.
Subscribe to:
Posts (Atom)