Slog #2 Oct 27th
~~~~~~~~~~~~~~~~
It’s surprising that it’s been almost two months since
school started📋, we’ve learned quite a few more things that are more complicated,
but I found the new functions and skills we learned can be connected to a lot
more things that we see on the computer daily, such as the “condition function”.
Often time, depend on what we click (either yes or no, allow or not-allow), the
computer responds differently by opening new windows, directing to new sites,
or just staying in the current page. In the condition function, depend on the
input, the computer can produce two outputs.
Something that was quite challenging for the classes is having
a “local definition”, which later I tried interpreting it as something that
needs two definitions, while one of them can not be defined outside of the
function. This function comes to be really helpful for extracting certain elements from
a list that satisfies some criteria, especially with list or even documents
that have tens of thousands of words in them. One thing I did to overcome the
difficulty of understanding this “local definition” was keep trying what I
thought would produce the same results. For example, I couldn’t quite
understand why both of the functions have to be inside, instead of outside, so
I tried moving one of the definition outside, and looked at the error shown to
understand them.
What I did to prepare myself for tests involve three
aspects: one was having the computer to step over the functions in the
practices, which really helped me to understand the order and what each
function do; second method I used was creating my own functions base on the
examples provided in class and practices; and the third method was writing down
some steps in the simplified version, and then check with the interaction
section to see if I am correct. Other than these three, I’ve reached out to TAs
during office hour and instructor after class, and they’ve all been very
helpful and approachable, which I really appreciate!
Overall, the materials have been challenging but really interesting!
Great post, very organized and thorough! Try to keep blogging regularly throughout the rest of the semester (even when there isn't a SLOG due).
ReplyDelete