Professional Documents
Culture Documents
Project Case Analysis Tasks4 Sydney
Project Case Analysis Tasks4 Sydney
|
TVL-ICT-ProgrammingCommonwealth high school
Project Case Analysis Tasks
1. Develop and illustrate the program analysis, program design, and program source code
for Coca Cola transaction at Sydney’s Bottlers Company. It should follow the
operational conditions below:
a. When the program is executed it will display the name of the company and the
products of Sydney’s Bottlers Company.
b. Then, it will ask for customer’s name.
c. Then, it will ask to enter the address of customer.
d. It also asks for the discount of the customer.
e. Then, it will ask to enter the quantity of their orders.
f. The program will also compute for the Value Added Tax on the products being sold
g. The program will compute for Amount Due
h. The program will compute for the price of the discount of the customer.
i. The program will compute and display the total cost of products sold.
j. Then, it will ask to enter the payment for the total cost of products sold and display
the change.
k. The system will output the following:
Name of the Company
The products of the Company
The Value Added Tax
The Discount
The Number of Quantity and Total Cost for each products
Amount Due
The Total Cost
Change
2. In program analysis list the inputs and outputs variables of that you will be
incorporating in your program.
3. Refer to the project description for more details.
Performance Criteria
In developing the design, the following criteria must be executed:
|
TVL-ICT-ProgrammingCommonwealth high school
Uses debugger to trace code execution and examine variable contents to detect
and correct errors
Follows guidelines for developing maintainable code adhering to a set of coding
standard
Follows and uses internal documentation standards and tools
Develops and conducts simple tests to confirm the coding process meets design
specification
Documents tests performed
Makes corrections to the code and the documentation as needed
Required Evidences
Problem Analysis, Program Design, Program Source Code.
Collection of Evidences
The collection of evidence for this activity will be done by analyzing and testing the
program code you submitted and checks if the problem analysis and program design is directly
related to the program source code. Questioning shall be conducted to reinforce the collected
evidence during the presentation.
TEST CASE
**************************************************
* Sydney’s Bottlers Company *
**************************************************
Products
Softdrinks Tank P 500.00
Softdrinks 1.5 P 40.00
Softdrinks Litro P 25.00
**************************************************
Customers Name: Mariella Romano
Address: Payatas, Quezon City
Discount: 15
**************************************************
Enter the Quantity for:
Softdrinks Tank 5
Softdrinks 1.5 45
Softdrinks Litro 70
**************************************************
Total
**************************************************
Softdrinks Tank 5 2500
Softdrinks 1.5 45 1800
Softdrinks Litro 70 1750
**************************************************
Amount Due: 6050
**************************************************
Add VAT (12%) 726
**************************************************
Less Discount: 907.5
**************************************************
Total Cost 5868.5
**************************************************
Payment 6000
**************************************************
Change: 131.5
***************************************************
|
TVL-ICT-ProgrammingCommonwealth high school
Project Description
Sydney’s Bottlers Company
|
TVL-ICT-ProgrammingCommonwealth high school
Table of Contents
|
TVL-ICT-ProgrammingCommonwealth high school
I. Overview of the project
Sydney’s Bottlers Company is managing the point of sale of their store. They are
computing for the sale of individual customers. To facilitate the computation a
computer program needs to be designed.
A. Environment
The application is designed for console (DOS Mode).
B. User
The application is designed for a single user.
C. Policies
Products
Sydney’s Bottlers Company has the following products, and the price of each
product.
Tax
The products have a 12% value added tax to the amount due
Discount
The company also give discount to the customers.
Change Computation
The change is computed simply by finding the difference of payment
and total cost. Note: payment must be higher than total cost
computation.
|
TVL-ICT-ProgrammingCommonwealth high school
D. System Operation
1. Inputs
The system will require the following inputs from the user:
a. Name of Customer
b. Address of Customer
c. The quantity of each product being bought by the customer
d. Payment
2. Process
After the above information has been entered the system will utilize to
compute for the total cost of each product being bought, amount due,
discount, value added tax, total cost, and change.
|
TVL-ICT-ProgrammingCommonwealth high school