Course Overview
Class Meetings
Textbook and Other Resources
Grading
Exams
Assignments
Final Project
Late Assignment Policy
Collaboration Policy
Software
Google Group
Finding Help
Students with Special Needs
 

Course Overview

CS112 is an introduction to computer programming that provides the tools necessary for students to use computers effectively in scientific work, including work in the natural and physical sciences, biological sciences, medicine, mathematics, psychology, and economics. Students learn to write software to solve problems, visualize and analyze data, perform computer simulations, and implement and test computational models that arise in a wide range of scientific disciplines. The course introduces MATLAB, a powerful and widely used technical computing environment with advanced graphics, visualization and analysis tools, and a rich high-level programming language.

More specifically, you will learn computer programming skills that are valuable for carrying out computational tasks such as the following:

  • creating two-dimensional and three-dimensional graphical displays of data
  • performing statistical analyses of data
  • solving equations
  • fitting functions to data
  • implementing models to solve problems
  • performing simulations of physical processes and models
  • processing textual or symbolic data
  • processing one-dimensional signals and two-dimensional images that arise in scientific applications
  • building graphical user interfaces to programs

Why Learn MATLAB?

  • MATLAB's extensive built-in tools for the acquisition, analysis and visualization of many kinds of data make it a useful first language for scientists
  • The simple structure and interactive nature of the MATLAB language facilitates rapid learning of the skills needed to perform interesting and important computational tasks
  • Many programming concepts learned in MATLAB are easily transferable to other languages such as C++ and Java
  • The MATLAB programming environment is widely used for a variety of applications in academic, commercial and government institutions

Prerequisites: None. No prior programming experience is expected.
Distribution Credit: Mathematical Modeling
Units: 1.0

Instructors and Tutors

Contact information and office hours for the instructors are provided at the top of this page. Feel free to come to either of us for help. Meetings and seminars sometimes conflict with scheduled office hours, so we will keep you informed each week about changes in our office hours.

Carina Belvin and Yuna Hahn will be the tutors for CS112 this spring. There will be weekly drop-in hours in room SCI 160A, on Wednesday (Carina) and Thursday (Yuna) evenings from 7:00-9:00, starting the second week of the semester.

Class Meetings

There are two 70-minute lectures each week on Monday/Thursday at 8:30-9:40 in SCI E111. In addition, students must register for and attend a weekly 110-minute laboratory section. There are two laboratory sections on Friday to choose from, at 10:30-12:20 in SCI E101 or 1:30-3:20 in SCI 257. The lectures will introduce the main content of the course. The lab classes provide hands-on experience with new material through group work and individual programming exercises, and also provide an opportunity to address questions related to assignments and exams.

Textbook and Other Resources

The following required textbook is available at the Wellesley College Bookstore:

Gilat, Amos,
MATLAB: An Introduction with Applications, Fifth Edition
John Wiley & Sons, 2015.


(The fourth edition of the Gilat text can also be used.)

A copy of the textbook and additional books on MATLAB are available in SCI 160A, including the following reference book:  Duane & Littlefield, Bruce (2005) Mastering MATLAB 7
Please do not remove any books from SCI 160A!

Grading

Your final grade will be based on a weighted average of the following components:

Assignments40%
Class participation5%
Exam 1 (in class)20%
Exam 2 (in class)20%
Final project15%

 

All submitted work will be counted toward your final grade.

Exams

There will be two in-class exams, both open book and open notes, scheduled on the following dates:

Exam 1: Monday, March 2
Exam 2: Thursday, April 23

Please mark these dates in your calendar, and let us know as soon as possible if you have a scheduling conflict. There will be no final exam in this course.

Assignments

Weekly assignments will help you develop a working knowledge of the concepts presented in class. Assignments will typically be distributed in Lab on Friday and due on Friday of the following week, and will include exercises that you begin in Lab, as well as extended programming problems. You will be expected to work in pairs on your assignments, using the "Pair Programming" approach that you learn in Lab. This approach has been shown to improve programming skills, and also creates a more enjoyable learning experience.

Assignment handouts will be posted on the course schedule page. You should always submit both a hardcopy of your assignment solutions and a softcopy (i.e., electronic copy) of all of your code to the appropriate drop folder. More detailed instructions for submitting assignments will be presented in Lab and included on each assignment.

Many of the extended programming problems will be challenging. Please keep in mind that programming often consumes more time than you think it will. Start your assignments early so that you have time to think about the problems and ask questions if you hit an impasse. Also keep in mind that computers and networks do break down, and you may sometimes need to wait for available computers or an available copy of the MATLAB software. Please plan accordingly!

Final Project

During the last few weeks of the semester, you will have the opportunity to work on an extended, individualized programming project in an area of interest to you. You will be strongly encouraged to work in pairs on this project. After choosing an interesting application or problem, you and your partner will design and build a substantial MATLAB program from scratch. This project will enable you to integrate all of the programming and problem-solving skills that you have learned, and to build a program that is connected to your particular interests. During the last week of the semester, students will give a short presentation about their project. The final project will be due at the end of the Final Exam period.

Late Assignment Policy

All assignments are due in class on the advertised due date, which will usually be a Friday. An assignment due on a particular day will be accepted until 5:00pm on that day without penalty. After the due date, the assignment can still be submitted, but will lose 20% credit for each calendar day after the due date. In extenuating circumstances (e.g. sickness, personal crisis, family problems), you may request an extension without penalty. Please try to contact an instructor before the due date.

Collaboration Policy

It is never acceptable to present someone else’s work as if it were your own. This violates the basic principles of academic honesty. Unless explicitly instructed otherwise, assume that all work you hand in is to be yours alone, or the work of you and your partner. While you are working on a homework assignment, you may collaborate with students other than your partner by talking about the problem or your solution in a natural language like English, but you should not be looking at other students' code and you should not show your programs to a student other than your partner. You are encouraged to use the CS-112-01-SP15 Google Group (described below) to discuss assignment problems, but the same rules apply: discussions should be in English and should not include code that is part of the problem solution.

When you turn in an assignment, you must provide the names of you and your partner on your hardcopy, and also list other students with whom you collaborated. Academic honesty requires this. If you are not sure what constitutes collaboration, err on the side of caution. You may consult public literature (books, articles, the web, etc.) for hints, techniques and solution strategies, but you must reference any sources that contribute to your solution.

When you use a public computer, save your work, remove the local copy when you are done, and log out. If you find someone else has forgotten to log out, then log them out without looking at any files or work in open windows. Please do not leave printouts of assignment solutions at public printers.

Software

MATLAB 8 (version R2014a) is available on all public computers, including both Macs and PCs, and can also be installed on your personal Mac or PC for use on the campus network. Your personal copy of MATLAB can be used off-campus by installing software for the SSL VPN on your Mac or PC. For more information about these options, see the Wellesley Technology Support webpage, or the CS112 documentation page. The MATLAB software is key-served, so there are a limited number of copies that can be used at one time (currently 50 copies). Please be sure to exit MATLAB when you are done using it! A student version of MATLAB can also be purchased at the Mathworks website for $99.

Specific course software can be downloaded and uploaded to and from personal computers using Fetch (for Macs) and WinSCP (for PCs). We will introduce you to these programs in Lab, and more information is available at the Wellesley Technology Support webpage. Course software is stored on the CS department file server, described on the CS file server page. Each student will have an individual account on the CS file server that can be requested by submitting an electronic account request form. This form is only accessible from the campus network.

Google Group

A Google Group has been created, CS-112-01-SP15, and students enrolled in this class have been added as members. If you did not receive a confirmation e-mail, please let us know so that we can add you. You can send e-mail to this group at the address CS-112-01-SP15@wellesley.edu. The instructors will post important announcements here about assignments, changes to office hours, and CS department events such as seminars and parties. We encourage you to post questions or comments related to the lectures, labs, assignments, or other topics of interest to students in the course. Feel free to respond to questions posted by other students. In addition, the instructors will read the messages posted to the group on a regular basis and post answers to questions found there. This is a good place to find people to join a study group or ask questions about the course or about homework (please do not post MATLAB code here — homework discussions should be at a high-level English description).

Finding Help

If you have any questions at all about the class (whether big or small, whether on lectures, labs, assignments, reading, or whatever) please contact one of the instructors. That's what we're here for! Simple questions can often be answered via the course Google Group or via e-mail. When sending e-mail questions to an instructor, it is OK (and often helpful!) to cut-and-paste segments of MATLAB code into the body of the message, or add a code file as an attachment. Questions of general interest (e.g. clarifying ambiguities in an assignment, wondering why posted programs do not work as expected) should be posted to the Google Group. If you have a complex question or need help in understanding the material, please try to meet with us in person. The best time to see us is during our scheduled office hours listed at the top of this document. If these times are not convenient, we can schedule an appointment for some other time. You can schedule an appointment in person, via phone, or via e-mail. Also remember to visit our CS112 tutors during their drop-in hours each week! Finally, when looking for help, do not overlook other students. Get to know your classmates early in the semester so that you can help each other out!

Students with Special Needs

If you have special needs of any kind, please meet with us to discuss accommodations that may be helpful to you.