CS 151: Syllabus

Computational Thinking: Scientific Applications
Syllabus for Fall 2015

Grading

In this course there will be regular opportunities for you to practice what you have learned and to demonstrate your accomplishments. Below, is a short description of each opportunity, along with the percentage of your final course grade it represents.

Labs with Programming Projects45%Weekly, hands-on, supervised learning. You will begin a programming assignment in each lab. It will be due the following Tuesday night
Quizzes25%Short weekly in-class quizzes (given on Fridays)
Short homework assignments5% Assigned each Wednesday, it will help you prepare for the quiz each Friday.
Participation5%Ask questions, answer questions, join in discussions
Final Exam20%A 3-hour opportunity at the end of the semester to demonstrate your ability to answer questions about course material.

How to succeed

Labs and Projects

Come to lab ready to focus on the new project. Ask the lab instructor and T.A. for help if you need it. Talk to your peers.

The grading policy on projects is that the tasks specified explicitly in the lab and project descriptions will constitute about 85% of the assignment. If you complete the specified parts of the assignment properly, and produce a high-quality writeup, it's worth up to a B+ grade. In addition, the written instructions will include a variety of extensions to the assignment, or you can come up with your own. Completing one or more extensions, in addition to the specified parts of the assignment, will earn you some flavor of A.

Once during the semester, except for projects 4 or 11, you may take a 3-day extension, handing it in on Friday instead of Tuesday. All you have to do is send an email to one of the professors letting them know you are taking your extension prior to the Tuesday night deadline. Projects 4 (prior to October break) and 11 (the last project of the semester) will be due on the Friday after the normal Tuesday deadline.

Quizzes

Study for the quizzes by doing the homeworks. We will drop the lowest quiz grade, so that if you make a silly mistake one week, it won't affect your grade dramatically.

Short homeworks

Try them. You will receive full credit as long as you make an honest attempt to complete every question. Each homework will be a set of questions emailed by the professor on Wednesday. You respond to that email with your answers, along with any questions you may have. As long as you send your respons by classtime on Friday, you will get credit. There is no partial credit for late homeworks, because we will go over the answers in class on Friday before you take the quiz.

Participation

Speak up in class. Come to office hours. Go to lab and help your neighbor. Or ask your neighbor, instructor, or TA for help.

Final Exam

The final exam will be similar to a large set of quizzes (but written from a more wholistic perspective). The best way to study for the final exam is to retake all of the old quizzes (and quizzes from old semesters). Also, read through your notes and make sure you understand everything in them.

For more information about expectations and the assignment of grades, see this document.


Help and Discussion Outside of Lecture

Office Hours and Email

Stephanie and Bruce will both be available to help. If you want to discuss a computer science concept or ask for help regarding an assignment, please do not hesitate to come to our offices. Not only do we enjoy talking about computer science, we want to get to know you!

In addition to coming by our offices for help, you are welcome to send us email with a question. We read our email very frequently and respond to such questions as soon as we read them.

Evening TA Help

In order to provide as much help as possible to you as you work on assignments in this course, the CS Dept has hired upper-level CS students to work as TAs in the Davis 102 lab in the evenings. You are strongly encouraged to take advantage of this resource. The TAs are getting paid to help you, so don't feel guilty about asking them for help. The evening TA hours are: Sunday 4-10pm and Monday 7-10pm, Tuesday 4-6pm and 7-10pm, and Wednesady 7-10pm.

Guidelines


Software

We will use the Python computer language (v2.7) as the basis for the course, with weekly lab sessions to provide hands-on, supervised learning. You will be using a text editor (e.g. TextWrangler) to write your code. Some projects may also use other free software that you can install on your computer. The computers in Davis 101 and 102 are equipped with all necessary software.


Policies

Attendance and Participation

Nothing is more boring than a course with a professor who drones on and on in a lecture about material that the students don't understand. Although this course does involve lecturing, this course will not be boring. I will not drone and I will do my best to make the material as clear as possible. But for this course to be truly successful, your presence and participation are important. When you have a question, ask it. It is highly probable that one of your classmates has the same question. When I give you an opportunity to share your opinion or your answer, please speak up. I want to hear what you have to say. And, of course, to participate in class you must attend class.

Deadlines

The short homework assignments must be turned in on time. No late short assignments will be accepted because we will refer to their solutions in class. The longer programming assignments must be turned in on time for maximal credit. Late labs (programming assignments) will be accepted, but will be given reduced grades. Programming assignments are graded on a 30 point scale. For each day late, your grade will be reduced by up to 3 points.

Quizzes

We will give a short quiz every Friday in class except the first one. We will drop lowest quiz grade. You may make up a missed quiz only if you email one of the professors before class to let us know you will not be there and to request a time when you can make up the quiz. It is imperative that you let us know before before class begins.

Collaboration

Collaboration on homeworks and programming assignments is encouraged, but you as an individual are responsible for understanding all the material in the assignment. If you have had a substantative discussion of any homework or programming solution with a classmate, then be sure to cite them in your write-up. If you are unsure of what constitutes "substantative", then ask me or err on the side of caution. As one rule of thumb, if you see more than 10 lines of someone else's code, then you should cite them. You will not be penalized for working together. However, you must not copy answers directly from another student. In particular, no electronic copying of code is allowed. Another way to think about it is that you should be talking English with one another, not Python. We reserve the right to ask you to verbally explain the reasoning behind any answer or code that you turn in and to modify your project grade based on your answers.

Academic Honesty

It is vitally important that you turn in work that is your own. In addition to the ethical implications of dishonesty, you undermine your ability to learn when you cheat. Please read Colby's Academic Integrity and Honesty Statement. As a guideline, we will tell you that no electronic copying of code is allowed.

Backups

It should go without saying that you should back up any files related to this course. If the code you submit to us is somehow lost (through your fault or our fault), we must be able to get another copy from you. We suggest you use the college's personal server to store your work in this class, as it is regularly backed up.


Topics

WeekTopicsSuggested Reading
1:
  • Introduction, course concept
  • What is computational thinking?
  • Algorithms
Zelle Ch 1
2:
  • Intro to the Python memory model
  • Patterns and Expressions
  • Functions and Parameters
Zelle Ch 2, 3, 6
3:
  • Using loops to repeat commands
  • Loops over lists
  • Lists v. Strings
Zelle Ch 2, 7, 8
4:
  • Useful List Methods
  • List Memory Model
  • Command-line arguments
Zelle Ch 2, 4, 5
5:
  • File I/O
  • More about strings
  • Plotting Data
Zelle Ch 4, 5, 11
6:
  • Lists of Lists
  • Project Overview
  • Top-Down/Bottom-up Design
Zelle Ch 5, 9, 11
7:
  • Search
  • Parameter Optimization
  • Classes Preview
Zelle Ch 9
8:
  • Classes
  • Class Symbol Tables
  • Object-Oriented Design
Zelle Ch 12
9:
  • Zelle Graphics Package
  • Physics Simulation
Zelle Ch 10, 12
10:
  • Inheritance
  • Polymorphism
  • Encapsulation
Zelle Ch 12
11:
  • User Input
  • Python dictionaries
Zelle Ch 11
12:
  • Recursion
Zelle Ch 13
13:
  • Design Examples
  • Design Review
Handouts
14:
  • Other Physics Concepts
  • Review
Zelle Ch 13

Miscellaneous Information