Week 15 — Readings & Resources · Intro to Object-Oriented Programming
Course: Introduction to Computer Science — CS1 / Programming Fundamentals in Python (CSCI 1101) · Silver Oak University (fictional sample) · Prof. Okafor
Objective covered: Objective 8 — classes & objects; attributes & methods; init; self; instances
How to use this page
Everything here is a link to an external resource — open it in your browser; nothing to install. The fastest way to learn this week is to run the examples yourself in the online editor.
Order that matches the lecture: ① classes, objects &
__init__→ ② attributes & methods → ③selfand the common bug.
① Classes, Objects & __init__
Read & do — "Python Objects and Classes" (Programiz)
🔗 https://www.programiz.com/python-programming/class
Why it's assigned: the clearest plain-language intro to classes, objects, __init__, and attributes, with runnable examples like the ones we build in class.
⏱ ~12 min
Read & do — "Classes" (official Python Tutorial, §9.3)
🔗 https://docs.python.org/3/tutorial/classes.html
Why it's assigned: the source of truth on class, __init__, instances, and self — read §9.3 "A First Look at Classes."
⏱ ~12 min
② Attributes & Methods
Read — "Python Classes/Objects" (W3Schools)
🔗 https://www.w3schools.com/python/python_classes.asp
Why it earns the click: short, interactive examples of attributes, methods, __init__, and self, each with a "Try it Yourself" button.
⏱ ~8 min
③ See an Object's State
Do — visualize an object in Python Tutor
🔗 https://pythontutor.com/
Why it earns the click: paste a small class, create an instance, and step forward to see the object's attributes appear and change as methods run.
Optional one-stop references (free online)
- Run your code: 🔗 https://www.online-python.com/
- Run your code: 🔗 https://www.online-python.com/ · Visualize it: 🔗 https://pythontutor.com/
Pick-one quick path (≈15 min total)
- Read "Python Objects and Classes" (Programiz) and run the example class (group ①).
- Build a tiny class in online-python.com, create two instances, and confirm each keeps its own attributes (group ②).
Heads-up (links rot): if a link ever fails, tell Prof. Okafor and use the official Python Tutorial (docs.python.org/3/tutorial) in the meantime.
~ Prof. Okafor's edition · Fall 2026 · built with thecoursemaker.com