This week is the last week of this semester and we have finished this class in this week, and we only left final exam for us to do. However, this course leave a deep impact on me and enriched my knowledge of how to being a computer scientist in future, and totally changes my past opinion about computer scientists and understanding of it. A computer scientist should have independent thought, that's why we'd better going to the labs to do some practice after lectures in each week. With an independent thought, we could understand the purpose of a project better and write the program easily.
We have learned several new knowledge which are much deeper than what we have learned from CSC108, which makes me feel stepping into a higher level of computer science.
Abstract data types(ADTs):
An abstract data type specifies clearly several methods and the docstrings and semantics of these operations which tell us what these methods work for, however, these operations do not particularly express the implementation of the operations, which make ADT abstract.
Class:
We define a class to help us solve problems easily with a set of methonds.
Class objects contain attributes and instantiations.The attributes in class refer to specific types of items in class.
Recursion:
"When a function calls itself, we say that it is recursive." Recursion is not the only way to solve problems, however, recursion is necessary for computer scientists because of its conciseness.
No comments:
Post a Comment