Save this video free

CS110A Week 5 Day 2 lesson on 09/17/2026

indika walimuni · 1:30:16 · Watch on YouTube

CS110A Week 5 Day 2 lesson on 09/17/2026 Watch on YouTube →

Overview

Indika Walimuni teaches CS110A students to solve a turtle-graphics problem by writing a numbered English algorithm first, then translating it into Python to draw an equilateral triangle with 100-unit sides. The lesson connects reusable functions and their public interfaces to abstraction, demonstrates keyboard input and type conversion with `input()`, `int()`, and `float()`, and distinguishes syntax, runtime, and logical errors through Python examples.

Key takeaways

Chapters

0:00 Function Public Interfaces and Running a Turtle Program
3:00 Documenting the Triangle Problem with Python String Literals
5:00 Writing a Numbered English Algorithm Before Python
7:00 Planning Three 100-Unit Sides with 120-Degree Turns
12:00 Translating the Triangle Algorithm into Turtle Commands
15:00 Testing the Triangle Drawing and Calling Its Function
21:00 Why a Fixed 100-Unit Triangle Function Is Too Specialized
25:00 Generalizing the Triangle Function with a Length Parameter
29:00 Reviewing Data Types, Expressions, and Python Statements
33:00 Python Keywords, Reserved Names, and Function Definitions
37:00 Accessing Class Notebooks and Applying the Eisenhower Matrix
43:00 Reading Keyboard Input with Python's input() Function
50:00 Why input() Returns a String and How to Convert It
56:00 Keep Keyboard Input Outside Reusable Functions
1:05:00 Practicing the Autograder Workflow and Introducing Errors
1:13:00 Distinguishing Syntax, Runtime, and Name Errors
1:23:00 Fixing a Percentage Logic Error and Starting the Rectangle Exercise
1:28:00 Class Wrap-Up: Attendance, Honors Projects, and Turtle Debugging

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, indika walimuni.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.