Description
DeVry BIS 311 Week 2 iLab Latest
iLAB OVERVIEW
Scenario/Summary
In this iLab assignment, you will create a Visual Basic application that implements a loan payment calculator, based on the business requirements, TOE chart, and pseudocode shown below.
Payment Calculator Business Requirements
The application will accept as inputs a loan amount, an annual interest rate, and the number of years for the loan. The application will calculate the monthly payment amount for the loan. As output, the application will display to the user the monthly payment amount formatted as currency with a dollar sign and cents.
Payment Calculator TOE Chart
Task | Object | Event |
Get the following inputs from the user. | ||
Loan amount | txtLoanAmount | |
Annual interest rate | txtAnnualRate | |
Number of years | txtYears | |
Perform the following processing. | ||
Calculate the monthly payment using the Pmt function | btnCalcPayment | Click |
Display the following output to the user. | ||
Monthly payment formatted as currency with $ and cents | lblMonthlyPayment |
Pseudocode for Payment Calculator Application
Start
Declare numeric variables for
Loan amount
Annual rate
Years of loan
Monthly payment
Get inputs:
Loan amount
Annual rate
Years of loan
Calculate Monthly payment =-PMT(Annual rate /12,Years of loan *12,Loan amount)
Display Monthly payment formatted as currency with $ and cents
Stop
Deliverables
Submit a Word document named Lab2YourFirstLastName.docx(where YourFirstLastName = your first and last name; e.g., Lab2JohnSmith.docx) containing the following.
- Screenshot of the form showing the application running, with correct input and output values displayed in the form
- Copy of button-click event code
Category | Points | % | Description |
Create and rename form | 10 | 20% | A Windows form was created and named PaymentCalculator.vb. The form text property was set to Lab 2 Your Name(whereYour Name = your full name). |
Add controls to form | 10 | 20% | The following controls were added to the form: identifying labels and text boxes for entry of loan amount, annual rate, and years of loan; Calculate Payment button; and label for display of payment amount. Controls are arranged on the form in a logical and visually pleasing layout. |
Set properties (name and text) for controls | 10 | 20% | Name and text properties of all controls were set appropriately, with no typos or spelling errors. |
Code button-click event | 10 | 20% | Button-click event code was entered that corresponds to the given pseudocode, with no syntax errors. |
Test-run application successfully | 10 | 20% | The application is shown running successfully with no errors, with valid inputs and correct output displayed in the form. |
Total | 50 | 100% |
Required Software
Microsoft Visual Studio 2012
Access the software at.devry.edu/”>https://lab.devry.edu.
ILAB STEPS
STEP 1: Launch Visual Studio
.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/BIS311_W2_iLab.html#top”>Back to Top
Log in to the Citrix iLab site as you did in the previous week’s iLab. The Microsoft Visual Studio 2012 icon should already be displayed on your Citrix main menu page. Click the Microsoft Visual Studio 2012 icon to launch Visual Studio.
You should see a screen similar to the following.
STEP 2: Create Project
.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/BIS311_W2_iLab.html#top”>Back to Top
(a) Pull down the File menu and select New Project . . . .
(b) In the New Project dialog, ensure that in the left column, under Templates, Visual Basic is selected; and that in the center column, Windows Form Application is selected. In the Name field at the bottom of the dialog, enter PaymentCalculator. Click OK.
(c) A project with a blank form should be displayed, as shown below.
STEP 3: Rename Form
.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/BIS311_W2_iLab.html#top”>Back to Top
(a) In the Solution Explorer pane on the right side of the screen, right-click on Form1.vb, select Rename, and change the name toPaymentCalculator.vb. Press Enter after entering the new form name.
(b) Click on the form in the center Design pane to select it. In the Properties pane at the bottom right of the screen, change the Text property of the form to Lab 2 Your Name where Your Name = your full name. Remember, you may need to scroll in the Properties pane to find the Text property.
TEP 4: Add Controls to Form
.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/BIS311_W2_iLab.html#top”>Back to Top
(a) Check that the Toolbox is displayed at the left side of the screen. If it is not, click the Toolbox tab at the center left edge of the screen to expand the Toolbox, and click the pushpin symbol at the right side of the Toolbox title bar to pin it open.
(b) If necessary, click the Common Controls heading in the Toolbox to expand it. Drag four Label controls, three TextBox controls, and one Button control from the Common Controls area of the Toolbox onto the form, and arrange them on the form as shown below.
(d) If you received an error message, or if your application did not work correctly, apply the methods for finding and fixing programming errors described in the reading assignment to debug your application. Post in the Q & A Forum or contact your professor for assistance if needed.
(e) When your application runs and works correctly, capture a screenshot of the form showing the input and output values given above. Remember, use Ctrl Alt PrintScreen to capture a screenshot. Paste your screenshot image into a Word document. Select and copy your code for the button-click event and also paste this into the Word document. Save the Word document as Lab2YourFirstLastName.docx (whereYourFirstLastName = your first and last name; e.g., JohnSmith) and submit it to the appropriate Dropbo
DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for DeVry BIS 311 Week 2 iLab Latest, then contact us through call or live chat.
DeVry BIS 311 Week 2 iLab Latest