HW3 - CIS318/GCIS518 Software Architecture Homework 3 Due...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS318/GCIS518 Software Architecture Homework 3 Due Date: January 26, 2010 This is for you to practice and apply software design principle concepts on software applications. 1. Based on the CommandLineCalculator program that we discussed in class 1.1 Please redesign and modify the CommandLineCalculator.java program you submitted last time to make it flexible , reusable and efficient . You need to follow the documentation principles that we discussed in class – more specifically, you need to provide preconditions , postconditions , invariants , return , known issues and comments . 1.2 Explain why your program is more flexible , reusable and efficient . Provide an example that shows how your new design can be reused in other applications and how functionalities can be easily modified. 2. Suppose that you are building a class Account . Suppose that the class has a boolean variable open , as well as an int variable balance that is to be in the range -1,000 to 1,000. Suppose that you want to implement a method
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/17/2012 for the course GCIS 518 taught by Professor Tang during the Spring '10 term at Gannon.

Page1 / 2

HW3 - CIS318/GCIS518 Software Architecture Homework 3 Due...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online