Exercise 11.1
Review the new version of the fraction class and its unit
tests.
- What changes to you see in the fraction class?
- How do you run the unit tests?
- How does the GUI look?
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.
- Display its widgets in an effective manner.
- Connect the button-pushing event to a call-back handler
method.
- Display the simplified fraction in the output label.
- Add a message field to show exceptions.
Exercise 11.4
Explain the importance of “Model-View” separation.