Design Steps of the Programming Process



Name: __Chance Wahl_________ Assignment: _3_Section 1 Fall 2013 Design Steps of the Program Development Life Cycle Requirements DocumentDate Submitted:September 24, 2013Application Title:Convert CurrencyPurpose:The Convert Currency Windows application will display the value of U.S. dollars in euros, English pounds, and Mexican pesos.Program Procedures:From a window on the screen, the user should enter the number of U.S. dollars to be converted. The program will display the equivalent value in euros, British pounds, and Mexican pesos.Algorithms, Processing, and Conditions:The user must be able to enter the amount of U.S. dollars to be converted.After entering the number of U.S. dollars to be converted, the user clicks the Convert Currency button.The program converts the number of U.S. dollars entered into the equivalent number of euros, pounds, and pesos. The program displays all 3 currencies together with the U.S. dollars.To find the conversion rates, I, the developer, consulted the internet to find the proper conversion rates.Because the currency rates change dynamically, the user should enter both the date and time that the conversion rates were applied. The date and time should be displayed in U.S. format. The user should be able to clear the date and time, the number of U.S. dollars entered, and the results of the calculations, and then enter new values.Notes and Restrictions:The user should be able to click an exit button to close the ments:The designer must determine the design of the user interface, and the words and graphics used in the user interface.Use Case Definition- User opens program- User enters in amount of dollars to be converted.- User enters the date and time and which conversion rates to be applied.- The program converts the number of US dollars entered into the equivalent number of euros, English pounds and Mexican Pesos at the desired date and time.- User clears conversion results and can convert a different dollar amount into a different form of currency if they so choose.- User closes program by clicking ‘x’ in top right corner or by clicking Exit.User InterfaceList of the ControlsControl TypeControl NameDescriptionFormfrmConvertCurrencyProgram run to convert US dollars into foreign currenciesLabellblUSDollarsTells user where to input dollar amountLabellblEurosTells user this is the dollar to Euros conversion displaysLabellblMexicanPesosTells user where the dollar to Pesos conversion displaysLabellblEnglishPoundsTells user this is the dollar to Pounds conversion displaysLabellblDateTells user this is where to input date of conversionLabellblTimeTells user this is where to input time of conversionGroupBoxgrpChooseCurrencyChoose which currency you are converting to from list belowTextBoxtxtUSDollarWhere user inputs dollar amount to be convertedTextBoxtxtEuroWhere Euros are converted toTextBoxtxtPoundWhere Pounds are converted toTextBoxtxtPesoWhere Pesos are converted toButtonbtnConvertConverts dollar amount to Peso, Pound, and Euro amount ButtonbtnClearClears text properties of all text boxes and returns cursor to the dollar conversion boxButtonbtnExitCloses the formRadioButtonradEuroHighlight to convert US dollar amount to Euros after convertRadioButtonradPesoHighlight to convert US dollar amount to Pesos after convertRadioButtonradPoundHighlight to convert US dollar amount to Pounds after convertEvent Planning DocumentProgram Name:Developer:Object:Date:ObjectEvent TriggerEvent ProcessingbtnConvertClickALT + CConvert txtUSDollar to number by multiplying dollar amount by .75 to get Euros, .64 to get Pounds,and 13 to get PesosDisplay results of conversions in txtEuro, txtPeso, and txtPoundbtnClearClickALT + EClear text property of txtUSDollar, txtEuro, txtPeso, and txtPoundMove cursor to txtUSDollarbtnExitClickALT + XClose formfrmConvertCurrencyLoadSet focus on text box where you determine amount of U.S. currency to convert.radPesoClickSets US dollar conversion to only convert to Pesos currencyradEuroClickSets US dollar conversion to only convert to Euros currencyradPoundClickSets US dollar conversion to only convert to Pounds currencyValues of Each Control's Relevant PropertiesControl TypeControl NamePropertyValueFormfrmConvertCurrencyTextAccept ButtonClear ButtonCancel Button“Chance’s Convert Currency”“btnConvert”“btnClear”“btnExit”LabellblInstructionsText“Enter the Dimensions of your pool to calculate cost.”LabellblLengthText“Length”LabellblWidthText“Width”LabellblDepthText“Depth”LabellblPoolVolumeText“Pool Volume”LabellblRatePerFootText“Rate per cubic foot”LabellblFixedFeeText“One Time Fixed Fee”LabellblTotalCostText“Total Cost”LabellblTotalVolumeBorder StyleFixed 3DLabellblRateCentsText“$X.XX”LabellblFeePriceText“$XXX”LabellblTotalCostNumberBorder StyleFixed 3DText BoxtxtLengthBorder StyleFixed 3DText BoxtxtWidthBorder StyleFixed 3DText BoxtxtDepthBorder StyleFixed 3DButtonbtnConvertText“&Convert”ButtonbtnClearText“Cl&ear”ButtonbtnExitText“E&xit”Event Flowchart ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download