CS 074 The Digital World

Spring 2008
Computer Science Department
The College of Arts and Sciences
Boston College

About Syllabus Textbooks Grading
Staff Problem Sets Projects WebCT
Resources News Stand Python

Problem Set 6: Python and Friends

Assigned: Tuesday March 11, 2008
Due: Monday March 17, 2008
Points: 8 Points

This is a very easy three-part problem set.

Part 1: Getting Up and Running in Python (2 Points)

  1. Install python on your computer. See the software section of the Resources page.

  2. Use the IDLE system to create a file containing a python function nand which accepts two boolean values and returns True when both of the arguments aren't True. Otherwise nand should return False. For example:
        >>> nand(True, False)
        True
        >>> nand(True, True)
        False
        
    Import your definition into the python interpreter and try your function on all four possible input combinations to ensure that it works properly.

Part 2: Thinking in the Digital Age (2 Points)

  1. Read Vannevar Bush's article As We May Think.

  2. Watch Professor David Levy's lecture No Time to Think:

Project Proposal (4 Points)

Hand in your one or two paragraph project proposal.