Exercise 6
MA407
This set of exercises will make you more familiar with the object oriented programming features
of Java. You will practise to implement APIs and design and use own data types. We star
Exercise 5
MA407
This exercise set concerns sorting algorithms and their running times. It should make you
familiar with the type of questions that you will encounter in the exam. (In fact Exercise 2(
Exercise 2
MA407
One subject where two dimensional arrays prove particularly useful are calculations with matrices - which has a multitude of applications, as you know. The following exercises ask you
Exercise 3
MA407
This set of exercises will introduce you to a particularly ecient method to search for an entry
in a sorted array, which is called binary search. The basic idea of binary search is th
Exercise 1
MA407
Since the times of the Ancient Greeks prime numbers have held much fascination for mathematicians. Although today we know quite a lot about them, many questions remain open
and they a
Exercise 4
MA407
In this exercise we to consider a sorting strategy that is dierent from the strategies we saw
in the lecture: we want to sort by switching elements that are not in the right order. Mo