We have been learning the computer science fundamentals for about a couple of months. I am generally happy with what you have done so far! Keep it up.
We once discussed that programming is a way of thinking. We need to develop this way of thinking by doing. A program but one outcome of programming. We need to understand something well enough to make a computer follow it and it yields us a working program.
Abstraction is a key concept, not just in computer science, but all science. It is at the core of computer science. For instance, in algebra, a polynomial is
whereas, in programming, a polynomial can be simply realized as an array of real numbers as you have seen in #11!
We learned about data: its types, value, and name. We looked at essential data types like number, boolean, and string. We also looked at various encodings. We understood arrays (lists). We learned about constructs like if-else, repeat-n-times, repeat-until-some-condition-is-false etc. We explored the concept of functions: iterative and recursive. We learned the basic syntax of JavaScript.
You have covered a lot of conceptual ground! You solved several programming problems created as GitHub Issues just like this one. That is how we combine the theory and good practice.
This GitHub Issue wants you to review what you have done so far and then think of a programming problem of your own. Then write a program to solve that problem:
Think of a programming problem. It doesn't need to be esoteric. It can be as simple as producing an output that looks like a star. Be creative!
Write down its specification as clearly as you can. It can be one function or a set of functions.
We have been learning the computer science fundamentals for about a couple of months. I am generally happy with what you have done so far! Keep it up.
We once discussed that programming is a way of thinking. We need to develop this way of thinking by doing. A program but one outcome of programming. We need to understand something well enough to make a computer follow it and it yields us a working program.
Abstraction is a key concept, not just in computer science, but all science. It is at the core of computer science. For instance, in algebra, a polynomial is
whereas, in programming, a polynomial can be simply realized as an array of real numbers as you have seen in #11!
We learned about data: its types, value, and name. We looked at essential data types like number, boolean, and string. We also looked at various encodings. We understood arrays (lists). We learned about constructs like
if-else
,repeat-n-times
,repeat-until-some-condition-is-false
etc. We explored the concept of functions: iterative and recursive. We learned the basic syntax of JavaScript.You have covered a lot of conceptual ground! You solved several programming problems created as GitHub Issues just like this one. That is how we combine the theory and good practice.
This GitHub Issue wants you to review what you have done so far and then think of a programming problem of your own. Then write a program to solve that problem: