ASSIGNMENTS

ASSIGNMENT 1 - ASSIGNMENT 2 - ASSIGNMENT 3 

The purpose of the homework assignment is to encourage further practice for the topics covered in our book but not covered in class (due to time constraints) and to give you the opportunity to work on more comprehensive exercises than those covered in the book. Rather than giving you homework assignments centered on different topics, I prefer to give you homework assignments that build and refine a single solution. This semester's assignments will focus on solving the needs of a small Real Estate company. 

Here is an overview of the 3 assignments:

Assignment Submitting Standards:

  1. All assignments are due at the beginning of the class period.

  2. Late assignments up to 7 days will be accepted with a 20% penalty.

  3. All assignments should be submitted in a 9x12 manila envelope with the cover letter statement (click for sample) attached (stapled, glued, taped) to the the outside of the envelope.

  4. Printed copy of your source code.
  5. The System Test plan completed and signed including printout of your output (click for sample).
  6. A CD with ALL the source code.

ASSIGNMENT 1: TAX RETURN 1040EZ APPLICATION top

PURPOSE

The purpose of this assignment is to provide you with a comprehensive exercise to practice the following material:

  1. Review your skills from MIS 15

  2. Use event-handling

  3. Use arrays and collections

  4. Use exception handling

  5. Use multiple windows and forms

  6. Write multiple classes

  7. Understand UML Diagrams and translate them into Visual Basic code

  8. Work in pairs to learn from each other

Files Needed:

You need the following files to complete all assignments: f1040ez.pdf, i1040ez.pdf, i1040tt.pdf, Logo.gif

Note: Before you start writing the code for this assignment, you must first complete and submit the paper 1040EZ form which I will provide you.


UML DOCUMENTATION

Class Diagram


SOLUTION DESCRIPTION

PROGRAM FILES: You will build a project named TaxReturn1040EZ which calculates the tax return for taxpayers using Form 1040EZ. It is obvious that you cannot solve a problem that you do not understand. It would be very helpful if you download the tax form (f1040ez.pdf) and the instructions (i1040ez.pdf) from my web site or from the IRS web site (http://www.irs.gov) and review the tax form and its instructions. Before you start programming this assignment, please complete one of the 1040EZ forms manually to understand the process.

Interface Description:

  1. Application consists of a single form, as shown in Figure 1. 

  2. On the bottom of the form, there is Status Strip bar with only one label which displays the information messages to the user. 

  3. All fields with white background are editable while the fields with light blue background are not editable. 

  4. Form uses two command buttons: Calculate (calculates the tax return) and Clear (clears all fields). The Calculate button is disabled until the user enters all required data.

  5. Submit Tax Return command button is disabled (will never be enabled in this version).

  6. Display the image shown on the left of the application window.

  7. Objects with blue labels are group boxes.

  8. Text boxes should have the initial values shown in Figure 1.

  9. Refund Account Information group box is not visible (will be come visible only if there is a refund).

 Figure 1

Implementation Description:

  1. Create the classes shown in the Class Diagram above.
  2. Create the fields (attributes) shown in the Class Diagram above for each class (you can create more fields if it you need).
  3. Create the methods shown in the Class Diagram above for each class. Note that in order for these methods to perform the required calculations, they will need to receive the appropriate data, which you need to pass to these methods).
  4. The Joint Return check boxes are used to calculate the amounts in Line 5. 
  5. If the Joint Return  radio button is "No", the "Spouse" check box is disabled.
  6. List box items in Line 5 are used to calculate the amount for Line 5. Look in page 2 of Form 1040EZ in section "Worksheet for dependents who checked "Yes" on line 5" to understand how this amount is calculated.
  7. To calculate the tax on your taxable income (Line 10), use the table in Schedule X or Schedule Y1 using arrays of arrays (figures below).
  8. "This is your refund"  label text changes to "This is the amount you owe" if you owe tax to IRS.
  9. If you have a refund, the Refund Account Information group box becomes visible (displays).
  10. If you owe money to the IRS, the amount you owe is in red, bold text. If you have a refund, the refund amount is shown in bold black text.
  11. All calculated amounts are formatted as currency.

Edits and Validations

I will demonstrate this application in class and will provide more clarification.


ASSIGNMENT 2: top

PURPOSE

The purpose of this assignment is to provide you with a comprehensive exercise to practice the following material:

Application Interface

Application Implementation

 Figure 3

Edits and Validations:

Program has the following requirements:

  1. Have the main menu described above.

  2. Write your solution to include the classes shown in the class diagram above.

  3. Pay attention to structure, style, and features. 

  4. Ask questions, in class, if you need more explanation on this assignment.

  5. You need to make decisions on how to implement the details of this assignment. 


ASSIGNMENT 3: TBD top

PURPOSE

The purpose of this assignment is to provide you with a comprehensive exercise to practice the following material:

STATE EVENT DESCRIPTION

Application Interface

TBD

TBD

TBD

Edits and Validations:

Program has the following requirements: