Quantcast
 

Object-Oriented Programming

OCW Scholar

« Previous | Next »

Session Overview

Diagram of EECS, the universe, and 6.01 topics.

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.

Session Content

Readings

Read chapters 1-3 of the course notes.

Lecture Video

Watch the lecture video. The handout and slides present the same material, but the slides include answers to the in-class questions.

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.

Recitation Video

These videos have been developed for OCW Scholar, and are designed to supplement the lecture videos.

Session Activities

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.

Design Lab

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)

Additional Exercises

Check Yourself

Nano-Quiz

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.

 

« Previous | Next »