{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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 add( int anAmount ) that adds
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern