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 quantitative 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 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 acquiring, analyzing and visualizing 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 Python, 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.

Emma King and Alexandria Guo will be the tutors for CS112 this spring. There will be weekly drop-in hours in room SCI 160A, on Wednesday and Thursday evenings from 7:00-9:00, starting the second week of the semester.

Class Meetings

There are two 70-minute lectures each week on Tuesday/Friday 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 Thursday to choose from, at 10:30-12:20 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, Sixth Edition
John Wiley & Sons, 2017.


(The fifth 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%

 

Class participation includes attendance in lectures and labs, which is required, and engagement in class activities. Please let us know if you need to miss a class.

All submitted work will be counted toward your final grade.

This course complies with the Wellesley grading policy. While the College's policy asks faculty to hold each 100- and 200-level course with 10 or more students to an average of no higher than 3.33 (B+), it does not require faculty to grade on a "curve." There is no arbitrary limit on the number of A's, B's, C's, etc., and every student will receive the grade she earns and deserves according to the grading standards of the College.

Exams

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

Exam 1: Tuesday, March 6
Exam 2: Tuesday, April 24

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 Thursday 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, so 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. See examples of student projects from past semesters on the Project Gallery page.

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. Late assignments can still be submitted (and we encourage you to do so!), but will lose 15% credit for each calendar day after the due date. After three days of lateness, you can still receive up to 55% credit on the assignment, regardless of the number of additional late days. In extenuating circumstances (e.g. illness, 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 submit 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-SP18 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 (version R2017a) 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. 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 CyberDuck. We will introduce you to this program 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-SP18, 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-SP18@wellesley.edu. We 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. The instructors will also 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 use high-level English descriptions).

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.

Any student with disability accommodation needs should contact Jim Wice in Disability Services, 781-283-2434, jwice@wellesley.edu, preferably during the first two weeks of class, so that he can review the request and notify us of the approved accommodations. More information is available at the disability services webpage.