Anda di halaman 1dari 2

Subscribe to the OCW Newsletter

Help | Contact Us

Find Courses

About

Donate

Featured Sites

Advanced
Search

Search

Home Courses Electrical Engineering and Computer Science Introduction to Computer Science and Programming Assignments

Assignments
COURSE HOME
SYLLABUS
CALENDAR
READINGS
VIDEO LECTURES
ASSIGNMENTS

Getting Started
Getting Started: Python and IDLE (PDF)
If you are working on your own machine, you will probably need to install Python. We will be using the standard Python software,available here.
You should download and install version 2.5.4.
TECHNICAL NOTE: Some modern operating systems, particularly OS X El Capitan, no longer allow Python 2.5.4 to be installed. If that's the case,
you may instead install Anaconda, which includes standard Python as well as numpy, pylab, and many other extensions. Please install Anaconda
for Python 2.7.
WARNING: On the Python homepage, the latest version available for download is actually 3.5. Do not install this! This version is not backwards
compatible with the code that you'll be writing in this course (for example, you have to type print("test") instead of print test.)
ASSN #

PROBLEM SETS

SUPPORTING FILES

A very simple program: entering and printing your name ( PDF)

Computing prime numbers, product of primes ( PDF)

Diophantine equations (PDF)

ps2b.py (PY)

Matching strings: a biological perspective (PDF)

ps3_template.py (PY)

Simulating a retirement fund ( PDF)

ps4.py (PY)

EXAMS
DOWNLOAD COURSE
MATERIALS

ps5.py (PY)
test_ps5.py (PY)
5

Word games (PDF)

ps5_ghost.py (PY)
words.txt (TXT)

ps6.py (PY)
6

Word games 2 (PDF)

Review problems (PDF)

Dynamic programming (PDF)

Classes and methods (PDF)

words.txt (TXT)

ps8.py (PY)
subjects.txt (TXT)

ps9.py (PY)
shapes.txt (TXT)

ps10.py (PY)
ps10_test.py (PY)
10

Object-oriented programming; graphical user interface for word game ( PDF)

ps10_gui.py (PY)
words.txt (TXT)

ps11.py (PY)

FIND COURSES

11

Simulating robots (PDF)

12

Simulating virus population dynamics (PDF)

ABOUT

DONATE

ps11_visualize.py (PY)

FEATURED SITES

Find by Topic

About OpenCourseWare

Make a Donation

Highlights for High School

Find by Course Number

Site Statistics

Why Donate?

OCW Educator

Find by Department

OCW Stories

Our Supporters

MIT Crosslinks and OCW

Instructional Approach

News

Other Ways to Contribute

MITx and Related OCW

ps12.py (PY)

OUR CORPORATE SUPPORTERS

Teaching Materials
Audio/Video Courses
Courses with Subtitles
Online Textbooks
New Courses
Most Visited Courses
OCW Scholar Courses
This Course at MIT
Supplemental Resources

Press Releases

TOOLS
Help & FAQs
Contact Us
Advanced Search
Site Map

Shop OCW

Courses

Become a Corporate

MIT+K12 Videos

Sponsor

Teaching Excellence at MIT


Outreach@MIT
Open Education
Consortium

Privacy & Terms of Use


RSS Feeds

Translated Courses
View All Courses

Support for MIT OPENCOURSEWARE'S 15th anniversary is provided by

ABOUT MIT OPENCOURSEWARE


OCW is a free and open publication of material from thousands of MIT courses, covering the entire MIT curriculum.Learn more

20012016
Massachusetts Institute of Technology
Your use of the MIT OpenCourseWare site and materials is subject to our Creative Commons License and other terms of use.

Need help getting started?

Don't show me this again