This page will be modified during the course.
Week | Class | Slides | Recitation | Slides |
---|---|---|---|---|
14/5/08 | General Introduction | - | ||
21/5/08 | Computer structure, First C program, Input and output functions | Lesson 1 | Lab session | |
28/5/08 | Arithmetic expression, logic expression, control flow | Tirgul 1 Lesson 2 |
scanf & printf, Data types, if structures and while loops | Tirgul 2 |
4/6/07 | Flow of control: loops, break, continue; Use of char type; Arrays, Functions | Lesson 3 Lesson 4 |
for loops; Arrays, Functions | Tirgul 3 |
11/6/07 | Time complexity; Sieve of Eratosthenes; Sorting [2.1,2.2] | Arrays, Functions | Tirgul 4 | |
18/6/08 | Functions, Recursion, Pointers | Lesson 5 | Dynamic memory allocation | Lesson 6 |
25/6/08 | Time complexity, Binary search, Strings, Pointers | Functions, Recursion | Tirgul 5 | |
2/7/08 | Pointers, Strings, Dynamic memory allocation | Tirgul 6 | The syntax of the C programming language; Structures, typedef, Muli dimensional arrays | Lesson 7 |
9/7/08 | Structures, Two dimensional arrays | Tirgul 7 | Merge sort [2.3] Counting sort [8.2] | |
16/7/08 | Greatest common divisor [31.2] Modular exponentiation [31.6] Towers of Hanoi | Solutions to selected exercises |