This page will be modified during the course.
Week | Class | Slides | Class | Slides |
---|---|---|---|---|
22/10/07 | General Introduction | Computer structure, First C program, Input and output functions | Lesson 1 | |
29/10/07 | Development environment, First C program | Tirgul 1 | Arithmetic expression, logic expression, control flow | Lesson 2 |
5/11/07 | scanf & printf, Data types, if structures and while loops | Tirgul 2 | Flow of control: loops, break, continue, switch case; Use of char type | Lesson 3 |
12/11/07 | for, switch case | Tirgul 3 | Arrays, Functions | Lesson 4 |
19/11/07 | Arrays, Functions | Tirgul 4 | Time complexity, Sieve of Eratosthenes, Binary representation | |
26/11/07 | Functions, Recursion, Pointers | Lesson 5 | Functions, Recursion | Tirgul 5 |
3/12/07 | Dynamic memory allocation, Time complexity | Lesson 6 | Pointers, Strings, Dynamic memory allocation | Tirgul 6 |
10/12/07 | Time analysis of recursive functions; The syntax of the C programming language; Structures, typedef, Muli dimensional arrays | Lesson 7 | Structures, Two dimensional arrays | Tirgul 7 |
17/12/07 | Towers of Hanoi; Sorting [2.1,2.2] Merge sort [2.3] Counting sort [8.2] | Standard Library Functions; Guidelines for ex. 4; Solutions to selected exercises | ||
24/12/07 | Greatest common divisor [31.2] Modular exponentiation [31.6] Solutions to selected exercises | Solutions to selected exercises |