<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3207976627886177165</id><updated>2011-04-21T17:26:13.945-04:00</updated><category term='Nov 7'/><category term='Oct 15'/><category term='problem set 1'/><category term='Oct 20'/><category term='problem set 4'/><category term='Sept 17'/><category term='Sept 12'/><category term='fourth week'/><category term='sixth week'/><category term='Oct 27'/><category term='Oct 31'/><category term='Sept 26'/><category term='Oct 24'/><category term='third week'/><category term='Oct 1'/><category term='second week'/><category term='Sept 29'/><category term='twelfth week'/><category term='problem solving'/><category term='Sept 8'/><category term='Nov 14'/><category term='third midterm'/><category term='ninth week'/><category term='Nov 17'/><category term='first week'/><category term='thirdteenth week'/><category term='Nov 3'/><category term='fifth week'/><category term='Nov 26'/><category term='Sept 19'/><category term='Sept 10'/><category term='Dec 3'/><category term='Sept 15'/><category term='eleventh week'/><category term='Oct 22'/><category term='first midterm'/><category term='Oct 29'/><category term='Sept 24'/><category term='Oct 17'/><category term='Nov 28'/><category term='Dec 5'/><category term='Oct 3'/><category term='problem set 2'/><category term='second midterm results'/><category term='seventh week'/><category term='first midterm results'/><category term='assignment 2'/><category term='Nov 21'/><category term='tenth week'/><category term='Nov 19'/><category term='Oct 8'/><category term='problem set 3'/><category term='Dec 1'/><category term='Nov 24'/><category term='Oct 6'/><category term='intro to CSC236'/><category term='Nov 12'/><category term='Nov 5'/><category term='Sept 22'/><category term='assignment 1'/><category term='Oct 10'/><category term='second midterm'/><category term='Nov 10'/><category term='eight week'/><title type='text'>Jason's CSC 236 Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-8173860831214235768</id><published>2008-12-05T11:31:00.007-05:00</published><updated>2008-12-05T13:00:20.739-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem solving'/><title type='text'>Problem solving - sum of products</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;I did this on the last day, way too busy for other courses.&lt;br /&gt;&lt;br /&gt;I chose this question, "If n represents a positive whole number, what is the largest product that can be formed by multiplying the elements of a list of positive whole numbers that sum to n?" because it is very interesting, plus I like to play around with numbers a lot. Anyways, onwards to the proof:&lt;br /&gt;&lt;br /&gt;1. Understand the problem:&lt;br /&gt;&lt;br /&gt;This question basically asks a formula for the largest product made up of numbers that sums up to any number n.&lt;br /&gt;&lt;br /&gt;2. Devising a plan:&lt;br /&gt;&lt;br /&gt;Many ways to do this:&lt;br /&gt;&lt;br /&gt;brute force - trying out a large number of values, find a pattern and test it out with extremely large number to confirm the formula. It's a good way to check your own intuition but not very efficient (especially if your guess is wrong).&lt;br /&gt;&lt;br /&gt;equations - there's got to be some ways of relating sum and products as an equation, certainly this way is fast and more efficient as it is already mathematically rigorous and straightforward.&lt;br /&gt;&lt;br /&gt;working backward - It may work with other problems, but may not work with this one. Basically use a random number, find the most numbers you can that makes up the two largest multiplier.&lt;br /&gt;&lt;br /&gt;I choose a combination of brute force (this problem is relatively small), and equations (to express the formula).&lt;br /&gt;&lt;br /&gt;3. Carrying out the plan:&lt;br /&gt;&lt;br /&gt;The first few natural numbers are not interesting, the pattern starts to make sense with n &gt;= 6.&lt;br /&gt;&lt;br /&gt;number 6&lt;br /&gt;&lt;br /&gt;list of possible sums  (1, 1, 1, 1, 1, 1), (1, 1, 1, 1, 2), (1, 1, 1, 3), (1, 1, 4), (1, 5), (2, 2, 2), (1, 2, 3), (3, 3)&lt;br /&gt;&lt;br /&gt;biggest product  9&lt;br /&gt;&lt;br /&gt;number 7&lt;br /&gt;                &lt;br /&gt;list of possible sums (1, 1, 1, 1, 1, 1, 1), (1, 1, 1, 1, 1, 2), (1, 1, 1, 1, 3), (1, 1, 1, 4), (1, 1, 5), (1, 6), (1, 2, 2, 2), (1, 1, 2, 3), (1, 3, 3), (2, 2, 3)&lt;br /&gt;&lt;br /&gt;biggest product 12&lt;br /&gt;                &lt;br /&gt;number 8                  &lt;br /&gt;&lt;br /&gt;list of possible sums (1, 1, 1, 1, 1, 1, 1, 1), (1, 1, 1, 1, 1, 1, 2), (1, 1, 1, 1, 1, 3), (1, 1, 1, 1, 4), (1, 1, 1, 5), (1, 1, 6), (1, 7), (2, 2, 2, 2), (2, 3, 3), (1, 2, 2, 3), (1, 1, 3, 3) &lt;br /&gt;&lt;br /&gt;biggest product 18&lt;br /&gt;&lt;br /&gt;... and so on.&lt;br /&gt;&lt;br /&gt;Next, onwards to the formula, from the pattern above the biggest product from the list of sums is a combination of 2s, and 3s.&lt;br /&gt;&lt;br /&gt;Given a number n, breaks the number into two-halves and find all possibles factor of floor(n/2) and ceil(n/2) (in case n is odd) those two halves represented with 2s and 3s, with 3s the most priority (i.e. a number 8 can be made by 2 X 2 X 2 X 2, but it's value is the biggest for 3 X 3 X 2).&lt;br /&gt;&lt;br /&gt;If n is even, let k = n - 3m, where k &lt;= n mod 3, with m \in N. Then either k is 0 or even, thus k can then be represented as powers of 2 (i.e. k = 2^p, for p \in N). Therefore n = 3m or n = 3m + 2^p, for m, p \in N, that will represent the biggest product by multiplying p 2s and m 3s (i.e. 8 = 3 X 2 + 2^1, and product = 2 X 3 X 3 = 18).&lt;br /&gt;&lt;br /&gt;Similar case for n = odd. Then it will be of three cases: if it equals 0 after mod 3, then it is a multiples of 3, say, 3m, for m \in N. If it equals 1 after mod 3, then the equation becomes (let t be the odd half) t = 3^(s-1) + 2r, with r, s \in N, where s is the biggest powers of 3 t can obtain). If it equals 2 after mod 3, then t = 3^s + 2r, s, r \in N, since the remainder of mod 3 is a multiples of 2. Then the biggest product can be obtained by multiplying s 3s and r 2s.&lt;br /&gt;&lt;br /&gt;So n = 3m or 3m + 2^p or 3^(s-1) + 2r or 3^(s) + 2r, depending on the situation. The biggest product is then the multiples of m or s times of 3s and p or r times of 2s.&lt;br /&gt;&lt;br /&gt;4. Looking back:&lt;br /&gt;&lt;br /&gt;I'm done the proof, but the mathematical expression can be simplified greatly, I need more knowledge in order to do so.&lt;br /&gt;&lt;br /&gt;The combination works greatly because brute force allows me to find a pattern, while using equations allows me to reduce the amount of explanation I need to write/type (it's still a lot to explain the cases).&lt;br /&gt;&lt;br /&gt;My solution may not be the neatest, but I think it works perfectly with all n. However I believe there are other equations that are shorter and much more elegant, my skill of proving is not up to that level yet... &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-8173860831214235768?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/8173860831214235768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=8173860831214235768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/8173860831214235768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/8173860831214235768'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/12/problem-solving-sum-of-products.html' title='Problem solving - sum of products'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5591510839537405890</id><published>2008-12-05T11:21:00.002-05:00</published><updated>2008-12-05T11:30:56.263-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dec 5'/><category scheme='http://www.blogger.com/atom/ns#' term='third midterm'/><title type='text'>Last day and test</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;This is the first time that the question typo actually messed me up completely.&lt;br /&gt;&lt;br /&gt;So, the last day of lecture, the third test is on Chapter 7 (but what exactly?), so I have a hard time focusing on which part to study on, instead I used lots of time just to read through the course notes.&lt;br /&gt;&lt;br /&gt;Apparently I haven't prepared myself for the Cartesian product DFSA, plus the minor typos on this question really got me stuck there for a while (yes, I know the typo was already mentioned by Danny, but actually I haven't paid attention to it). I still managed to figure out with the last few minutes I have, the other two questions are very straightforward, so nothing to say about those.&lt;br /&gt;&lt;br /&gt;After this intensive thirteen week lecture, obviously I've learned a lot about the theory of computation, all those wonderful proof techniques are very useful for us later on in our undergraduate studies. I personally think Danny is a very good lecturer, I've learned a lot from it (and also from this course), the only think I regret so far is to not spent enough time for this course. I think I lucked out in so many places, and I know that the exam will get me for sure.&lt;br /&gt;&lt;br /&gt;Oh well, I enjoyed this course a lot, I certainly need to improve my sleeping habits because I cannot handle morning courses (or exams!), and appeared tired sitting near the front of the class is rather embarrassing.&lt;br /&gt;&lt;br /&gt;Back to more studying, I'll write out a proof later.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5591510839537405890?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5591510839537405890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5591510839537405890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5591510839537405890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5591510839537405890'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/12/last-day-and-test.html' title='Last day and test'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5482382216286109332</id><published>2008-12-04T00:03:00.003-05:00</published><updated>2008-12-04T00:05:41.238-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dec 3'/><title type='text'>A rather pointless entry</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;I'm late for this entry again!&lt;br /&gt;&lt;br /&gt;Oh well, this lecture was spent on preparing for the exam next Friday (still can't believe it's that close now), and the TA evaluate form.&lt;br /&gt;&lt;br /&gt;There's nothing new here to write, I can spent more productive time studying and finding out a problem to solve for this slog.&lt;br /&gt;&lt;br /&gt;Logging off~&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5482382216286109332?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5482382216286109332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5482382216286109332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5482382216286109332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5482382216286109332'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/12/rather-pointless-entry.html' title='A rather pointless entry'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-9007229916837479633</id><published>2008-12-02T00:08:00.003-05:00</published><updated>2008-12-02T00:14:40.208-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dec 1'/><category scheme='http://www.blogger.com/atom/ns#' term='thirdteenth week'/><title type='text'>Push-down Automata</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Monday&lt;br /&gt;Hmm... seems like I forgot, I was busy studying for other courses.&lt;br /&gt;&lt;br /&gt;Ah, December, the last week of university, the last week of brain torture, the beginning of a holiday.&lt;br /&gt;&lt;br /&gt;The projector is not working again, so back to old fashion chalk-and-blackboard teaching. Today we relate the similarity between context free grammars and finite state automata, then finally show what we couldn't do in FSA (a binary string with the same number of 0s and 1s) by adding memory (a.k.a stacks) onto a similar looking FSA - the PDA! - to make it work.&lt;br /&gt;&lt;br /&gt;I was quite relieved to find out that they are extremely similar, guess I don't have to worry about not understand it, because I can study off FSA with a few slight changes and a few more objects added to it. However, I do have to begin preparing for test 3, in the midst of me studying for other courses as well.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-9007229916837479633?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/9007229916837479633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=9007229916837479633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/9007229916837479633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/9007229916837479633'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/12/push-down-automata.html' title='Push-down Automata'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7523914030439238607</id><published>2008-11-29T23:04:00.002-05:00</published><updated>2008-11-29T23:12:25.403-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 28'/><title type='text'>Context-Free Grammars</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: This Friday&lt;br /&gt;&lt;br /&gt;Today we moved on to what we do best, proving that the context-free grammar works. The one grammar we are proving in the lecture denotes the set of binary strings having the same number of 0s and 1s.&lt;br /&gt;&lt;br /&gt;The proof itself is not hard, but extremely long (just like proof of correctness and the proof of the DFSAs/NFSAs). Not to mention the random Intermediate Value Theorem jumping in out of nowhere to save the day (it works perfectly with this proof), that really surprises me.&lt;br /&gt;&lt;br /&gt;I'm still enjoying my relatively free week to study before the exam storm brew, 4 consecutive exams, with my first two exams (back-to-back - right after each other) on the first day.&lt;br /&gt;&lt;br /&gt;Oh, scratch that! I'll have to find time in the midst of studying to do well in the third test/think up a problem solving question for this Slog, not to mention 207 project in its final phase... there's still quite a lot of things to keep me busy these days...&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7523914030439238607?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7523914030439238607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7523914030439238607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7523914030439238607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7523914030439238607'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/context-free-grammars.html' title='Context-Free Grammars'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-893098255039111606</id><published>2008-11-26T23:20:00.003-05:00</published><updated>2008-11-29T23:04:34.664-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 26'/><title type='text'>New lesson</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;We finished with all the regular expressions and formal automata stuff, now we moved on to context-free grammers.&lt;br /&gt;&lt;br /&gt;Everything's still related, with the grammer taking in variables, terminals, production and start states similar to the DFSA/NFSA material. I liked how you can express many strings in the language this way, it is also very fun but tricky like the exercises for today.&lt;br /&gt;&lt;br /&gt;I'm still enjoying my rare workload-free week, I plan to start studying for the third test during the weekend.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-893098255039111606?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/893098255039111606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=893098255039111606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/893098255039111606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/893098255039111606'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/new-lesson.html' title='New lesson'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6812922896598427232</id><published>2008-11-24T23:15:00.004-05:00</published><updated>2008-11-24T23:23:15.415-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 24'/><category scheme='http://www.blogger.com/atom/ns#' term='twelfth week'/><title type='text'>It's all over (I guess?)</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Bad day, bad day, bad day &gt;_&lt;&lt;br /&gt;&lt;br /&gt;First, there's phase 3 for the 207 project due in the morning, second, there's stat problem set to hand in, third, assignment 3 for this course. I have to cope through the whole day with massive sleep deprivation.&lt;br /&gt;&lt;br /&gt;Back on topic, today we learn the definition of non-regular languages, what surprises me the most is the fact that there are more non-regular languages than regular languages, as well as the fact that the alphabet we are using (binary digits of 0 and 1) was not even regular at all!&lt;br /&gt;&lt;br /&gt;As well, the pumping lemma. I also raise the question about the "lemma" alongside with Danny, because to me it seems very important in this topic. The pumping lemma is useful to determine whether a language is regular or not, as well as its simplicity, both in diagram and definition. I also find it rather funny how you can "pump" a language to make it irregular.&lt;br /&gt;&lt;br /&gt;Now that most of the workload is done, with two more weeks to go, I'll catch up on the study, get more sleep, and prepare for the final exams during December.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6812922896598427232?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6812922896598427232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6812922896598427232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6812922896598427232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6812922896598427232'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/its-all-over-i-guess.html' title='It&apos;s all over (I guess?)'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-4363525077086585800</id><published>2008-11-23T00:40:00.002-05:00</published><updated>2008-11-23T00:45:45.620-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 21'/><title type='text'>Ack!</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Friday&lt;br /&gt;&lt;br /&gt;Apparently I'm not good at keeping track, it is now Sunday (when I'm writing this).&lt;br /&gt;&lt;br /&gt;Today lecture is similar to the lecture we did a few weeks ago regarding how PWO, PCI and PSI relates to each other, we started first by deriving a regular expression given a DFSA, and show that how regex, NFSA, and DFSA also has very close relationships with each other.&lt;br /&gt;&lt;br /&gt;I still have trouble grasping the purpose of epilson transitions in NFSA, is it just some kind of a placeholder?&lt;br /&gt;&lt;br /&gt;I haven't started working on assignment 3 yet, I looked at it a long time ago, thought about it, but haven't written any conceivable proofs regarding it. It doesn't seem that hard, I just have trouble formulating the definition of the Kleene star (question 3) in the head, and how I should go about to prove it. Right now, I'll take a rest - a brain's always clearer when you're not tired.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-4363525077086585800?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/4363525077086585800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=4363525077086585800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4363525077086585800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4363525077086585800'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/ack.html' title='Ack!'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-9052743746501384991</id><published>2008-11-19T23:08:00.003-05:00</published><updated>2008-11-19T23:12:32.116-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 19'/><title type='text'>Pointless entry</title><content type='html'>&lt;span style="font-family: courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Ah, so I finally understands what NFSA is, and how it relates to DFSA in today's lecture.&lt;br /&gt;&lt;br /&gt;The massive amounts of epsilon transitions confuses me a little, but everything makes sense with a picture of a FSM.&lt;br /&gt;&lt;br /&gt;Still cannot grasp the ideas behind many of the regular expression symbols, but it should be cleared when I worked through problem set 6 and assignment 3.&lt;br /&gt;&lt;br /&gt;Should start on both above-mentioned work.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-9052743746501384991?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/9052743746501384991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=9052743746501384991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/9052743746501384991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/9052743746501384991'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/pointless-entry.html' title='Pointless entry'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-2914466681439237859</id><published>2008-11-17T22:31:00.002-05:00</published><updated>2008-11-17T22:38:57.578-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 17'/><category scheme='http://www.blogger.com/atom/ns#' term='eleventh week'/><title type='text'>A new week</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Due to my poor eyesight for today, I'm unable to write everything down, so I'll recall with my memory of today's lecture.&lt;br /&gt;&lt;br /&gt;So we started to prove that a Deterministic Finite State Automata (DFSA) is correct given what the machine supposed to do and a proper string in the alphabet. The prove itself, like the proof of correctness, is rather long but not hard.&lt;br /&gt;&lt;br /&gt;Next, we went on to the definition of NFSA (what's the N stands for anyways?), which I (unfortunately) can't see too clearly what it is about, I assume it is quite similar to that of the DFSA.&lt;br /&gt;&lt;br /&gt;I'll take a break today, got to rest my eyes.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-2914466681439237859?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/2914466681439237859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=2914466681439237859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2914466681439237859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2914466681439237859'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/new-week.html' title='A new week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-4762485038826244706</id><published>2008-11-15T23:28:00.003-05:00</published><updated>2008-11-15T23:33:52.653-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='second midterm results'/><category scheme='http://www.blogger.com/atom/ns#' term='Nov 14'/><title type='text'>second midterm....</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Friday&lt;br /&gt;&lt;br /&gt;I see a pattern correlating with me and the midterm (of all kinds):&lt;br /&gt;- When I'm not confident, when I feel I'll do bad on it, the mark generally are higher than what I expected.&lt;br /&gt;- When I'm confident, when I feel alright about the midterm, the mark is lower than what I expected (well... not really, just lower then average... overall).&lt;br /&gt;&lt;br /&gt;I don't get it, so maybe I'll just stay insecure about every kind of of written exam, there's much more improving I needed to do to get better on it.&lt;br /&gt;&lt;br /&gt;Today's class is gone basically into course evaluation and handing back problem sets and midterms, since there are not much to write about on Friday, I'll finish here.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-4762485038826244706?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/4762485038826244706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=4762485038826244706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4762485038826244706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4762485038826244706'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/second-midterm.html' title='second midterm....'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7946588101420680171</id><published>2008-11-12T23:04:00.002-05:00</published><updated>2008-11-12T23:10:31.839-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 12'/><title type='text'>FSAs</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;I think I finally can grasp the usage and idea behind regular expressions now, so I think this will propel me quickly in understanding the lecture.&lt;br /&gt;&lt;br /&gt;Today's class is rather interesting - more deterministic finite state automata, it was so interesting that I might just search for the same program that Danny used in the class today and the previous lesson before that.&lt;br /&gt;&lt;br /&gt;But the darker side, I'm still a bit confused about the definition of language and a set of alphabets (afterward when I'm doing my problem set 5 I finally understand the difference between them), so there's hopefully no problem with this topic from now on. All I need is to spent time wisely and catch up with my work.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7946588101420680171?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7946588101420680171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7946588101420680171' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7946588101420680171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7946588101420680171'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/fsas.html' title='FSAs'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-1003291622205627242</id><published>2008-11-10T21:01:00.004-05:00</published><updated>2008-11-10T21:14:53.011-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tenth week'/><category scheme='http://www.blogger.com/atom/ns#' term='Nov 10'/><title type='text'>*Sigh*...</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;I've suffered a major sleep deprivation today finishing off A2 for 207, sleeping at 4 a.m. and waking up at 8 a.m., not that it's a big deal for other people (who I guess have experienced worst) who had been through this many times, but I just don't feel like myself today.&lt;br /&gt;&lt;br /&gt;Strangely, it's the opposite that happened. Usually I'm awake mentally but tired physically, but today I felt I can stay through the lecture without completely collapsing mid-way through the lecture, yet I have trouble concentrating mentally, oh well... this happens only today I guess...&lt;br /&gt;&lt;br /&gt;The lack of practice for today's topic (regular expression/finite state automata) certainly had me at a loss yet again, this is amplified more by the lack of sleep explained above. With enough time (I still haven't studied for the MAT 223 quiz on Thursday yet) I'll have to try harder reviewing those to get a better grasp of this and prevent me from falling seriously behind.&lt;br /&gt;&lt;br /&gt;Then there's another problem set, oh great..., well..., at least my workload eases up a bit after this week.&lt;br /&gt;&lt;br /&gt;Minor complaint here: It just seemed like this course, together with STA 247, has been giving us weekly work throughout the semester, it's hard as it is for me to went through this (plus other courses) without a break or a two in between, plus I'm behind in all of my courses yet again, oh time... you are certainly very elusive when I need you.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-1003291622205627242?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/1003291622205627242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=1003291622205627242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/1003291622205627242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/1003291622205627242'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/sigh.html' title='*Sigh*...'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7966241989925377040</id><published>2008-11-08T23:23:00.002-05:00</published><updated>2008-11-08T23:29:04.940-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='second midterm'/><category scheme='http://www.blogger.com/atom/ns#' term='Nov 7'/><title type='text'>Reflections on the second midterm</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Friday&lt;br /&gt;&lt;br /&gt;I still didn't do quite well, but at least I'm more confident in my proofs now having been through two months of inductive proof training. The reason why I didn't get a chance to finish writing up the midterm is because I spent way too much time on question 2 - trying to make sure all the cases work. I managed to find the loop invariant and write out the proof structure, but I handed the midterm in early because I figured there's nothing you can do in less than 1 minute. Question 1 otherwise was easy and relatively straightforward, yet I tripped myself a bit (overwhelmed?) at the beginning when I couldn't figure it out.&lt;br /&gt;&lt;br /&gt;I just hope that I can continually to improve all the way to the exam.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7966241989925377040?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7966241989925377040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7966241989925377040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7966241989925377040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7966241989925377040'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/reflections-on-second-midterm.html' title='Reflections on the second midterm'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6422852012363579111</id><published>2008-11-05T21:07:00.002-05:00</published><updated>2008-11-05T21:10:47.096-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nov 5'/><title type='text'>The proofs of regular expression</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Such a wonderful topic...&lt;br /&gt;&lt;br /&gt;Yes, I need to get myself acquainted with the definition of regular expression/formal languages first before re-reading the lecture notes to fully understand it.&lt;br /&gt;&lt;br /&gt;We did the mutual exclusion of binary numbers 0 and 1 for x \in L1, X \in L(1*(01*01*)*). The amounts of *s, 0s, and 1s really make me uncomfortable, so does all other regular expression I've seen so far.&lt;br /&gt;&lt;br /&gt;Oh well! Guess I need practice, but first I need to make sure I prepare myself well for the next term test ahead.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6422852012363579111?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6422852012363579111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6422852012363579111' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6422852012363579111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6422852012363579111'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/proofs-of-regular-expression.html' title='The proofs of regular expression'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5578822841511728375</id><published>2008-11-03T22:19:00.002-05:00</published><updated>2008-11-03T22:34:03.119-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ninth week'/><category scheme='http://www.blogger.com/atom/ns#' term='Nov 3'/><title type='text'>First entry in November</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;I kind of forgot that the daylight saving actually was moved to last week in October, so I guess this has a bit of side-effect regarding my physically wellness...&lt;br /&gt;&lt;br /&gt;Leaving that aside, we started November with a brand new topic - formal languages. Having briefly skimmed through the near-end of the textbook, the mass amount of symbols is extremely daunting. I felt a bit of relief from today's lecture, where we started everything from scratch.&lt;br /&gt;&lt;br /&gt;We were exposed with the definition of alphabets (a set of symbols that is undividable, denoted capital sigma), string (a finite sequence of symbols from capital sigma), and language (all possible strings over capital sigma to capital sigma star), as well as various operations regarding them.&lt;br /&gt;&lt;br /&gt;We also get started on regular expressions (the basic definition really) before the time is up. Despite being tired, I still managed to absorb most of the lecture in my head. I find the proof for this type of topic will be interesting, especially when you treat strings (or characters) as normal real/integer numbers.&lt;br /&gt;&lt;br /&gt;I find this course to be very beneficial to future computer scientists, from learning the various ways of proving using induction, recursion/iterative proves, correctness proof of programs to this topic (programming languages) and more stuff to come (chapter 8 stuff?), it will surely prepare future computer scientists with a number of important skills that they need.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5578822841511728375?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5578822841511728375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5578822841511728375' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5578822841511728375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5578822841511728375'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/first-entry-in-november.html' title='First entry in November'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-339997462271707230</id><published>2008-11-01T23:02:00.002-04:00</published><updated>2008-11-01T23:11:43.099-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 31'/><title type='text'>Discrepancy</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Halloween Friday, supposedly this post should belong to the October posts but oh well...&lt;br /&gt;&lt;br /&gt;The end of the eighth week gave us the hardest part of correctness proving - the nested loop. Even staying focused for this lecture doesn't help, as I'm hopelessly lost in finding ways to understand it. First of all, I'm enormously distracted by other assignments/problem sets due next week to even bother reviewing for the second term test next week. Second, my understanding of loop invariant is not sufficient enough - I thought that it is some variable staying unchanged throughout the loop, using it to prove the postcondition certainly had me going back to re-understand this stuff (if I got the time for it). And lastly, as I stated in previous posts that it will take awhile for me to understand and prove correctness for iterative loop - especially the part about finding a decreasing sequence that will make the loop terminate.&lt;br /&gt;&lt;br /&gt;So much stuff to do yet so little time, ah... certainly I need to spent time wisely from now on...&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-339997462271707230?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/339997462271707230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=339997462271707230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/339997462271707230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/339997462271707230'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/11/discrepancy.html' title='Discrepancy'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-3342418224291612717</id><published>2008-10-29T22:50:00.002-04:00</published><updated>2008-10-29T22:54:54.417-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 29'/><title type='text'>...Tired</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;For some reason, my physical wellness behaves just like biorhythms, guess today I hit a record low, I'm very tired lately... just couldn't get enough quality sleep...&lt;br /&gt;&lt;br /&gt;Today's lecture I didn't even bother copying it down or do the brainstorming excercise, that's how bad it was, but I still remembered Danny lectured about a more complicated case of an iterative loop.&lt;br /&gt;&lt;br /&gt;Ack! Because of that I don't think I did well on the 207 midterms either, but what can I do?&lt;br /&gt;&lt;br /&gt;Guess I'll have to sleep earlier today.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-3342418224291612717?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/3342418224291612717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=3342418224291612717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/3342418224291612717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/3342418224291612717'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/tired.html' title='...Tired'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-4826245606334497164</id><published>2008-10-27T21:02:00.003-04:00</published><updated>2008-10-27T21:12:54.704-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eight week'/><category scheme='http://www.blogger.com/atom/ns#' term='assignment 2'/><category scheme='http://www.blogger.com/atom/ns#' term='problem set 4'/><category scheme='http://www.blogger.com/atom/ns#' term='Oct 27'/><title type='text'>A long entry</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Ahh... a lot of things to write about:&lt;br /&gt;&lt;br /&gt;First, the deadline for problem set 4 got extended until today (originally due on Fridays), being lazy as I'm usual was, I practically delayed doing it until Sunday, it wasn't that hard, just have a lot of explanation to do.&lt;br /&gt;&lt;br /&gt;Second, assignment 2 was also due today (in the midst of me writing this...), I have to say those problems are extremely challenging (I have to thank whoever made this, as this assignment gave huge amounts of exercise to my brain). Strange note here, bonus marks? Oh well... I don't think I have enough stamina or brain power to do it after the horrors on that first question.&lt;br /&gt;&lt;br /&gt;As for today's lecture, we started doing program correctness for iterative (as compared to recursive) programs. Like Danny noted, it really does get awhile to become comfortable doing such proofs as the program is longer and less straightforward compared to the recursive ones. Not only that, the fact that it is necessary to prove that the loop terminates threw me off, other than that it looks extremely similar to how you'd prove for a recursive program's correctness.&lt;br /&gt;&lt;br /&gt;The prove of correctness, as I've observed, requires the student to have excellent and clear writing skills, which I lack both (which will undoubtedly gave me a disadvantage). Guess finding time to practice is my only hope...&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-4826245606334497164?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/4826245606334497164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=4826245606334497164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4826245606334497164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4826245606334497164'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/long-entry.html' title='A long entry'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-4413793219819548625</id><published>2008-10-25T23:10:00.002-04:00</published><updated>2008-10-25T23:16:45.874-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 24'/><title type='text'>End of the seventh week</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Friday&lt;br /&gt;&lt;br /&gt;Oh my, guess I'll never been free again until the end of school year - with midterms gone, assignments/problem sets of various kinds resume again.&lt;br /&gt;&lt;br /&gt;We finished writing out the program correctness for the greatest common divisor, as well as starting on the divide-and-conquer (theory or algorithm?) for natural powers. As I've been through 2 midterms and lack of sleep throughout the whole week, it's natural for me to collapse (fall asleep) during the middle of the lecture, don't worry... I still picked up the lecture while resting~&lt;br /&gt;&lt;br /&gt;Since the fourth problem set gets postponed, my natural inclination tells myself to put it off till the weekend. With both the second assignment and problem set due on Monday (at different times of course), it's very hard to decide which one to focus on.&lt;br /&gt;&lt;br /&gt;Either way, I'm done writing here, got to go working on the assignments and problem sets.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-4413793219819548625?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/4413793219819548625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=4413793219819548625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4413793219819548625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4413793219819548625'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/end-of-seventh-week.html' title='End of the seventh week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6592805426412480529</id><published>2008-10-22T21:08:00.002-04:00</published><updated>2008-10-22T21:11:28.117-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 22'/><title type='text'>GCD</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;...This sure is a busy week...&lt;br /&gt;&lt;br /&gt;We finished off proving the program correctness for the binary search function, I have to say it was long: it took off one side of a blank line paper! I can never do anything like that requiring to write so much. As well, we got started on the greatest common divisor (GCD) that has been delayed for some time.&lt;br /&gt;&lt;br /&gt;Ack! Two midterms in one week, I really couldn't concentrate on today's lecture as my mind is split between studying and working on the assignment, oh well... time to end it here then.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6592805426412480529?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6592805426412480529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6592805426412480529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6592805426412480529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6592805426412480529'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/gcd.html' title='GCD'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-8787160726493809611</id><published>2008-10-21T10:29:00.002-04:00</published><updated>2008-10-21T10:34:33.720-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='seventh week'/><category scheme='http://www.blogger.com/atom/ns#' term='Oct 20'/><title type='text'>Guest lecturer</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Meant to post it yesterday, but I'm just too tired and I forgot...&lt;br /&gt;&lt;br /&gt;On Monday Danny was away to UTM doing some... fictitious research? Either way we have a special lecturer from UTSC, named Nick, to start on proving the correctness of your program.&lt;br /&gt;&lt;br /&gt;It's something not that hard I guess, having seen precondition/postcondition everywhere when coding programs, yet I find it intriguing to prove how a program is correct.&lt;br /&gt;&lt;br /&gt;It was... overall extremely interesting, Nick was a wonderful lecturer despite not many people shown up to this class (I assume they are away studying for the stat midterm, which is a killer). Wish we could have him again (or someone else) someday.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-8787160726493809611?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/8787160726493809611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=8787160726493809611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/8787160726493809611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/8787160726493809611'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/guest-lecturer.html' title='Guest lecturer'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-2476962586988468042</id><published>2008-10-18T21:24:00.002-04:00</published><updated>2008-10-18T21:33:50.893-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem set 3'/><category scheme='http://www.blogger.com/atom/ns#' term='first midterm results'/><category scheme='http://www.blogger.com/atom/ns#' term='Oct 17'/><title type='text'>First test results</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Date: Friday&lt;br /&gt;&lt;br /&gt;I'm always pessimistic about tests, but always ended up getting higher then hoped for. This is a good thing to lower your expectation in U of T slightly as you feel better when you are not looking too high up at what you are expecting, but still I need to improve as I think the TAs really gave us easy marks on this test.&lt;br /&gt;&lt;br /&gt;As well, we handed the third problem set in. I'm a bit worried about what I conjectured because there has been a little bit of confusion with the term "closed formula", I ended up deriving a sum notation which on the discussion board is obviously incorrect, I really hope I didn't mess up on that.&lt;br /&gt;&lt;br /&gt;Anyhow, we officially moved away from induction to time complexity proofs, which, I hope, is less abstract than the multiple flavours of induction.&lt;br /&gt;&lt;br /&gt;...Kind of forgetting what I learned on Friday, because I'm spending time right now doing rough works for the second assignment, I have to say those questions are really interesting, especially the ternary trees one.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-2476962586988468042?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/2476962586988468042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=2476962586988468042' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2476962586988468042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2476962586988468042'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/first-test-results.html' title='First test results'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6665262323701308761</id><published>2008-10-15T22:18:00.003-04:00</published><updated>2008-10-15T22:23:33.848-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 15'/><category scheme='http://www.blogger.com/atom/ns#' term='sixth week'/><title type='text'>Refreshed</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Certainly, after a long weekend of productivity, I managed to get some rest and caught up with all my courses, what a relief.&lt;br /&gt;&lt;br /&gt;I felt different too, even though I'm physically tired, I still am able to concentrate on the lecture today mentally and perform above-average on the brainstorming session. I'm in a much better state compared to before, when I'm exhausted both mentally and physically.&lt;br /&gt;&lt;br /&gt;We carried on with more recursion "unwinding" practice and proving the closed form formula... nothing new here, so I'll end my entry now, got to go study another midterm in this "Fantastic" month.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6665262323701308761?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6665262323701308761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6665262323701308761' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6665262323701308761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6665262323701308761'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/refreshed.html' title='Refreshed'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7050750413166412728</id><published>2008-10-11T23:19:00.004-04:00</published><updated>2008-10-11T23:29:41.680-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 10'/><category scheme='http://www.blogger.com/atom/ns#' term='first midterm'/><title type='text'>Reflections on the first midterm</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: Late by one day&lt;br /&gt;&lt;br /&gt;It's always usual to do bad on your first attempt, it is also true that people can improve from it after their first mistakes.&lt;br /&gt;&lt;br /&gt;I don't think I did well on the first midterm, I still managed to finish all the proofs but I doubt I'll get full marks on any one of them. The first page of the midterm specifically said not to mislead the marker, but I ignored the warning and write something that looks very ambiguous and then quickly joined up the induction step to the conclusion since I'm running out of time (I started the writing part after half the midterm time had passed).&lt;br /&gt;&lt;br /&gt;It can be attributed to the lack of practice writing proofs, as well as the lack of preparation on this midterm (how surprised I was when I looked at the question - note to self: never underestimate this course again). Luckily whatever mark I got from the midterm can be canceled out by the extremely lucky high mark obtained on the assignment.&lt;br /&gt;&lt;br /&gt;A mistake is a mistake, the only thing I wish I could do is to learn from it and do better next time!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7050750413166412728?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7050750413166412728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7050750413166412728' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7050750413166412728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7050750413166412728'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/reflections-on-first-midterm.html' title='Reflections on the first midterm'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-4257224243986579089</id><published>2008-10-08T22:56:00.003-04:00</published><updated>2008-10-08T23:05:39.141-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 8'/><title type='text'>Quick entry</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Not going to write much here as I have Linear Algebra quiz and this course's midterm on Friday: we finished up proving using structural induction on the number of nodes in a binary tree, and started to prove the matching parenthesis claim.&lt;br /&gt;&lt;br /&gt;The claim itself is a bit weird (haven't seen a proof like this), along with the fact that I am always tired in the morning that affects my thinking (so I didn't even bother trying out the proof for it but just plainly write the initial solution down).&lt;br /&gt;&lt;br /&gt;Don't really want to waste time here, as I'm behind in reading for both MAT223 and this course, got to get as much as I can done before the test starts.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-4257224243986579089?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/4257224243986579089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=4257224243986579089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4257224243986579089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/4257224243986579089'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/quick-entry.html' title='Quick entry'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5607634909312553007</id><published>2008-10-06T22:25:00.007-04:00</published><updated>2008-10-06T22:34:33.774-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fifth week'/><category scheme='http://www.blogger.com/atom/ns#' term='Oct 6'/><title type='text'>Just need that much more time...</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Just like I'm always late for Friday entries, I'm always tired when it is Monday (perhaps due to the cause of weekend?).&lt;br /&gt;&lt;br /&gt;This week we learned about finding the closed form for the Fibonacci sequence, as well as trying out a similar sequence just like the Fibonacci number. As my brain is not functioning as much as I wanted, I did what I can by following the example on the slide and managed (surprisingly) to work out half the solution to the closed form for the sequence.&lt;br /&gt;&lt;br /&gt;Not only that, we also started learning to define sets with induction for trees, let's just say that everything about this part of the lecture just flies through my brain, how I hate Mondays...&lt;br /&gt;&lt;br /&gt;Back to midterm preparations, just need as much time as I can put it in... as well as a decent sleep (at least) before the dreaded week begins and as well as to get more sleep the day before the midterm.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5607634909312553007?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5607634909312553007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5607634909312553007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5607634909312553007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5607634909312553007'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/just-need-that-much-more-time.html' title='Just need that much more time...'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6712555442276071808</id><published>2008-10-04T22:38:00.004-04:00</published><updated>2008-10-04T22:50:21.881-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 3'/><title type='text'>The "always late by one day" Friday entry</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: Yesterday&lt;br /&gt;&lt;br /&gt;Guess I'm always late for Friday entries, since I find it so tempting to just relax it away...&lt;br /&gt;&lt;br /&gt;Today's class we looked at the binary search function and tries to unwind it's patterns as well as analyzing its running time. With most of the stuff coming back from CSC165, I find it not that hard at all even though my brain is half-dead from waking up extremely early today.&lt;br /&gt;&lt;br /&gt;There's... a bit of break from all the assignments and problem sets this week, since the midterm is next week for this course (unfortunately there's still the STA 247 homework). I won't write too much here then... I will use this time wisely (I hope, I'm a huge procrastinator...) to catch up on my other courses as well as preparing for the midterm-filled October.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6712555442276071808?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6712555442276071808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6712555442276071808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6712555442276071808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6712555442276071808'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/always-late-by-one-day-friday-entry.html' title='The &quot;always late by one day&quot; Friday entry'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7784336786991231721</id><published>2008-10-01T22:29:00.003-04:00</published><updated>2008-10-01T22:43:47.837-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oct 1'/><title type='text'>October!</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;It is October already, that was fast!&lt;br /&gt;&lt;br /&gt;We continued on with induction for the Fibonacci numbers, where we shrunk the base cases from 2 to 1 (we really just need n=0 to make the prove work).&lt;br /&gt;&lt;br /&gt;Then we moved onto Python recursion program, zero-pair binary strings, which looked extremely similar to the link I've found from the last post, we did some algorithm analysis in which we learned back in CSC236.&lt;br /&gt;&lt;br /&gt;We also take a quick look at recursion functions that are not very well-defined, in fact, the third function surprises me a lot - it was quite hard to grasp the concept right after the lecture, but after working out the algebra I felt a bit relieved to see that it actually can work.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;font-size:85%;" &gt;Off-topic tidbit: We actually went through the overheating "time-out" of the projector (that happened since last week) and got it working again. I really wonder what's going on with the projector (why didn't it happen before?) and why the maintenance people did not fix it yet. Also, somehow the lecture room (compared to my other lecture classes) is quite... humid, is it because of the small room and huge amount of people? That I will never know...&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7784336786991231721?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7784336786991231721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7784336786991231721' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7784336786991231721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7784336786991231721'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/10/october.html' title='October!'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6842532622499273281</id><published>2008-09-29T22:20:00.005-04:00</published><updated>2008-09-30T23:17:48.141-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fourth week'/><category scheme='http://www.blogger.com/atom/ns#' term='Sept 29'/><category scheme='http://www.blogger.com/atom/ns#' term='assignment 1'/><title type='text'>The start of my busiest week</title><content type='html'>&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Gah... someday my body will tell me to stop doing my assignments on the last day it is due, today I've already handed two assignments in, now for the next one due tomorrow...&lt;br /&gt;&lt;br /&gt;Assignment 1 is brutal, not in the sense of being extremely hard, nor the question being too ambiguous. It is challenging in the way that requires me to brainstorm, then to think about a possible way of writing a valid proof for that question.&lt;br /&gt;&lt;br /&gt;Interesting enough, exploring the assignment questions can lead to &lt;a href="http://en.wikipedia.org/wiki/Gray_code"&gt;valuable results&lt;/a&gt;. By looking into question 2, I found a binary way of proving the question (the real trouble is actually doing the proof - to tie this information together).&lt;br /&gt;&lt;br /&gt;Today's class we started on proving recursively, the same stuff we did in CSC165. If only my brain is not that tired yet...&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6842532622499273281?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6842532622499273281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6842532622499273281' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6842532622499273281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6842532622499273281'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/start-of-my-busiest-week.html' title='The start of my busiest week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5979315150385159505</id><published>2008-09-27T19:29:00.005-04:00</published><updated>2008-09-30T23:18:09.323-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 26'/><category scheme='http://www.blogger.com/atom/ns#' term='problem set 2'/><title type='text'>End of third week</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: Late by one day, grr...&lt;br /&gt;&lt;br /&gt;I've handed in my second problem set to the instructor, the first part is extremely easy as it is just the exact problem we did in class with different numbers. The second part is, however, not quite as easy.&lt;br /&gt;&lt;br /&gt;The main reason to this is that we can't use induction efficiently to proof the statement (it is still possible). I ended up doing it using proof of contradiction, and I doubt I'll get full mark for it because of that. Next time, I'll start the problem set way earlier so that I don't have to panic the day before the problem set is due.&lt;br /&gt;&lt;br /&gt;In class we spent the whole class critiquing three different proofs, it was mildly funny to see that a proof can be constructed even though the base case can be wrong. I got lost on the more wordy proofs, but they were interesting in their own ways.&lt;br /&gt;&lt;br /&gt;Back to the first assignment, I have to say that the assignment is quite challenging, and will take people awhile to figure out a reasonable proof to a question. I've figured out the pattern for question 2 already but I'm stuck at how to convert the pattern into a proof. Other than that, I just have to keep on trying :).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5979315150385159505?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5979315150385159505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5979315150385159505' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5979315150385159505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5979315150385159505'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/end-of-fourth-week.html' title='End of third week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-5834970134761968513</id><published>2008-09-24T23:15:00.004-04:00</published><updated>2008-09-24T23:22:08.734-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 24'/><title type='text'>Messing with bases.</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;After understanding the lecture taught in last class, I find today's lecture to be slightly easier. It is basically a modified version of induction where the base cases are unusual and has to be found and proved.&lt;br /&gt;&lt;br /&gt;Writing out the proofs for today's problem is not that hard as well, the only thing I need to improve my proving (or problem solving) technique is to understand the question quickly and get a rough idea going as soon as possible, that way I can save valuable time for actually determine the solution. But this doesn't come easily as I need to get more exercises to practice, other than that, this will be the end of this post.&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:78%;"  &gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;P.S. I hope my blog is not too messy (filled with entries).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-5834970134761968513?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/5834970134761968513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=5834970134761968513' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5834970134761968513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/5834970134761968513'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/messing-with-bases.html' title='Messing with bases.'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-149873190910099457</id><published>2008-09-22T23:04:00.003-04:00</published><updated>2008-09-29T22:34:09.228-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='third week'/><category scheme='http://www.blogger.com/atom/ns#' term='Sept 22'/><title type='text'>Overwhelmed</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: Same day, finally I caught up!&lt;br /&gt;&lt;br /&gt;We started off with a proof about the Principle of Well Ordering (PWO), then I kind of get lost on what Danny is teaching (I'm extremely tired today).&lt;br /&gt;&lt;br /&gt;Basically, it's about the relations between PWO, Simple Induction (PSI), and Complete Induction (PCI). Which means a cycle or chain of implications joining them: PWO =&gt; PCI =&gt; PSI =&gt; PWO, and a few proofs on that.&lt;br /&gt;&lt;br /&gt;Need sleep terribly, guess I'll review this lecture at some other time.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-149873190910099457?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/149873190910099457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=149873190910099457' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/149873190910099457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/149873190910099457'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/overwhelmed.html' title='Overwhelmed'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6769931149591523034</id><published>2008-09-22T01:18:00.001-04:00</published><updated>2008-09-24T23:33:11.508-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 19'/><category scheme='http://www.blogger.com/atom/ns#' term='problem set 1'/><title type='text'>Stamp like crazy!</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: September 19, 2008&lt;br /&gt;&lt;br /&gt;We handed our problem set 1 to the prof today, I wouldn't say it is too hard as the questions are just a variation of the proofs we did in lecture, still... I'm pessimistic that I might not get a high mark (from last year's experience with CSC165 assignments) since I'm afraid that I didn't explain every step clear enough.&lt;br /&gt;&lt;br /&gt;Continued on with this course, we did a question that was given to us as an exercise back in CSC165, the question simply asks what postage can be formed with 2 different valued stamps.&lt;br /&gt;&lt;br /&gt;I remembered solving this question rather easily in CSC165, but looking at the proof Danny wrote kind of threw me off at first, but I understood it right afterward.&lt;br /&gt;&lt;br /&gt;We also managed to write down the definition of the Principle of Well Ordering, which is states as: every non-empty subset of natural number has a smallest integer. It's a rather obvious fact, but proving it will be kind of hard...&lt;br /&gt;&lt;br /&gt;Back to the second problem set, oh dear... what number &gt; k can I form a postage with 5 and 11 cent stamps...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;I always have this kind of problem... staring blankly at a proof, guess it takes awhile for me to get the question and the rough idea to sink deeply in my head.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6769931149591523034?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6769931149591523034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6769931149591523034' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6769931149591523034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6769931149591523034'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/stamp-like-crazy.html' title='Stamp like crazy!'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-226795394453839288</id><published>2008-09-22T01:06:00.005-04:00</published><updated>2008-09-30T23:19:18.229-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 17'/><title type='text'>Trees and chocolates</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: September 17, 2008&lt;br /&gt;&lt;br /&gt;Today's lecture covers FBT (Full Binary Tree) and Complete induction. I find that I needed to catch up again with the basic properties of a Full Binary Tree, as I'm not good with this type of question back in CSC165.&lt;br /&gt;&lt;br /&gt;Besides the trees, we also did a quite interesting problem with the chocolate bar (that makes me hungry by the way). The problem states: Every chocolate grid of n squares can be broken into seperate squares with n - 1 breaks.&lt;br /&gt;&lt;br /&gt;As usual, we have our time to write out our own ideas about this question, which I think I did pretty good on that.&lt;br /&gt;&lt;br /&gt;Now, the real challenge for me is to keep this up for every question I've encountered...&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-226795394453839288?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/226795394453839288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=226795394453839288' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/226795394453839288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/226795394453839288'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/trees-and-chocolates.html' title='Trees and chocolates'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-1150880362936051673</id><published>2008-09-22T00:55:00.004-04:00</published><updated>2008-09-30T23:18:41.510-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 15'/><category scheme='http://www.blogger.com/atom/ns#' term='second week'/><title type='text'>Second week</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: September&lt;span style="font-family:courier new;"&gt; 15, 2008&lt;br /&gt;&lt;br /&gt;After wasting off my weekend (besides being busy of course), I'm back at school again in the second week of my second year.&lt;br /&gt;&lt;br /&gt;We learned Prime factorization, which is defines as: Prime factorization of n is a sequence of prime numbers with product of n. Something useful for proofs and was talked about it in CSC165.&lt;br /&gt;&lt;br /&gt;As well, we moved on from the Principles of Simple Induction to a new flavour of induction called - Complete induction. Complete induction basically means if every elements up to n-1 implies P(n), then that suggests every n is true for a given claim (P(n)).&lt;br /&gt;&lt;br /&gt;The special thing about Complete induction is that you don't need base cases at all (yipee?), well... it still wouldn't hurt to follow the structure in CSC165 by putting a few in. Complete induction is extremely useful in the case when the base case is either ambiguous or cannot be formed completely, so that we can just move along with the induction step.&lt;br /&gt;&lt;br /&gt;Basically this is today's lecture, using Complete induction on claims relating to Prime factorization, oh well... that's it for this post!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-1150880362936051673?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/1150880362936051673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=1150880362936051673' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/1150880362936051673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/1150880362936051673'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/second-week.html' title='Second week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-7226115057494822227</id><published>2008-09-20T22:32:00.000-04:00</published><updated>2008-09-20T22:52:24.840-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 12'/><title type='text'>Experience after the first week</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Date: September 12, 2008&lt;br /&gt;&lt;br /&gt;A week has gone by for my second year, and it just seems so different from the start of my first year. I still remember the confusion of first year, running around trying to find the right lecture room, the massive workload, the amount of new material there is to learn...&lt;br /&gt;&lt;br /&gt;It's all different now, with the workload and schedule lowered drastically, it's much better for me to spend time equally for all my courses, so that I won't repeat the mistake of CSC165.&lt;br /&gt;&lt;br /&gt;Again, we cover induction from CSC165, it really isn't that hard. Strangely, the proof that we did in the first week is actually applicable in a course like STA247... how handy!&lt;br /&gt;&lt;br /&gt;To be honest, compared to my other courses, this course has the most workload out of all 5. My reasoning is that we needed that much more practice and experience to get the most out of it for this course, as we can be better prepared for higher level CSC theory courses.&lt;br /&gt;&lt;br /&gt;...I'm not (really!) complaining about the workload here, as I have to say CSC165 followed this pattern and that everything I learned is through though assignments and exercises, and the information is very valuable and useful in courses besides Computer Science.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-7226115057494822227?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/7226115057494822227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=7226115057494822227' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7226115057494822227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/7226115057494822227'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/experience-after-first-week.html' title='Experience after the first week'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-6573152116865413314</id><published>2008-09-20T22:15:00.000-04:00</published><updated>2008-09-20T22:32:32.589-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 10'/><title type='text'>The beginning of a new semester</title><content type='html'>&lt;span style=";font-family:courier new;font-size:85%;"  &gt;Date&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;: September 10, 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-style: italic;"&gt;Yes, the date above is wrong, but I'm a bit late at writing this, so... I'll try to not confuse too many people from now on. I'll try to keep my CSC165 way by writing a post after every lecture.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Distractions aside:&lt;br /&gt;&lt;br /&gt;After all the administration and stuff, I finally get the first taste for this class. We start with basic "principles of simple induction" that was taught in CSC165 as well, but I'm not so sure whether this was a review or not.&lt;br /&gt;&lt;br /&gt;Again, the uncomfortableness started again, at times I still can't believe how much time and energy is saved from relaxing the structure of a quick induction proof. For lazy people like me this is a good thing, but without the support of a properly placed structure, I get confused rather easily.&lt;br /&gt;&lt;br /&gt;The proof in the course is also not that hard to begin with, as I did the question (and it's many variations) back in high school. I could still recall with horror the brutality of my high school "Algebra and geometry" test/exam. The experience from that course, even if it is horrible, did get me prepared for most of university courses.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-6573152116865413314?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/6573152116865413314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=6573152116865413314' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6573152116865413314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/6573152116865413314'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/beginning-of-new-semester.html' title='The beginning of a new semester'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3207976627886177165.post-2320422560408005509</id><published>2008-09-20T21:45:00.001-04:00</published><updated>2008-09-30T23:15:42.384-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sept 8'/><category scheme='http://www.blogger.com/atom/ns#' term='intro to CSC236'/><category scheme='http://www.blogger.com/atom/ns#' term='first week'/><title type='text'>Welcome to CSC 236 Course Log!</title><content type='html'>&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;Heh... guess I'm a bit late at this.&lt;br /&gt;&lt;br /&gt;Hello all, this is my journal entry for CSC 236, where I will put my own personal reactions (to the course), problem solving solutions and what I've learned here on this blog.&lt;br /&gt;&lt;br /&gt;First off, &lt;span style="color: rgb(51, 102, 255);"&gt;I will discourage anyone from viewing this blog unless they are a part of CSC236, either a fellow classmate or the instructor/TAs&lt;/span&gt;. Just in case they don't understand what I'm talking about and wasting their own time :P.&lt;br /&gt;&lt;br /&gt;Onwards:&lt;br /&gt;First Class (September 8, 2008):&lt;br /&gt;&lt;br /&gt;After a relaxing summer, it's time to go back to school for my second year at U of T!&lt;br /&gt;The knowledge of first year told me to never-ever take two courses right next to each other and as well not to take early morning courses. Well, there's nothing I can do about this course (unfortunately, I think that 10 a.m. classes are still way too early), so I guess I'll have to handle it for this semester.&lt;br /&gt;&lt;br /&gt;CSC236 is, in my opinion, the continuation of CSC165 with more depth and material, having gone through CSC165 I thought I'm prepared with most of the course material...&lt;br /&gt;&lt;br /&gt;...And I was so wrong, well... not what we are learning of course. Induction was taught over and over again in high school and rather forcefully in MAT137, so I have a clear grasp on that. But after reading through chapter 0 in the course note, I discovered that I still have a bit more gap to fill in order to succeed in this course.&lt;br /&gt;&lt;br /&gt;Not only that, I *almost* forgot a lot of 165 material (thankfully it didn't take that long to get everything back in my head) due to the 4 month break. I'm also a bit not used to relaxing the proof structure that was done for the whole semester in 165, guess I'll have to get more comfortable with that.&lt;br /&gt;&lt;br /&gt;The last thing that I'm uncomfortable with is to write the course journal out in public like this, I really wished to have the old CSC165 wiki/SLoG back.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3207976627886177165-2320422560408005509?l=c7chensj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c7chensj.blogspot.com/feeds/2320422560408005509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3207976627886177165&amp;postID=2320422560408005509' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2320422560408005509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3207976627886177165/posts/default/2320422560408005509'/><link rel='alternate' type='text/html' href='http://c7chensj.blogspot.com/2008/09/welcome-to-csc-236-course-log.html' title='Welcome to CSC 236 Course Log!'/><author><name>Jason</name><uri>http://www.blogger.com/profile/16428976145227333478</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
