CPSC 206: Structured Programming in C
MWF 9:10 - 10:00 am, ARCC 111

Announcement

 

Syllabus

PDF

Lectures

Date File Lecture Topic Reading
1/14/08 PDF Preliminaries Syllabus, General Introduction  
1/16/08 PDF Introduction 1 Getting started, Unix commands Ch 1
1/18/08   Introduction 2 Programming process Ch 1
1/21/08   Holiday Martin Luther King, Jr. Day  
1/23/08 PDF Overview of C - part I Components of C Ch 1
1/25/08 PDF Overview of C - part II Components of C, Elements of C syntax Ch 1 - 2
1/28/08 PDF Flow control if-else, switch, while, do-while, for statements Ch 3
1/30/08 PDF Input/Output concepts Input/Output concepts, Character Input/Output Ch 5
2/1/08   Quiz1 Materials covered up to 1/28/08 Ch 1-3, Ch 13.1-2
2/4/08 PDF Data types C Data types Ch 6
2/6/08 PDF Functions Modular design, Functions Ch 4
2/8/08   Functions Functions invocations Ch 4
2/11/08 PDF Scope Scope, storage duration, storage class Ch 8.5 - 8
2/13/08   Review Review for exam 1  
2/15/08   Exam 1 Materials covered up to 2/11/08 Ch 1 - 6, Ch 8, Ch 13.1 - 2
2/18/08 PDF Pointers Pointers, pointer variables, call by reference Ch 8.1 - 4
2/20/08   Pointers Pointer examples Ch 8.1 - 4
2/22/08   No class No class  
2/25/08 PDF Arrays Arrays Ch 9
2/27/08 PDF Arrays and functions Function calls with arrays Ch 9
2/29/08 PDF Arrays and pointers Arrays and pointer notation Ch 9
3/3/08   Quiz 2 Materials covered up to 2/29/08 Ch 9, 13
3/5/08 PDF File input/output File pointers and related input/output functions Ch 13
3/7/08 PDF String input Strings and pointers Ch 10
3/10/08   Spring break Spring break  
3/12/08   Spring break Spring break  
3/14/08   Spring break Spring break  
3/17/08 PDF Command line argument Processing arguments to main() Ch 10.6
3/19/08 PDF Structures Basic structure concepts Ch 12.1 - 7
3/21/08   Reading day No class  
3/24/08   Review Review for exam 2  
3/26/08   Exam 2 Materials covered up to 3/17/08  
3/28/08 PDF Structures 2 Use of structures as a data type Ch 12.1 - 7
3/31/08 PDF Linked lists Structures and linked lists Ch 12.8 - 12
4/2/08 PDF Linked lists 2 Creating linked lists, insertion operation Ch 12.8 - 12
4/4/08 PDF Linked lists 3 Delete operations on a list Ch 12.8 - 12
4/7/08   Linked lists 4 Examples Ch 12.8 - 12
4/9/08 skeleton code Review (hw6) Creating sorted linked list  
4/11/08   Quiz 3 Materials covered up to 4/9/08 Ch 12.1 - 12
4/14/08 HW6 code Review Quiz 3 & hw6 solutions  
4/16/08 PDF Typedef, preprocessors Typedef, preprocessor directives Ch 7, Appendix B
4/18/08 PDF Binary search Binary search, recursion Ch 11
4/21/08 PDF Standard Library Useful standard library functions Appendix A
4/23/08   Review Review for exam 3  
4/25/08   Exam 3 Comprehensive (focus on materials after Exam 1) All materials covered
4/28/08        

Labs

Lab assignments

Section Time TA
507 MW 12:40PM - 1:30PM, HRBB 232

Woosuck Hong

Office hours: TR 1:50 - 2:50 pm in Reed-McDonald 229

Supporting Material

Programming in C: A Tutorial

How C Programming Works

C Library Reference

Makefiles for C

Compiling C/C++ under Unix