Computer Science
Department
Maseeh College of Engineering
Portland State University
Instructor |
Lois Delcambre |
Office hours |
5:30PM-6:30PM Tuesdays and Thursdays Other times by appointment; e-mail me to
set up an appt. |
Meeting Times |
Tuesday/Thursday 18:40-20:30 |
Location |
Fourth Avenue Building (FAB), Room 150 |
The
e-mail list "cs199@cecs.pdx.edu" will be used for announcements of
general interest to the class, from the instructor and from the grader.
You can also send questions and answers to this mail list.
URGENT! In order to
join the mail list, please visit the following web page and register:
https://mailhost.cecs.pdx.edu/mailman/listinfo/cs199
All
CS199 students are entitled to get a computer account at PSU in the
http://www.cat.pdx.edu/index.php?option=com_content&task=view&id=86&Itemid=148
After
you get your proximity card (see #3 above), go the CS Tutors in C88-01 to get
access to the Fourth Avenue Building and to get access to the computer labs in
the Fourth Avenue Building. Note that
the Windows lab, FAB 55-17 Maseeh College Intel Lab (35 computers) is open all
the time. But you will need proximity
card access to get into the building after hours.
After you get your proximity card (see #3 above),
you can get access to the Windows lab in the Engineering Building. The computer lab with Windows machines is in
room EB 325 Maseeh College EB Intel Lab (39 computers). You need to go to the Student Services office
in EB100 on the first floor of the Engineering Building in order to get access
to the building and to this lab. Or… you
can give me your PSU id number, your proximity card badge number, and your last
name and I will be able to get access to EB 325 for you. I will be collecting your information during
the first week of class; if you miss that opportunity, then you’ll need to
visit the Student Services Office in EB100.
If you have your own desktop or laptop computer
and you know how to download/install programs, you may want to download Python,
Version 2.6.1 from the Python web site: http://python.org/ This will allow
you to use Python and complete your exercises directly on your laptop or
desktop without using the MCECS computer labs.
REQUIRED:
Python Programming: An Introduction to Computer Science, by John Zelle, Franklin, Beedle, and
Associates, 2004 (ISBN 1-887902-99-6).
SUGGESTED:
You may benefit from looking at online materials about
Python. (I may post suggestions here as
the quarter progresses.)
One
useful book is: How to think like a
Computer Scientist: Learning with Python, by Allen Downey, Jeffrey Elkner, and Chris Meyers, Green Tea Press, 2002 (ISBN
0-9716775-0-6). This book is available
online, for free, as well at: http://greenteapress.com/thinkpython/thinkCSpy/
Tests: There are three
in-class tests: on Tuesday of Week 5, Week 8, and Week 11 (Finals week). See the weekly schedule below for details
about which material is covered in each test.
Each test is worth 21% of your grade.
You are
allowed to use your textbook during the exam. So please remember to bring
your textbook to class for the exam.
You are allowed to use dictionaries, including foreign language
dictionaries.
You are NOT allowed to use any other material (such as the slides or your
notes) during the exam.
Work entirely by yourself on exams; ask questions only of the instructor or
exam monitor.
Exercises: There are 7
exercises. Each exercise is worth 4% of your grade. (Exercises are
worth 28% of your grade.)
Exercises can be done individually or in teams of two students.
If you work with a partner, then be sure to indicate both students’ names when
you send the e-mail.
In-class activities: Each class
period (except for the classes where we have tests), we will have some sort of in-class
activity. Sometimes these
activities will involve using a computer, sometimes not. You will receive credit for these activities
as long as you attend class and you attempt these activities. Activities are worth 9% of your grade; each
activity is worth 0.5% of your grade.
Student
Conduct [Excerpt
from the 2007-2008 PSU Catalog, page 29]
The policies of the University
governing the rights, freedoms, responsibilities, and conduct of students are
set forth in the Portland State University Code of Student Conduct and
Responsibility, which has been issued by the president under authority of
the Administrative Rules of the Oregon State Board of Higher Education. The
code governing academic honesty is part of the Code of Student Conduct and
Responsibility. Students may consult these documents in the Office of Student
Affairs, 433 Smith Memorial Student Union or by visiting www.pdx.edu/dos/conduct.html.
Academic honesty
Academic honesty is a cornerstone of any meaningful education and a reflection
of each student’s maturity and integrity. The Code of Student Conduct and
Responsibility, which applies to all students, prohibits all forms of academic
cheating, fraud, and dishonesty. These acts include, but are not limited to,
plagiarism, buying and selling of course assignments and research papers,
performing academic assignments (including tests and examinations) for other
persons, unauthorized disclosure and receipt of academic information, and other
practices commonly understood to be academically dishonest
There is reading assigned for each class session. You are expected to read the sections AFTER the class for which they are assigned.
Week |
Date |
Topic |
Reading Assignment |
Handouts |
Schedule |
1 |
Mar. 31 |
Introduction; class web site; accounts & access; IDLE;
what is a computer; print/assignment, variables. |
Chapter 1, Zelle |
|
|
Apr. 2 |
Definite loops; import & reload; compiling vs. interpreting Activity: modifying/writing a program |
Chapter 2, Zelle |
Exercise 1 assigned |
||
2 |
Apr. 7 |
Functions and parameters Activity: writing a program (a times table) |
Chapter 1 and 2, Downey |
|
|
Apr. 9 |
Numeric data types; overflow Activity: writing programs |
Chapter 3, Zelle |
|
Exercise 1 due Exercise 2 assigned |
|
3 |
Apr. 14 |
Binary numbers, data types (cont.) |
|
|
|
Apr. 16 |
Debugging Introduction to strings |
Chapter 4, Zelle (skip section 4.4.2 through 4.4.5) |
|
Exercise 2 due |
|
4 |
Apr. 21 |
More about strings and lists |
|
|
|
Apr. 23 |
Review for test 1 |
|
Exercise
3 due |
||
5 |
Apr. 28 |
Test 1 |
|||
Apr. 30 |
Tuples, print templates, text files as input/output |
(Ch. 4, cont., Sections 4.5 and 4.6) |
|
Exercise 4 assigned |
|
6 |
May 5 |
Lists, tuples |
Ch. 11 (Sect 11.1-11.2) Zelle |
|
In-class work: Ch. 11,
Discussion Questions 1, 2; Prog. Exercise 5a |
May 7 |
While loops, for loops, if statements (mixed) |
Ch. 7 and 8 Zelle |
|
Exercise 4 due |
|
7 |
May 12 |
How to design programs; |
Ch. 9 Zelle |
Write a function that
“rolls the dice”. Write a functions
that (calls that function) and rolls two dice. |
|
May 14 |
Review for test 2 |
|
Exercise 5 due |
||
8 |
May 19 |
Test 2 |
|||
May 21 |
Designing programs (cont.) Debugging, testing |
Appendix A Downey |
|
Exercise 6 assigned |
|
9 |
May 26 |
Nested lists |
|
|
|
May 28 |
Recursion |
Section 13.2, Zelle |
|
Exercise 6 due Exercise 7 assigned |
|
10 |
June 2 |
Discussion; introduction to Unix; review for test 3 |
see Basic commands See nano manual |
|
|
June 4 |
Introduction to other programming languages |
|
|
Exercise 7 due |
|
11 |
Tues., June 9 |
Test 3 |