Skip to content

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 weight

  • totalCharge – 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

  1. Complete your flowchart in Flowgorithm
  2. Export the flowchart as an image and save it as: lab-test-1.png
  3. Export the Python source code and save it as: lab-test-1.py
  4. Upload both files to the Google Form for your class:
  5. 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!

Released under the MIT License. All rights reserved.