This is a beginner's course in computer programming. Students will learn how to write programs using the C programming language.
| Week | Date | Topic | Readings | Handout | Homework | Solution |
| 1 | 11/19/07-11/23/07 | Introduction to the Linux Programming Environment | H1,JMS | |||
| 2 | 11/26/07-11/30/27 | Variables and Data Types in C | Chapter 1,Chapter 2 | H2,JMS | ||
| 3 | 12/03/07-12/07/07 | Variables and Data Types in C | Chapter 2 | H2,JMS | ||
| 4 | 12/10/07-12/14/07 | If-Else/Loops | Chapter 3 | H3,JMS | ||
| 5 | 12/17/07-12/19/07 | If-Else/Loops | Chapter 3 | H3,JMS | ||
| 6 | 01/02/08-01/04/08 | (No class) | ||||
| 7 | 01/07/08-01/11/08 | Loops | Chapter 3 | H3,JMS | ||
| 8 | 01/14/08-01/18/08 | Control Structures Integration | Chapter 3 | |||
| 9 | 01/21/08-01/25/08 | Functions/C Standard Library | Chapter 4 | Handout | ||
| 10 | 01/28/08-02/01/08 | Functions/Parameter Passing |
Chapter 4,
Pointers |
Handout | ||
| 11 | 02/04/08-02/08/08 | Array processing/Strings | Arrays, Pointers, Strings | JMS | ||
| 12 | 02/11/08-02/15/08 | Arrays and Sorting | Insertion Sort | JMS | ||
| 13 | 02/18/08-02/22/08 | Structures | Chapter 6 (Structures) | |||
| 14 | 02/25/08-02/29/08 | Input/Output Files | Input/Output, Formatted I/O, Character I/O, Unformatted I/O, Random Access | |||
| 15 | 03/03/08-03/07/08 | Recursion | Recursion(Wikipedia), | |||
| 16 | 03/10/08-03/15/08 | Pointers and Dynamic Data Structures | Linked List (Wikipedia), | Handout | ||
| 17 | 03/17/08-03/21/08 | Integration/Exam |
Students should avoid cheating and plagiarism. All programming exercises and
assignments will be done individually.
In order to execute programs in the C programming language, you will need a compiler. A compiler tranlates your program written in C into machine language that can be directly executed by the computer. In the lab, you will be using the GNU Compiler Collection (GCC) within the Mandrake Linux 10.1 environment. If you don't have linux on your home computer, it is possible to program in C by using compilers that run on windows.
To get started, click here to download a minimal command line Turbo C compiler (ver. 2.01). Save the file to your Desktop.
cd Desktop\TC-min
tcc -ehello.exe hello.c
hello.exe
Other compilers you can use:
$Id: CMSC11-2nd-Sem-2007.html 878 2009-05-15 02:22:45Z jachermocilla $