Edinburgh Napier University, School of Computing.
From this page you can assess and develop your programming skills.
In programmes such as BEng Software Engineering, BEng Internet Computing, BEng Multimedia Systems and BEng Computing you will need the ability to build programs in Java. This section shows you the kinds of skills that are taught in first year. You can follow the tutorials and take the tests.
The first programming exercise involves drawing images using the Java Graphics2D class in the java.awt package. We don't expect you to know all of the classes and methods; so don't worry if you have never heard of the methods
drawLine, what is important is that you can use these methods after you have seen some examples.
You will find help, and many examples of graphics problems in the Flags Tutorial.
You should be able to develop algorithms to solve problems. Most of these examples use arrays and loops.