This week, new and different concepts were introduced throughout lectures. I never really thought about the limits of computer science seeing as it's regarded as still a new and expanding field. So when Danny introduced functions that could not be programmed, I was quite intrigued. I understand that the halt function cannot work on all functions (in the case of the function calling halt within itself, EX navel gaze), and many other functions that would extend to halt, also cannot be implemented because halt cannot be implemented.
Another new concept introduced this week was the concept of different sized infinite sets. I find the concept of infinite sets and the definition of countable to be a tricky and un-natural concept. For finite sets, the definition of one-to-one and onto make sense, however, I find it hard to visualize this concept with infinite sets. For example, the definition of one-to-one and onto is satisfied with the sets of natural numbers, even natural numbers, and odd natural numbers(compared to natural numbers). Therefore, the set of natural numbers has the same size as the set of even natural numbers AND the same size as the odd natural numbers, although the set of natural numbers contains BOTH the even and odd natural numbers.
Friday, 21 November 2014
Sunday, 16 November 2014
week 9
This week we learned about proving more complicated big O and big Omega questions. Although they appear to be complicated at first, it seems the trend is if you follow the proof structure taught throughout the course, and simply write your given definitions (in the antecedent), choosing your c and b don't seem to be all to difficult.
My only concern is that for most of the questions, we were given whether the statement was true or false, and surprisingly some of the statements I believed to be true, were false.
My only concern is that for most of the questions, we were given whether the statement was true or false, and surprisingly some of the statements I believed to be true, were false.
Friday, 7 November 2014
Week 8
The main event this week was the second term test, and I had learned that solving proofs under time pressure could be very difficult and stressful. I found it very challenging to really understand what I was proving and to think of an example ( existential proof) of an instance that satisfied the proof. I was mainly stuck on the 2nd question for the majority of the test. I had written the proof structure for the 2nd and 3rd questions to ensure I would get at least part marks for them. It was not until after the term test I had realized that the 3rd proof on the test was extremely similar to the proof done in assignment 2. With a clear mind, I believe I would have been able realize this, but because of the time constraint and lack of review, sadly I was not.
I have learned that I should review much more than I did in preparation for this test.
I have learned that I should review much more than I did in preparation for this test.
Saturday, 1 November 2014
Week 7~
At the end of the last week, we were given an in class exercise where we were expected to devise a plan or algorithm to solve a certain problem. After help from Danny, as a programmer, it was quite simple to understand the first solution or plan; work backwards. This meant, start from the solution, and keep working back until you reach the starting point. If you cannot reach the start, then the solution is not possible. Now, the second solution is what stood out to me. Interestingly, we could model this problem as a tree (currently exploring this topic in CSC 148) and view all the possible cases or results. I always find it astonishing when courses relate together, even in simple cases such as this.
During the week, I worked on assignment 2 and have no experienced how simple it is to prove something that is false, or disproof something true. I was convinced claim 1.2 was true, until told otherwise at Danny's office hours. It was one of those moments of disbelief, followed by the feeling of utter stupidity. It seemed I missed a case in my proof, causing it to collapse. It's interesting how fragile a "for all" statement is, and how there are cases that are hard to consider until told to you. As a computer scientist, I need to improve this and learn how to explore and consider all possible cases.
During the week, I worked on assignment 2 and have no experienced how simple it is to prove something that is false, or disproof something true. I was convinced claim 1.2 was true, until told otherwise at Danny's office hours. It was one of those moments of disbelief, followed by the feeling of utter stupidity. It seemed I missed a case in my proof, causing it to collapse. It's interesting how fragile a "for all" statement is, and how there are cases that are hard to consider until told to you. As a computer scientist, I need to improve this and learn how to explore and consider all possible cases.
Subscribe to:
Posts (Atom)