Tracing recursion is not as easy and less fun than writing recursion code.
OOP can be confusing and convoluted
CSC 148 SLOGS
Thursday, February 12, 2015
Thursday, February 5, 2015
WEEK 5 SLOG
TRACING RECURSION CAN BE DISPENSABLE OR SUPERFLUOUS, IF YOU KNOW THE BASIC REPETITION OF EACH SUB PART.
RECURSION: LIKE REPETITION AND BREAKING A LARGE PROBLEM TO SMALL SUBPARTS.
EACH PART IS DOING SIMILAR THING AS OTHER.
Friday, January 30, 2015
CSC 148 SLOG FOR WEEK 4
The recursion concept is interesting.
You are calling a function inside the same function.
It is analogous to the word recur's actual denotation (repeat again). Also, the "repetition" breaks a huge problem into many small steps. Each mini step is very similar.
I also learned that you can write for loops like this:
Suppose A = [1,2,3,...,a-2, a-1,a] for some natural number a.
sum (all_a) for all_a in A.
Zhiyuan Zhang
You are calling a function inside the same function.
It is analogous to the word recur's actual denotation (repeat again). Also, the "repetition" breaks a huge problem into many small steps. Each mini step is very similar.
I also learned that you can write for loops like this:
Suppose A = [1,2,3,...,a-2, a-1,a] for some natural number a.
sum (all_a) for all_a in A.
Zhiyuan Zhang
Friday, January 23, 2015
Why CS Geeks Write
Geeks are people who are zealous or enthusiastic or those who are fanatic.
Computer Science involves designing algorithms and then implementation.
CS Geeks will be intrigued and mesmerized in both aspects.
Designing algorithms is like the thinking/logic part. (Involve mathematics and mathematical logic)
Implementation is like asserting every step of the algorithms, so it involves language.
Therefore, Geeks need to how to write in a language.
Computer Science involves designing algorithms and then implementation.
CS Geeks will be intrigued and mesmerized in both aspects.
Designing algorithms is like the thinking/logic part. (Involve mathematics and mathematical logic)
Implementation is like asserting every step of the algorithms, so it involves language.
Therefore, Geeks need to how to write in a language.
Subscribe to:
Posts (Atom)