logohome

 CS-2301 Lecture Notes

B-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 versions of the lecture notes include dynamic displays. It is best to view them as a slide show in PowerPoint. The HTML pages are provided for those who do not have access to PowerPoint. They capture the slides but not the appearance, disappearance, and other dynamic changes within any slide.

Date

Topics

Text
Chapters

Lecture
Notes

Oct 27

Introduction

1

.ppt

html

 

Numerical Computation in C

1.1, 1.2
& 2

.ppt

html

Oct 30

Numerical Computation —
Review and Continuation

1.1, 1.2
&2

.ppt

html

 

More about Numerical Computation

ditto

.ppt

html

Nov 3

Loops, Conditionals, and other
Statements

3

.ppt

html

 

Introduction to Functions

4

.ppt

html

Nov 6

Discussion of Assignment #2

 

.ppt

html

 

Review and Continuation of
Functions

4

.ppt

html

 

“Loose ends”

3, 4

.ppt

html

 

Recursion and Function
Implementation

4

.ppt

html

Nov 10

Recursion, Stacks, and Functions

4

.ppt

html

 

Arrays and Pointers

5

.ppt

html

Nov 13

Exam #1

 

 

 

Nov 17

Arrays and Pointers (continued)

5

.ppt

html

 

Arrays, Strings, and Pointers

5

.ppt

html

Nov 20

File Operations and Lab 5

7.5

.ppt

html

 

Understanding Bubble Sort

Not in
text

.ppt

html

 

Structures, unions, and typedefs

6

.ppt

html

Nov 24

Data Structures — Lists and Trees

6

.ppt

html

 

Lists and Trees (continued)

6

.ppt

html

Dec 1

Exam #2

 

 

 

Dec 4

Review of Exam #2 and other topics

 

.ppt

html

Dec 8

Hash Tables and Constant Time
Access

6.6

.ppt

html

 

Bit Fields & Bitwise Operations

2.9
6.9

.ppt

html

 

Introduction to Operating Systems

Not in
Text

.ppt

html