CS1005 General course description


The course will offer an introduction into basic programming concepts and into the C programming language. The course topics cover the basic notions and techniques for algorithm development and the implementation of algorithms in C. No prior programming knowledge will be assumed.

Syllabus

CLASS
TOPICS
READINGS
06/03
Computers - general topics
Programming languages and software development
1.1-1.2
1.3-1.5
06/08
First C program. Variables.
Assignment statements. Input-output operations.
Programming errors.
2.1-2.2, 2.4
2.3, 2.6-2.8
06/10
Data types and expressions.
Relational and logical operators. The if statement.
2.5, 7.1-7.2
4.1-4.4, 4.7
06/15
The while and do-while loops. Sentinels.
The switch statement.
5.1-5.3, 5.5-5.6, 5.8
4.8-4.9
06/17
Operators with side effects. The for loop.
Review.
5.4
06/22
EXAM 1
Functions
 

3.4-3.6
06/24
Top-down design.
Pointers
3.1-3.3, 6.6
6.1
06/29
Input/output parameters.
Scope of names and storage classes
6.2, 6.4
6.3, 13.4
07/01
Arrays
Arrays as function arguments
8.1-8.3
8.4-8.5
07/08
EXAM 2
Pointers and their relation to arrays.
Pointer arithmetic
 
07/12
Multidimensional arrays.
Strings and string operations.
8.7
9.1-9.4
07/15
Applications with strings.
Arrays of pointers.

9.5
07/19
Character operations.
Structures.
9.6
11.1-11.3
07/22
EXAM 3
 


[PREV] Back to main course page

Dan Grecu (dgrecu@cs.wpi.edu)