Bryn Mawr College
CS 246: Programming Paradigms: Unix & C Programming
Spring 2008
Course Materials
Professor Douglas Blank
General Information
Instructor: Douglas Blank, 248 Park Hall, 526-6501
Email: dblank (at) cs (dot) brynmawr (dot) edu
WWW: http://cs.brynmawr.edu/~dblank
Office hours: Tuesday & Thursday 10 - 11am, 2 - 3pm, and by appointment.
Lecture Hours: Mondays & Wednesdays, 10:00 p.m. to 11:30 p.m.
Room: Park 337
Lab: Room 231
Laboratories: Computer Science Lab Room 231 (Park Science Building)
Lab Assistants: The following Lab assitants will be available during the week (names and schedules will be posted by the end of this week) for assistance on lab assignments.
- Jessica Billings, Thursdays, 2-4pm, in Park Science 230
- Anne Miller, Tuesdays, 7:30 - 9:30pm, Park Science 231
These are the hours when the Lab will not be available:
Tues/Thursday 10-11:30am, 2:30-4pm
Texts & Software
Important Dates
January 23: First lecture
March 20: Exam 1
May 1: Last lecture/Exam 2
Assignments
- Assignment #1: write a C program of your own design
- Assignment #2: edit a section of the on-line book
- Assignment #3: write a first version of cellmate.c that will:
- read in a .cm file
- read multiple columns
- write out the columns
- Assignment #4: write a version of cellmate.c that can handle the -d flag to set a delimiter, and remove limits on numbers of rows and columns. See hints at cellmate-6.c
Lectures
- Week 1 (January 22)
January 22: First class meeting. Overview of the course.
- Week 2 (January 28, 30)
January 28: Read http://www.faqs.org/docs/learnc/
January 30:
- Week 3 (February 4, 6)
February 4: No class today (Doug in DC)
February 6: History of Unix and C
- Week 4 (February 11, 13)
February 11: Defining cellmate, a C program in the Unix style. See Cellmate
February 13: Explore a matrix of pointers.
- Week 5 (February 18, 20)
February 18 : Explore arguments and structs. Due today, Assignment #3.
cellmate-6.c hints
February 20: Examine further the ideas of a linked list and cellmate-6.c. Due today, Assignment #4.
- Week 6 (February 25, 27)
February 25:
February 27:
- Week 7 (March 3, 5)
March 3:
March 5:
- Week 8 (March 10, 12)
No classes. Spring Break!
- Week 9 (March 17, 19)
March 17:
March 19: Exam 1 is today.
- Week 10 (March 24, 26)
March 24:
March 26
- Week 11 (March 31, April 2)
March 31:
April 2:
- Week 12 (April 7, 9)
April 7:
April 9:
- Week 13 (April 14, 16)
April 14:
April 16:
- Week 14 (April 21, 23)
April 21:
April 23:
- Week 15 (April 28, 30)
April 28:
April 30: Exam 2 is today.
Grading
Final grades will be calculated
as a weighted average of all grades according to the following weights:
Exam 1: 20%
Exam 2: 25%
Labs & Written Work: 55%
Total: 100%
Links
- http://wiki.roboteducation.org/Learning_GNU_C
- http://wiki.roboteducation.org/CellMate
Created on January 18, 2008.