Lab Test 1
Instructions
Time Limit: 45 minutes
Software Required: Flowgorithm
Submission: Export flowchart as image and Python file, then upload both to Google Form
Parcel Delivery Charge Question
A parcel delivery company charges customers based on the parcel weight. The payment rate is as follows:
First 5 kg → RM 8 per kg
Additional kg → RM 6 per kg
If the total charge exceeds RM 60, a RM 10 handling fee is added
Write a flowchart in Flowgorithm that receives the parcel weight in kg (a whole number), then calculates and displays the parcel weight and the final total charge.
Inputs (in order):
weight– parcel weight in kg (a whole number)
Outputs (in order):
weight– the parcel weighttotalCharge– the final total charge
Save the PNG image as lab-test-1.png and the Python file as lab-test-1.py.
Rubric
You can see the marking rubric here
Rules
- No phones or AI tools allowed
- No collaboration with other students
- Must use Flowgorithm software only
Submission Process
- Complete your flowchart in Flowgorithm
- Export the flowchart as an image and save it as:
lab-test-1.png - Export the Python source code and save it as:
lab-test-1.py - Upload both files to the Google Form for your class:
- C01: Google Form
- C02: Google Form
- C03: Google Form
- Fill in all required information in the form
What to Submit
- Flowchart image file named
lab-test-1 - Python file named
lab-test-1.py - Both files must have the same name, only the file type is different
- Ensure all symbols are clearly visible
Good luck!