# Object-Oriented Programming

Next week, I will discuss this exercise in class. Lecture: Wednesday, 14.15, room 105. Lab: Wednesday, 16.15, room 110.

### Prerequisites

It turns out that all participants are absolute beginners. Therefore, I will give an introductory course in programming.

### Schedule

• march 3d. General introduction to object-oriented programming. Slides .
• march 17th. Very gentle introduction to concepts of programming. Variables, reading input, printing output.
• march 24th. If statements. Compute Syracuse sequences .
• march 31st. I tried to introduce loops. Approximation of Taylor sequences and integrals. Compute E by limit expression and by Taylor sequence.
• April 7th. Functions and vectors. (Functions for computing factorial , a program that reads a sequence of numbers, stores them in a vector, and computes the sum.
• April 14th. No lecture!
• April 21st. More exercises with functions and vectors.
• April 28. More about functions and vectors. We wrote a program that computes how many moves a knight needs to reach a certain place on the chess board. `
• Mayb 5th. We study putchar and getchar. We will use these functions to do some parsing by hand, and to print numbers in different number systems. This program contains all information you need to know about getchar( ) and putchar( ).

## Exercises

first (due 24.03.2010). second (due 31.03.2010), third (due 07.04.2010), fourth , (due 14.04.2010), fifth , (due 21.04.2010), sixth , (due 28.04.2010), seventh , (due 05.05.2010), eighth , (due 19.05.2010), ninth , (due 26.05.2010), tenth , (due 09.06.2010).

## Exam

The exam will take place on wednesday, June 16th from 14.15 until 17.15 in room 105. This text explains what you need to know at the exam. In addition to that, you need to understand the programs that were shown in class, but not the ones involving search.