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.
|
|
|
|
|
|
Computers - general topics
Programming languages and software development |
1.3-1.5 |
|
|
First C program. Variables. Assignment statements. Input-output operations. Programming errors. |
2.3, 2.6-2.8 |
|
|
Data types and expressions. Relational and logical operators. The if statement. |
4.1-4.4, 4.7 |
|
|
The while and do-while loops. Sentinels. The switch statement. |
4.8-4.9 |
|
|
Operators with side effects. The for loop. Review. |
|
|
|
|
3.4-3.6 |
|
|
Top-down design. Pointers |
6.1 |
|
|
Input/output parameters. Scope of names and storage classes |
6.3, 13.4 |
|
|
Arrays Arrays as function arguments |
8.4-8.5 |
|
|
Pointer arithmetic |
|
|
|
Multidimensional arrays. Strings and string operations. |
9.1-9.4 |
|
|
Applications with strings. Arrays of pointers. |
9.5 |
|
|
Character operations. Structures. |
11.1-11.3 |
|
|
|
Dan Grecu (dgrecu@cs.wpi.edu)