CS-2301 Lecture Notes

D-Term 2009

Below are the lecture notes for CS-2301 (System Programming for Non-majors) for this term. Lecture notes will normally be posted shortly before or shortly after each class. Students are responsible for knowing and understanding all of the lectures, even those that they might miss.

Chapter numbers refer to the course textbook, The C Programming Language, by Brian W. Kernighan and Dennis M. Ritchie.

CS-2301 Course Home Page

Some topics in the list are not covered in the textbook. It is in the student’s interest to be sure to attend class and listen carefully to those particular topics.

Note: The PowerPoint and HTML versions of the lecture notes include dynamic displays. It is best to view them as a slide show, either from PowerPoint or by clicking the Slide Show icon on the HTML versions.

Date

Topics

Text
Chapters

Lecture
Notes

Mar 17

Introduction

1

.ppt

html

Mar 20

Numerical Computation in C

2

.ppt

html

March 24

More on Numerical Computation

2

.ppt

html

 

Loops, Conditionals, and other
kinds of Statements

3

.ppt

html

March 27

Introduction to Functions

4

.ppt

html

March 31

Loose ends regarding Expressions

3

.ppt

html

 

Recursion and Implementation of
Functions

4

.ppt

html

April 6

Arrays in C

5

.ppt

html

April 10

Strings, Arrays, and Pointers

5

.ppt

html

April 14

Strings, Arrays, and Pointers
(continued)

5

.ppt

html

 

Structures, unions, and typedefs

6

.ppt

html

April 24

Data Structures — Lists and Trees

6.5

.ppt

html

 

Lists, Trees, and Big-O notation

 

.ppt

html

April 27

More on Data Structures (including
hash tables)

6.6

.ppt

html

 

Bitwise Operations & Miscellaneous
Topics

6.9

.ppt

html

May 1

Introduction to Operating Systems

 

.ppt

html