For this week, the professor Larry Zhang explained the formal definitions of O and big omega and analyses of two algorithms. Since O and big omega are the concepts he explained last week, the definition was easy to understand: O(n) means the set of function that grows no faster than n, big omega(n) means the set of function that grows no slower than n. Therefore when we look at the graphs of f(n), then the graph of O(n) is upper-bounded while big omega(n) is lower-bounded.
Moreover, the second half of the lecture was about analyze a sorting algorithm, and proving the worst case of insertion sort. The professor divided the python function into three parts, then counted the number of steps needed in order to run the function. And this number of steps are written as sigma notation: this part was surprising because I never expected python function can be represented to sigma notation form.
But the part of picking the reasonable values is still pretty hard, and also determining whether the statement is true or not is hard. I know it can be solved if I solve the many questions as possible so that get familiar to the various kinds of questions.
Thursday, October 30, 2014
Friday, October 24, 2014
Slog for Week 7
For Week 7, the professor Larry Zhang went over more proofs, disproofs, and the new concept, algorithm. For the part of proofs and disproofs, I feel like they are a little more detailed contents from last week, so do not feel very difficult. Also in the Tutorials, we did same problem sets again, so that I feel comfortable with how to find specific number or notation.
For the other part of lecture, the lecture about algorithm, although I have no idea at all when I first heard it, but I suddenly understood what is algorithm by watching the running time visual program, which the professor showed. The fact constant factor do not matter from the running time was surprised even though it is only for the highest-order term matters.
Except them, we just learned two new notation called asymptotic notation, and how to count the steps in the linear search, which I am really familiar with because of my experience from CSC108.
Thursday, October 16, 2014
Slog for Week 6
For this week, we got back the term test 1 result. I was surprised with the high average but since it means that everyone is working hard, I feel like I need to work more hard too.
From the result of test 1, I was able to know which part I am weak of: the part which is required to prove whether the original statement is true or the negation of it is true. Although I figured out I was weak of that part before the test, hence I really focused on that part, I still could not get the way to solve the problem.
Since I realize that it is not possible to figure it out myself, I would go to office hour on next week.
For the lecture on this week, it was advanced version of the last lecture. When we only did how to make a structure of proof last week, this week we started to construct the real proof with estimating the exact value. I understood most of the parts, but still confused with some parts of proof, for example in a backward search, how the sign of <= changes to <. I am going to read the course notes first to help my understanding first, then I will use the office hour next week with the question from the term test 1.
From the result of test 1, I was able to know which part I am weak of: the part which is required to prove whether the original statement is true or the negation of it is true. Although I figured out I was weak of that part before the test, hence I really focused on that part, I still could not get the way to solve the problem.
Since I realize that it is not possible to figure it out myself, I would go to office hour on next week.
For the lecture on this week, it was advanced version of the last lecture. When we only did how to make a structure of proof last week, this week we started to construct the real proof with estimating the exact value. I understood most of the parts, but still confused with some parts of proof, for example in a backward search, how the sign of <= changes to <. I am going to read the course notes first to help my understanding first, then I will use the office hour next week with the question from the term test 1.
Thursday, October 9, 2014
Slog for Week 5
In this week, I had a term test one based on week 1 to week 4. To prepare the test, I reviewed the whole lecture slides, course notes, the professor Larry Zhang covered, and several past tests. Therefore the term test 1 was not that bad since the questions were similar with the past test, which is uploaded in course website. While question one in the test was pretty easy, question two was pretty challenging since it was the part I struggled with the most. I still feel uncomfortable with the problems that ask about which statement is true and which one is false between the original statement and its negation.
If I could prepare that part more, it would be better I think. For the next term test, I will prepare and study whole parts without struggles.
For the lecture in this week, the professor went over the topic of proof. Especially the proof by contradiction and contrapositive. For me, this week's lecture was quite understandable since questions and explanations were straightforward enough, and not complicated yet. However if we go over more, and learn the direct proof, I know it will be more challenging.
Therefore, I am going to pre-read the course notes before the lecture, and work on the corresponding problems from the websites.
Thursday, October 2, 2014
Slog for Week 4
In week 4, the professor Larry Zhang went over bi-implication, transitivity, and mixed quantifiers. At the beginning of the lecture, he began the lecture with explanation of why p => q equals to ㄱp or q: because two statement have the same truth table. His explanation made me understood since I had not understood why those statements are equivalent. By knowing the concept, I have become to be flexible in many other questions related to it. Now I am familiar with De Morgan's Law, implication law, and so on.
Also before I listened the lecture on Tuesday, I was not sure why the order of universal quantification and existential quantification makes difference, but now I have the idea why switching x and y, which are quantified, makes different statements. For example, the statements of 'For every women, there is a man who is her soul mate,' and 'There is a man, every woman is his soul mate.' have exactly different meaning by only switching the place of x and y.
Even though I understand most of lecture, there was the part I can hardly understood. In mixed quantifiers, the professor went over two mathematical examples, but I could not follow since I have no idea from the beginning of the example. I expected to get the ideas of similar questions from the tutorial, but we just did problems about bi-implication that I already had plenty of ideas.
I might going to try to find the similar examples from the past tests that the professor put on the lecture slide, and to be able to solve them with many practices.
Thursday, September 25, 2014
Slog for Week 3
For this week, the professor Larry Zhang went over the concepts of conjunction, disjunction, negation, and truth tables. Actually the parts of conjunction and disjunction were not that hard since it is easy to transfer from English language to symbols. I only need to be careful when the difference of uses of conjunction 'and', between the meanings of 'the actual and 'union'. Except these, nothing was difficult.
Contrast to conjunction and disjunction, negation was hard for me. For example, I have no idea how and why the symbol of 'and' changes to the symbol of 'implies to'. I was trying to understand it by looking and finding in course notes, and websites, but I still do not get the concept at all. I believed I probably get some help on this concepts in tutorials, which I had today, but sadly it makes me more confused.
In order to understand the negation part, I believe I need to go office hour on next week, which might be solve my problems. Moreover I think only understanding lecture slides is not enough, so that I need to find the problems relating to lecture from the website that I can work on.
Contrast to conjunction and disjunction, negation was hard for me. For example, I have no idea how and why the symbol of 'and' changes to the symbol of 'implies to'. I was trying to understand it by looking and finding in course notes, and websites, but I still do not get the concept at all. I believed I probably get some help on this concepts in tutorials, which I had today, but sadly it makes me more confused.
In order to understand the negation part, I believe I need to go office hour on next week, which might be solve my problems. Moreover I think only understanding lecture slides is not enough, so that I need to find the problems relating to lecture from the website that I can work on.
Tuesday, September 16, 2014
Slog for Week 1 and Week 2
For Week 1 and Week 2, the professor Larry Zhang went over the concepts of precision, problem solving and quantifiers, sentences, statements, predicates, and implications. Generally the lecture in Week 1 was not that difficult, because the way to solving problems and quantifiers such as universal quantification and existential quantification are the concepts I already used to it from my mathematical experience.
However, the lecture I had in this week was not easy as the lecture in Week 1. Even though the part of 'quantifiers as claims about sets' was quite understandable since most of quantifiers are shown in Mathematic quite often, predicates and implications were terribly confusing concepts that were brand new for me. Firstly, I could not understand why does the example sentence, "x is a prerequisite of y" become to P(x,y). Secondly, I struggled to finding P and Q in the everyday language sentences, which the professor went over during lecture 2.3. First half of sentences were not that difficult although rest of them were really confusing. For example, from the sentence, "I will go only if you insist," I do not get why 'I will go' is P but not Q. In my way, I considered 'you insist' as Q because 'If you insist, then I will go' seems right rather than 'If I will go, then you insist.' Lastly, in equivalence, it was challenged to get the concepts the meanings of signs => (which means P only if Q ) and <= (which means P if Q).
In order to overcome these difficulties, I have read the course notes that are relevant to content of lecture slides, and search additional information related to concepts throughout the internet, of course using reliable sources from university websites such as lecture notes from other universities. Also I found more examples of each concepts, especially predicates and implications, which are the hardest part I am struggling to.
From the lectures of Week 1 and Week 2, I now decide to read the lecture notes prior to each lecture, and print the lecture slides before the lecture too. Listening lecture with some background knowledge from lecture notes might be helpful to understand the materials better, so that I will definitely do that from next week.
However, the lecture I had in this week was not easy as the lecture in Week 1. Even though the part of 'quantifiers as claims about sets' was quite understandable since most of quantifiers are shown in Mathematic quite often, predicates and implications were terribly confusing concepts that were brand new for me. Firstly, I could not understand why does the example sentence, "x is a prerequisite of y" become to P(x,y). Secondly, I struggled to finding P and Q in the everyday language sentences, which the professor went over during lecture 2.3. First half of sentences were not that difficult although rest of them were really confusing. For example, from the sentence, "I will go only if you insist," I do not get why 'I will go' is P but not Q. In my way, I considered 'you insist' as Q because 'If you insist, then I will go' seems right rather than 'If I will go, then you insist.' Lastly, in equivalence, it was challenged to get the concepts the meanings of signs => (which means P only if Q ) and <= (which means P if Q).
In order to overcome these difficulties, I have read the course notes that are relevant to content of lecture slides, and search additional information related to concepts throughout the internet, of course using reliable sources from university websites such as lecture notes from other universities. Also I found more examples of each concepts, especially predicates and implications, which are the hardest part I am struggling to.
From the lectures of Week 1 and Week 2, I now decide to read the lecture notes prior to each lecture, and print the lecture slides before the lecture too. Listening lecture with some background knowledge from lecture notes might be helpful to understand the materials better, so that I will definitely do that from next week.
Subscribe to:
Posts (Atom)