Uploaded by MAXWELL TETTEH

Practical Assignment

advertisement
ICTE 243 – PRACTICAL ASSIGNMENT
CODE SUBMISSION DATE: BEFORE 00:00HRS 04/05/2020
Compress the Solution Folder and upload on Google Classroom.
Question 1: REQUIREMENTS DOCUMENT
Application title: Cash Register
Purpose: The Cash Register Windows application will compute the tax and the final
cost of a purchased item.
Program Procedures: From a window on the screen, the user enters the item name
and amount of the item purchased. The program calculates the tax for the item and
the final total, and then displays these values.
Algorithms, Processing, and Conditions:
1. The user must be able to enter the name of the item purchased and the cost
of the item before tax.
2. The store name and store picture will be displayed throughout the entire
process.
3. After the user enters the item name and the cost of the item, the user clicks
the Display Cost button.
4. The program displays the item name with the cost, tax, and final total.
5. The cost, tax, and final total should appear in currency format.
6. The tax rate for all items is 7.75%.
7. The final total is calculated by adding the cost and the tax.
Notes and Restrictions:
1. The user can clear the item name, cost, tax, and final total with a clear button.
2. The user can click an exit button to close the application.
Comments:
The store picture shown in the window should be selected from the pictures available
on the Web.
ICTE 243 – PRACTICAL ASSIGNMENT
CODE SUBMISSION DATE: BEFORE 00:00HRS 04/05/2020
Compress the Solution Folder and upload on Google Classroom.
Question 2: REQUIREMENTS DOCUMENT
Application title: Health Club Membership
Purpose: This Windows application calculates the prepayment amount for a new
member of a health club.
Program Procedures: The user should enter the name of the new member, the
number of months the new user would like to prepay, and the type of membership.
The health club prepayment cost will be computed and displayed for the entered
number of months. The per month costs for the three types of membership are:
Single Membership Gh¢38 per month
Family Membership Gh¢58 per month
Senior Membership Gh¢27 per month
Algorithms, Processing, and Conditions:
1. The user must enter the name of the new member, the type of membership,
and the number of months the new member would like to prepay.
2. Based on the type of membership, the prepayment cost is calculated using the
following formula: number of prepay months 3 cost per month.
3. The user must be able to initiate the calculation and display the prepay
amount for the health club membership.
4. The user should be able to clear the name of the new member, the number of
prepay months, the type of membership, and the prepay amount for the new
member.
Notes and Restrictions:
1. If the user enters a nonnumeric value for the number of months, the user
should be advised and asked for a valid entry.
2. If the user enters a negative number for the number of months or if the user
leaves the number of months input area blank, the user should be advised and
asked for a valid entry.
3. If the user leaves the input area for the user name blank, the user should be
advised and asked for a valid entry.
The default membership type is single membership.
Download