Introduction and challenges

Practice for Week 1

I've attached a zipped NetBeans project that contains all the worked exercises combined into a single project.

I encourage you to attempt the problems yourself before "peeking" at the solutions.

The solutions I've provided are just one of many possible ways to achieve the same effect. If your code is different, but still works, it doesn't necessarily mean that you are "wrong". In fact, your solution may be better than the ones that I have provided. I suggest looking at the differences and understanding why you and I have made different design choices.

I've attached a solution to the challenge problem. It is a zipped NetBeans project folder.

This is not the only way to solve the problem. In fact, you could argue that I've made it more complex than it needs to be.

In any case, it might give you some ideas.

If you found a clever solution to some part of the challenge or if you have any questions, you are welcome to discuss it on the "Discussion Board" or in the next Lab session.