How Did My Study Go This Week
My apology first, due to some personal
reason, I post my SLOG late for this week. For this week’s SLOG, I still want
to talk about proves in Chapter three. In my opinion, proves is a hard part to
learn, because students need to think how to prove something. Some statements
are easy to understand and easy to figure out it is true or not. But the
difficult part is how to prove.
At the beginning of the
last chapter of this course, loop problems are really hard to understand too.
First, I am still confused about prove by
cases. According to lecture notes’ examples and some tutorial problems, we
would do proves by cases. As my understanding, we use cases to prove “^”
statements or “v” statements. For example, claim 3.4 from lecture notes:
“ For all n in Z, there
exist a k in Z, such that n2 +n=2k.”
In this example, we need
to consider n is odd or even, thus we need to use case one to prove n is odd
and case two to prove n is even. This is not hard to understand. But question 6
in assignment two is confused me. My partner asked her TA, and she told me that
we cannot use cases to prove this question and if we do use cases then we may
get wrong. And after we handed in assignment two, professor posted full
solutions for assignment on-line. Based on the solution, professor does not use
cases to prove question number six. This makes me do not understand when should
we use cases to prove and when we should not.
Second, the loop problems makes me lost and
do not know how to count. According to week 8’s lecture. We talked maximum
problem. Under each while loops, I can understand that why some lines can be
counted. But why the while loop under another while loop should be counted too?
For example,
“while i <
len(L): (let us make it as line1,
and named while loop1)
j = i + 1
while j <= len(L): “ (line3, while loop2)
As my understanding,
line1 and line2 should be count as while loop1 then we start to count line3.
But from lecture notes, line3 not only counts as while loop2 but also counts as
LG for while loop1. I think that would be over counted. But it seems reasonable
for count because while loop2 is under while loop1, which means while loop1
belongs to while loop2. I am always stuck here, on one hand, I cannot
understand, but one the other hand, I can explain to myself by read lecture
notes.
It is true that we need to solve at least
one question for our SLOG, but with studies going on, I think it is more
important to ask questions. Solving a problem may not be hard, but from a
question students could ask another question then it would be hard. And if
those questions can be solved, then students are really understand materials
from lectures and notes.
No comments:
Post a Comment