Here is a great online programming course with all materials and notes available for free: Programming in C Course.  Included are the lecture workbook, exercises, problems, and assessments. Solutions to all of these are also included.
C Programming Workbook and Exercises:
 
- Session 1 Introduction To Programming
 
basic C program, syntax rules, variables, naming variables, the printf statement
Exercise: Hello, World!
Exercise: Large letter
- Session 2 Data types, basic arithmetic
 
Exercise: Real roots of a quadratic equation
Exercise: Volume converter
- Session 3 Control: decisions and looping
 
Exercise: Hello, world! revisited
Exercise: Factorial
Exercise: Quadratic roots revisited
Techniques for planning and writing an algorithm as a C program,
use of flow diagrams, step-by-step solutions to two past assessments
Exercise: Day of week
Exercise: Newton-Raphson method
- Session 5 Functions
 
returning values from functions, math.h library
Exercise: Replacement pow() function
Exercise: Simple sort function
- Session 6 File I-O, formatted I-O
 
use of printf to format output, more on scanf
Exercise: Cartesian to polar conversion (Vectors Data File)
Exercise: Student database (Students Database File)
- Session 7 Arrays, string handling
 
string handling
Exercise: Full name
Exercise: Matrix multiplication
- Session 8 Structures
 
passing a structure to a function, linked lists.

0 comments:
Post a Comment