You are on page 1of 4

ISDS 3107

Name: Andrew Winn________ Assignment: _4__ Design Steps of the Program Development Life Cycle
Requirements Document
Date Submitted: Application Title:

10/15/2013 Buying a computer To compute the compounding interest of someones savings, given the amount of savings, interest and years, as well as informing if you can afford a $5000 computer. The user should input the amount in savings, the interest on the savings and the number of years the amount has been in savings. The program will calculate the compound interest of the savings, and tell you if you can afford a $5000 computer. 1. The user must be able to enter in amounts in savings, interest and number of years. 2. After the user enters in the information the user clicks the calculate button. 3. The program must display the amount of savings is worth for every year the customer input in savings. 1. The user must be able to clear the information. 2. The user must not be able to input negative or non-numerical data. 3. The user must be able to close the program with a button. 1. The designer must determine the design of the user interface, and the words and graphics used in the user interface.

Purpose:

Program Procedures:

Algorithms, Processing, and Conditions:

Notes and Restrictions: Comments:

Use Case Definition


1. The user opens the application. 2. The user enters the amount in savings, interest gained, and number of years held. 3. The user clicks the calculate button. 4. The program displayed the amount in savings for each year. 5. The user can click the clear button to clear all the data. 6. The user can close the program by clicking the close button or clicked the X in the top right corner.

ISDS 3107

User Interface

ISDS 3107

List of the Controls


Control Type Label Label Label Text Box Text Box Text Box Button Button Button Control Name lblSavings lblInterest lblYears txtSavings txtInterest txtYears btnCalculate btnClear btnClose Description Signifies which text box thee user should enter the amount of savings Signifies which text box the user should enter the interest rate Signifies which text box the user should enter the number of years Holds the initial amount of savings Holds the interest rate of the savings Holds the number of years the user has had the savings When clicked, displays the amount of savings for each year. When clicked, all the information was entered will be cleared. When clicked, the program will close

ISDS 3107

Values of Each Control's Relevant Properties


Control Type Control Name lblSavings Label Label lblInterest Label Text Box Text Box Text Box Button Button Button lblYears txtSavings txtInterest txtYears btnCalculate btnClear btnClose Property Text Text Text Text Text Text Text Text Text Value Amount in Savings Interest Rate Percentage Amount Of Year $X.XX X X Calculate Clear Close

Event Planning Document


Program Name: Computer Savings Object btnCalculate Developer: Object: Date:

Event Trigger Click

Event Processing
decAmount = decSavings * (1 + decInterest) ^ decCount

btnClear

Click

txtSavings.Text = "" txtInterest.Text = "" txtYears.Text = "" txtSavings.Focus() lstResults.Items.Clear()

btnClose

Click

Close()

Event Flowcharts

You might also like