[Fall 2010]
COMS 3101
Programming Language: C
About the Course
Instructor: Nalini Vasudevan
Email: naliniv@cs.columbia.edu
Course Duration: Oct 19 to Nov 29
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.
    Email the homework to the instructor.

    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 19 Introduction Ch. 1.1, 1.2, 2.1, 2.2 [Slides] Accessing CUNIX
    Oct 19 Types, Operators, and Expressions Ch. 2 [Slides]
    Oct 26 Control Flow Ch. 3 [Slides]
    Nov 2 Functions Ch. 4 [Slides]
    Nov 9 Pointers Ch. 5 [Slides]
    Nov 9 File Handling Ch. 7 [Slides]
    Nov 16 Program Structure Ch. 4.5, 4.6 [Slides]
    Nov 16 Memory Management Ch. 7.8 [Slides]
    Nov 16 Sorting and Searching Ch. 3.5, 5.6 [Slides]
    Nov 16 Structures and Unions Ch. 6 [Slides]
    Nov 23 Linked Lists [Slides]
    Reference Materials
    All Rights Reserved. 2010. www.cs.columbia.edu/~naliniv. Design by Nalini Vasudevan