Loops

The exam suite consists of six buttons and their resultant patterns as shown below. On the day of the exam, three of these patterns will be chosen for the exam and you will implement two of the three for your exam.

There are no layout managers or panels in this applet. The FlowLayout manager is required.

You will use the your solution for lab 12 as the exam template. You may not disable any of the working buttons in order to implement the new buttons.

The requirements for all of these button/pattern combinations are the same:
- No partial buttons can be drawn
- Overlapping is allowed only in the corners and where multiple lines of monograms intersect as in the "X", the "+", and in the "Hi".


In all matters of "correctness of execution" your program's execution must match that of the sample applet that is available from the course web page. The sample applet will be provided for you during the exam to compare your program's execution to the sample.

Below are the six patterns referred to respectively as: "X", "Plus", "Checkerboard, "Double Frame", "Patches", and "Hi". Note that you will use your monogram in place of the circles shown below.

Check the sample applet here


15-119 Fall 99                                                              Exam 2

Back to 15-119 Exams