Saturday, 4 April 2015

Last Impressions!

Finally all my classes are over including CSC148. I would like to say that this course was pretty challenging for me as I was new to programming and never learned all the concepts that i learned in CSC148 before. But Frankly i liked this course way more than CSC108 even though it was more difficult than that. The reason for that is that CSC108 was basically an online course with no labs which meant no hands on experience. The inclusion of Labs in CSC148 was the best part of the course until the TA strike due to which all the Labs were cancelled but never mind i enjoyed every aspect of this course. Professor Danny Heap is a really good prof as he explained everything really well and I would like to say that i really liked my TA Shobit as he helped me throughout the Labs.
The Topics which i found difficult in this course was Recursion, Trees and LinkedLists as I had to put in a lot of effort in understanding these but I'm happy that i know these topics very well now. I would like to add that i found Minimax really difficult to implement too and in the beginning when we had to make Subtract Square Game, I was shocked as i thought that i will not be able to do it but i'm proud of myself for learning the stuff in this course and doing what i thought i won't be able to do. Sadly i didn't do well on my midterms, Thus i'm looking forward to getting really good marks in the final, which is going to happen very soon. At the end i would like to say that i loved writing blogs as they helped me write what i had in mind about the course, provide me an understanding of some of the topics in this course really well and above all did let me experience what it is like reading other people's blog who are also going through the same situations as myself.

I would like to add the links to my friends slog posts on which i have commented on and appreciated their hard work.
Dimitry Kubikov's Slog
Sooham Rafiz's Slog
Judy's Slog


P.S I would like to wish all the very best to everyone for the final.

Saturday, 28 March 2015

Revisiting My Earlier Slogs!

I'm revisiting my earlier slog on recursion. When i saw my earlier blog today i was shocked to see that how little i knew about recursion at that time. Even though i agree with myself that recursion is basically calling the function with in itself but now since i have almost finished the course and recursion was the core part of it, now i feel that recursion is such an amazing,vast and also may i had difficult thing to do. It is a really important part of programming since it makes things faster, concise and better in every possible way. I think i partly agree with my earlier self but also am surprised about how little i knew about recursion. At that time i saw programming through a different perspective but now i think my perspective towards coding has changed considerably. I've started to enjoy it even more that i used to.
It is written by my friend Sooham too in his Slog entry that this course has given him a really good experience in using recursion and further my other friend Dimitry has also said similar to this in his Slog.
I think my experience with recursion was very similar to my friends as they have described almost in the same way i just did.


Saturday, 21 March 2015

Impressions Of Week 9!

Week 9 was another extremely stressful week for me since we had our midterm on March 11. I think i did not do as well as i expected but i hope that i get a better mark than the last time. Week 9 was basically discussing the midterm and clearing up misunderstandings about LinkedLists and also Trees.
The lab for previous week was also not that hard, it was just basically implementing the delete and insert method in a binary search Tree. I really liked how my friend implemented a really funny code in his Slog which i would love to share with you guys.


We are almost through the course and i'm curious as to what will we learn in the coming weeks. 

Saturday, 14 March 2015

Impressions of Week 8!

Last week we were introduced to a fairly new thing known as mutation. To explain mutation, the example of LinkedList was used. LinkedList is somewhat similar to Trees, i.e. it also contains data but instead of having a lot of children, LinkedList can only refer to adjacent nodes. We can keep track of the LinkedList with the help of the start and end nodes and also through the nxt variable which helps us in going along the LinkedList. LinkedList is also a linear search thus it is easier to draw the path. I liked how my friend Sooham summarized about when to use the LinkedList on his Blog.
It was easy to understand what the LinkedList was but rather difficult to implement it in code when i tried doing the Lab this week. It's taking me a lot of time to do this lab, as i'm finding this part difficult. I think for the better understanding of things, I will go to Danny's office hours and will look up Piazza for help.

Week 8 was very busy and stressful mainly because of our Assignment 2 which was really hard according to me, partly because of Minimax but in the end we were able to implement it and submit it on time.






Saturday, 7 March 2015

Impressions of Week 7!



In week 7, we learned a different type of a tree called Binary Tree. Binary Tree is very similar to the regular Tree as it has all the properties such as a node, path, internal node, leaves etc but the difference between the two is that the Binary Tree can only have two children where as we know the regular Trees can have many children. In the class BTNode we see that it has two children named the left child and right child respectively and they do serve a purpose as they are very helpful in case of Binary Search Trees as the value in the left tree is less than the node value and the value in the right tree is more than the node value which indeed helps in locating the numbers.

We also learned a very unusual but really interesting way to examine the data in the node's. We learned how to reach the different nodes through 3 different methods formerly known as preorder, inorder and postorder methods.

Also week 7 was really stressful because of the assignment which me and my teammates struggled with. As we know the TA's are on strike, so there were no Labs during week 7, which made me sad as Labs were the one in which we get hands on experience and we actually learn. I have some questions to ask regarding Trees which now i think can only be asked from the profs. Looking forward to clearing up my misunderstandings in the office hours and learning more stuff next week!


Saturday, 28 February 2015

Choosing OOP As My Topic To Be Graded This Week! (Week 7)

I was confused about what to write this week, since the CSC148 website simply says "Choose your summary of Object-Oriented Programming OR recursion OR Abstract Data Types as a topic to be graded. Be sure you have a couple of paragraphs on your chosen topic."
which kind of made me confuse about what should i do since i have already written the summary before. I asked my TA Shobit about this problem and he advised me to repost the topic, that i would like to be graded. Thus, here i'm reposting my summary of OOP.

Object Oriented Programming 


I learned a bit of OOP in CSC108 course, but we barely touched this topic and thus I learned the rest of OOP in CSC148. After learning all the concepts involved i.e defining classes,defining the methods of the class,inheritance,using __init__,__eq__,__str__,__repr__ et cetera, I personally found this topic really interesting and hell yeah it can get really complicated as well. Once I was reading Inheritance in  the book "How to think like a computer Scientist" and Inheritance was described as a dark forest in which everybody is tempted to go but its really hard to get out of that,which i found really hilarious and true.
As we know, learning ABC might be easy for a kindergarten student but when it comes to writing essays thats where it becomes difficult. In the same way learning the concepts described above were easy but when I had to use them extensively in the Assignment given, it was hell of  a nightmare.
But after finishing up the assignment I found that its pretty useful and gets the work done. I absolutely love the concept of Inheritance as it makes the work easier for the programmers in the sense we dont need to write duplicate code but simultaneously makes the code a bit complex.

I was new to programming when i came here,so I learned the ABC of programming here and thus faced a lot of problems but thank god there were always office hours and TA's to help me out .I want to confess that even though it was hard for me as compared to other people who had some programming experience, I had a really good time learning programming here and now I just feel I can code and above all make games with the help of OOP.


Saturday, 14 February 2015

Summary Of Object Oriented Programming Concepts !

Object Oriented Programming 
I learned a bit of OOP in CSC108 course, but we barely touched this topic and thus I learned the rest of OOP in CSC148. After learning all the concepts involved i.e defining classes,defining the methods of the class,inheritance,using __init__,__eq__,__str__,__repr__ et cetera, I personally found this topic really interesting and hell yeah it can get really complicated as well. Once I was reading Inheritance in  the book "How to think like a computer Scientist" and Inheritance was described as a dark forest in which everybody is tempted to go but its really hard to get out of that,which i found really hilarious and true.
As we know, learning ABC might be easy for a kindergarten student but when it comes to writing essays thats where it becomes difficult. In the same way learning the concepts described above were easy but when I had to use them extensively in the Assignment given, it was hell of  a nightmare.
But after finishing up the assignment I found that its pretty useful and gets the work done. I absolutely love the concept of Inheritance as it makes the work easier for the programmers in the sense we dont need to write duplicate code but simultaneously makes the code a bit complex.

I was new to programming when i came here,so I learned the ABC of programming here and thus faced a lot of problems but thank god there were always office hours and TA's to help me out .I want to confess that even though it was hard for me as compared to other people who had some programming experience, I had a really good time learning programming here and now I just feel I can code and above all make games with the help of OOP.



Saturday, 7 February 2015

Impressions of Tracing Recursions !

This week was really stressful mainly because of the midterm, which unfortunately I didn't do that well , it was not because I didn't know the material rather I knew each and every question on the midterm but made really silly mistakes . Well I can't do anything about it now, so i should not worry about it .


RECURSION :--
Definition of Recursion --> Recursion means "defining something in terms of itself" usually at some smaller scale, perhaps multiple times, to achieve your objective Or simply functions that call themselves to solve smaller subproblems.

We were taught Recursion the previous week which I found really interesting and i thoroughly understood it with the help of the handouts given in the class . It's definitely tough to write the code for Recursion but we were just taught to trace it basically in the class and the lab of the previous week was also based on the same and thus I think I aced the quiz . In the midterm as well there was a question on tracing Recursions which I had no problem in doing. I found writing the Recursion code really difficult which is why I was not able to write the code for recursion in the Lab, but i finally understood it when my TA explained it to me.

Overall, I think I feel confident about Recursion now.


Thursday, 5 February 2015

Impressions Of First 3 weeks!

starting from the beginning, I would like to express how scared I was in the beginning of the course. Since I've heard from my friends that its  pretty tough course as compared to CSC108 which according to me I didn't perform as well as my friends who knew Programming from before.



We started off where CSC108 ended , which is Object Oriented Programming . We covered the classes thoroughly and did some new stuff such as Stacks and Privacy and Property() which I found really interesting and also we learned a bit about raising Exceptions and above all learned Inheritance which I think I'm not that good in it . Well I have to say that Labs are the best things in this course, they help me learn a lot and I always feel confident after doing the Labs . Course notes along with the Slides help me to really understand programming and also the more I understand, the more I start to like programming.

"The Assignment is due the coming week and me and my teammates are already done with it Phewww!"

The Quizzes were fine in general, not that tough but I found the second quiz a bit confusing as it was not much clear to me . Well above all I'm happy with my Quiz marks right now!

I think that now the course is getting tougher and I need to be on top of the material to survive this course.

Looking forward to having a good time in this course and hopefully not getting crushed by the workload!


Wednesday, 21 January 2015

Why Geeks Should Know How To Write ?

Intro To The Slog

First of all, I want to welcome all the readers to my slog for the course CSC148 . This will be the second time that i will be writing the slog ,as the last time i wrote the slog was for the course CSC165.I Totally enjoyed writing these slogs as it gives me the opportunity to express what I've learnt in class and also myself.


Why Geeks Should Know How To Write ?
  • According to me geeks should know how to write because if they can write well then they can code well and above all express their ideas better then the other programmers.If a programmer know how to write then he can describe his code very effectively so that if any other programmer looks at his code they could easily understand the whole thing.
  • The other reason why geeks should write is to record all the debugging they have done as it will help them to debug the codes further in their life.I know that it is a bit tedious work but I'm sure it will help the programmer a lot in the future.
  • After reading all the blogs posted on the website I've actually decided to keep track of my code and also improve my English as it will eventually help me express my views or my code better in the future.