Exercise 11.1

Review the new version of the fraction class and its unit tests.

Exercise 11.2

How would you like the simplify-fraction graphical interface to appear? Draw a mock-up on paper.

Exercise 11.3

Upgrade the fraction simplifier GUI as follows.

  1. Display its widgets in an effective manner.
  2. Connect the button-pushing event to a call-back handler method.
  3. Display the simplified fraction in the output label.
  4. Add a message field to show exceptions.

Exercise 11.4

Explain the importance of “Model-View” separation.