[Fall 2009]
COMS 3101
Programming Language: C
About the Course
Instructor: Nalini Vasudevan
Email: naliniv@cs.columbia.edu
Course Duration: 10/14/09 to 11/18/09
Prerequisites

  • Fluency in at least one programming language
  • CUNIX account (all registered students should automatically have this)

  • Text Book

    The C Programming Language (2nd edition) by Brian Kernighan and Dennis Ritchie

    Assignments

    Submission details
    Please name your file appropriately before you submit. For eg., the first homework should be named as nv2144_hw1.c where the first part is your uni.
    All assignments will be tested on CUNIX machines. Please make sure that your code compiles and runs on CUNIX before you submit.
    Submit the homework through courseworks: Class Files -> Post File. Select the correct folder (for eg., Shared Files -> HW 1) and submit.

    Grading Policies
    You may not collaborate with others on your homeworks or your project. Please see the the Columbia CS department academic policies.

    Late Homework Policy
    Each student is given a total of 4 late days and these days may be used for any homework assignment (including the project) without any penalty. The late days are not for procastination but for reasons such as illness, extracurricular conflicts and emergencies. If the late days expire, the late penalty is as follows:
    • Fifth late day - 20% off the grade
    • Sixth late day - 40% off the grade
    • Seventh late day and onwards - No credit
    Schedule
    Date Topics Reading Misc
    Oct 14th Introduction Ch. 1.1, 1.2, 2.1, 2.2 [Slides] Accessing CUNIX
    Oct 14th Types, Operators, and Expressions Ch. 2 [Slides]
    Oct 21st Control Flow Ch. 3 [Slides]
    Oct 28th Functions Ch. 4 [Slides]
    Nov 4th Pointers Ch. 5 [Slides]
    Nov 4th File Handling Ch. 7 [Slides]
    Nov 11th Program Structure Ch. 4.5, 4.6 [Slides]
    Nov 11th Memory Management Ch. 7.8 [Slides]
    Nov 11th Sorting and Searching Ch. 3.5, 5.6 [Slides]
    Nov 11th Structures and Unions Ch. 6 [Slides]
    Nov 18th Linked Lists [Slides]
    Reference Materials
    All Rights Reserved. 2010. www.cs.columbia.edu/~naliniv. Design by Nalini Vasudevan