 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
90.267 C Programming |
|
|
|
DOWNLOAD SYLLABUS HERE |
|
|
|
Course Syllabus |
|
|
|
 |
|
|
|
|
|
DOWNLOAD LECTURE NOTES HERE |
|
|
|
Introduction; Course mechanics and requirements; Anatomy of a C Program: Edit, Compile, Link, Execute Cycle; C Programming Examples; Coding Guidelines |
|
|
Meeting 1 Notes |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Data types, constants, variables, arithmetic operators and expressions. Increment and decrement. Input and Output |
|
|
Meeting 2 Notes |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Relational and logical operators. Flow control: while; do-while; for; break; continue statements. if, if-else, switch. |
|
|
Meeting 3 Notes |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 4 Notes |
|
|
|
Quiz #1. Formatted I/O |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 5 Notes |
|
|
|
Arrays; Character Strings |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 6 Notes |
|
|
|
Working with Functions; Working with large programs: Separate Compilation; The Preprocessor. |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 7 Notes |
|
|
|
Structures; More on separate compilation. |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Midterm Examination - No Notes. |
|
|
Meeting 8 Notes |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 9 Notes |
|
|
|
Numbering Systems: Hexadecimal/Octal/Binary representations and conversions; Bit Operators. |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 10 |
|
|
|
 |
|
Pointers |
|
|
|
|
|
|
|
|
More on Pointers; Dynamic Memory Allocation |
|
|
Meeting 11 Notes |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 12 Notes |
|
|
|
Quiz #2. Data Structures. |
|
|
|
 |
|
|
|
|
|
|
|
|
|
Meeting 13 |
|
|
|
Input and Output Operation: From Keyboard and from Files; The Standard C Library |
|
|
|
 |
|
|
|
|
|
|
Meeting 14 |
|
|
|
Final Examination - No Notes |
|
|
|
 |
|
|
|
|
|
|
|
|
|
DOWNLOAD HOMEWORKS HERE |
|
|
|
Homework #1 |
|
Homework #4 |
|
|
|
 |
|
|
 |
|
|
|
|
|
|
Homework #2 |
|
Homework #5 |
|
|
|
 |
|
|
 |
|
|
|
|
|
|
Homework #3 |
|
Homework #6 |
|
|
|
 |
|
|
 |
|
|
|
|
|
|
INFORMATIONAL DOCUMENTS |
|
|
|
Here are some step-by-step instructions for separate compilation using Microsoft Visual C++ |
|
|
Separate Compilation |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Here are the guidelines that I want you to use for all homeworks/projects. |
|
|
Coding Guidelines |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
Homework Grading Policy |
|
|
|
Here is the homework grading policy. The grading range is 0 - 40. |
|
|
|
 |
|
|
|
|
|
|
|
|
|
IMPORTANT NOTICES 1. Please download all notes, homeworks, and informational documents for the entire semester. Geocities will not support this website in October, so please be sure to download everything by the end of September. |
|
|
|
 |
|