| PROBLEM # | QUESTIONS |
|---|---|
| 1.3.1 | Fibonacci numbers (PDF) |
| 1.3.2 | Simple OOPs (PDF) |
| 1.3.3 | Transcript (PDF) |
| 1.3.4 | 2D vector arithmetic (PDF) |
| 1.3.5 | Polynomial representations (PDF) |
| 1.3.6 | Polynomial class (PDF) |

![]() |
In this session, we introduce you to some of the core concepts of 6.01. We will also focus on programming, in particular the object-oriented programming paradigm in Python. Topics include primitives, expressions, assignments, functions, environments, OOP, and inheritance. The overview handout provides a more detailed introduction, including the big ideas of the session, key vocabulary, what you should understand (theory) and be able to do (practice) after completing this session, and additional resources. |
Read chapters 1-3 of the course notes.
Watch the lecture video. The handout and slides present the same material, but the slides include answers to the in-class questions.
Lecture 1: Object-Oriented Programming
About this Video
Introduction to the four modules of 6.01 (software engineering, signals and systems, circuits, probability and planning). The lecture then introduces object-oriented programming in Python, and ends with a discussion of environments.
These videos have been developed for OCW Scholar, and are designed to supplement the lecture videos.
The problems in the tables below are taken from the 6.01 Online Tutor, an interactive environment that is not available on OCW. Do not try to answer these questions in the PDF files; answers will not be checked, and cannot be submitted.
| PROBLEM # | QUESTIONS |
|---|---|
| 1.3.1 | Fibonacci numbers (PDF) |
| 1.3.2 | Simple OOPs (PDF) |
| 1.3.3 | Transcript (PDF) |
| 1.3.4 | 2D vector arithmetic (PDF) |
| 1.3.5 | Polynomial representations (PDF) |
| 1.3.6 | Polynomial class (PDF) |
| PROBLEM # | QUESTIONS |
|---|---|
| 1.4.1 | Structured assignments (PDF) |
| 1.4.2 | Nested and shared structure (PDF) |
| 1.4.3 | List comprehensions (PDF) |
| 1.4.4 | OOPs (PDF) |
| 1.4.5 | OOPs (PDF) |
| 1.4.6 | OOPs (PDF) |
| 1.4.7 | Palindrome [optional] (PDF) |
| 1.4.8 | Substring [optional] (PDF) |
| 1.4.9 | Extract tags [optional] (PDF) |
| 1.4.10 | Fruit class [optional] (PDF) |
| 1.4.11 | Warehouse [optional] (PDF) |
Nano-quiz problems and solutions are taken from a previous version of the 6.01 Online Tutor. Do not try to answer these questions in the PDF files; answers will not be checked, and cannot be submitted.