Notes
Computational Thinking for Problem Solving
Week 4

Topics

Introduction to Python

Coding is the end of computational thinking

Variables

If debugging is the process of removing software bugs, then programming must be the process of putting them in

  • Well said!

Conditional Statements

  • if, elif, else

Lists

  • How to get item from the list with index, and list methods

Iteration

  • Talked about different kinds of way to iterate, such as while loop and for loop

Function

  • Tuple is for returning multiple values without implying relationship between the values
  • Values from the tuples cannot be removed or edited

Classes and Objects

  • Class is the blueprint of object
  • We have encapsulation when using class

Remarks

  • This week was not as beneficial as others since I have solid foundation on using Python
  • However, I love the way it wraps up all previous knowledge and provide the exercise to consolidate the concepts
  • A coherent curriculum is a good curriculum
  • I also like how the teacher said coding is the last step of computational thinking as it stress coding is often the end result from careful thoughts