User Tools

Site Tools


assignments:a3

Assignment 3

  • Due: July 23, 2016
  • Weight: 10%
  • Where: online
  • Type: Individual OR pairs

Learning objectives

To learn and explore:

  • The implementation and documentation of abstract data types as classes
  • Eiffel programming
  • Design patterns

Short description

TBD

Specification

Solution

NOTES and EXPLANATIONS

  • There is a small error in the spec that is causing lots of confusion. To make it easier, please modify the speeding formula. It says now (3 * gas - 50).
  • Please change it to (3 * gas_max - 50) where gas_max is a maximum of gas that the car can carry. Let's assume that gas_max is always > 15.
  • It is your design decision. Whatever you choose, you have to handle errors.
  • BON without explanation is 1/3 of the mark (no code is required for design questions from part 2)
  • Do not include any code of Cars in your report. Eiffel implementation has to be submitted for Cars, so it is redundant!

PPawluk

assignments/a3.txt · Last modified: 2016/08/06 12:54 by pawluk

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki