Sample Assignment 2
Here is a sample beverage container that you can use as a reference for the assignment: SampleGlass.CATPart. Pay attention to the Driving Parameters and how these are used in formulas in Relations. This may seem a bit daunting at first but once you disassemble the logic it is not so hard.
The 3 driving parameters are:
- Crime - More crime = greater need to use your glass to defend yourself in bar-fights.
- Hills - Some areas are really hilly and here the glass needs to compensate for surface slope.
- Posh - Different areas have different taste of drink; the posher areas go for martinis whereas the less posh areas go for beer.
Setting the parameters according to the above diagram gives us the following variants:
(The final image shows [Crime=4, Hills=0, Posh=7])
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() |








