包含什麼
4 現場會議
3 小時 40 分鐘 上課時間我們無法翻譯此文,請刷新頁面並再試一次。
課堂經歷
CONTENT: We will be creating a turn based 'Battle' games where different characters have different abilities. We will be using this project to sharpen the coding skills previously learned as well as an introduction to the principles of object oriented programming. We will learn about objects and classes and we will start by creating a Human class followed by various superhero subclasses. STRUCTURE: The class starts out with sharing and questions. After that, I introduce the topic and explain theory and motivation. We then spend the rest of the class coding. Most of class is spent on coding challenges and coding explanations. STYLE: I base my teaching on the Socratic method. When students are stuck on coding challenges, I give them hints in the form of questions. In programming we invariably get stuck. I like to help students learn how get themselves out of these situations by learning to ask the right questions. INTERACTION: Students will get ample time to ask questions. Class sizes tend to be very small.
教學大綱
4 課程
超過 4 週課 1:
Abstraction
What are objects and classes? What are the characteristics and behaviors that describe them? We will start by thinking of a Human object that can exist in our battle game. What are the things that describe it? What are the things that it does?
55 分鐘線上直播課
課 2:
Encapsulation
Much of programming has to do with keeping code organized so that it can be scaled. Encapsulation places code squarely inside the workings of objects and thus leads to more organized code. As our Human object becomes more complex we see that things tend to fall into place more easily.
55 分鐘線上直播課
課 3:
Inheritance
Now that our game is able to match Human objects against Human objects, what about superheros? Inheritance will allow us to define classes/objects in terms of other classes/objects. For example, we will think of a Superman object as Human + Superman things.
55 分鐘線上直播課
課 4:
Polymorphism
This lesson will allow us to brainstorm and be creative about creating different strategies and moves for our players. Polymorphism will allow us to use the same names for moves that behave differently depending on context.
55 分鐘線上直播課
其他詳情
來源
We use trinket.io in this class. Students should not include any personal information in their projects as they can be shared. We also use Colab to showcase our coding materials. It works like our textbook. Colab functions best when used with a gmail account (you can save your own versions of the notebooks).
教師專業知識和證書
2 個學位
碩士 在 數學 從 Harvard University
學士學位 在 數學 從 Harvard University
I've been a computer science teacher for 10 years and have taught Python coding online for the past four years. I have also taught math and computer science at the High School level: AP Calculus BC and AP Computer Science A.
評論
現場團體小班課程
US$17
每週每週1次,共 4 週
55 分鐘
有1 位學習者完成此課程
即時視訊會議
年齡: 9-14
1-8 每班學員人數