This python program must be created using modular programming techniquesonly No

(4 customer reviews)

Original price was: $10.00.Current price is: $5.00.

Download button will appear immediately after successful payment.

Full support will be provided with necessary files installation.

Get impeccable customized solution within 24 hours, hassle-free.

View Details
SKU: 4942 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , ,
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.


This python program must be created using modular programming techniques only. No data structure functions can be used. (Import OS and Date-Time module needs to be used.) Provide explanation


The Department of Health in your state needs a computer program to manage the inventory of PPEs that it receives from multiple suppliers and distribute them to the hospitals that it manages. List of PPE items the department receives are listed in Table 1 below:


a) All items and its details need to be recorded in ppe.txt file. The details for each item should include item code, supplier code, and quantity in stock (measured in the number of boxes). Other relevant details can also be recorded.

– All PPE items are measured in boxes, i.e., they are received, recorded and distributed in boxes.

– Each item is supplied by exactly one supplier. However, one supplier can supply more than one type of item.

– Assume that there should be a minimum of three hospitals in your state.

b) The program should have a feature for the user to update the item quantities every time after receiving from suppliers (increase in quantity) or distributing to the hospitals (decrease in quantity). You should record the details of all the updates in a text file transactions.txt. Details of transactions (i.e. items received and distributed) should include item code, supplier code/Hospital code, quantity received/quantity distributed, and date-time.

c) Details of suppliers need to be stored in suppliers.txt file.

d) When testing the program, you should perform adequate updates on each item. This is to prove whether the feature is correctly functioning.

e) Before distributing any item to hospitals, the program should check for the available quantity in stock. The user needs to be notified if the quantity in stock is insufficient. The program should also indicate the current quantity in stock for the user to retry with the appropriate quantity.

f) The program should have a feature to create hospitals.txt file for storing and updating hospital details. Include the hospital code for each of them. You can only have 3 or 4 hospitals.

g) Record all updates in the transaction txt file. The program should have options to track items and print:

a) Total available quantity of all items sorted in ascending order by item code.

b) Records of all items that have stock quantity less than 25 boxes.

c) Track available quantity for a particular item.

d) Track item received during a specific time period (startDate to endDate)

Important Note:

i. Inventory creation should be done only once and during the very first time the program is executed. The initial quantity of each item needs to be recorded as 100 each in ppe.txt file during this time. The program should prompt for all inputs for creating this file.

ii. You can only have 3 or 4 suppliers. You should not include supplier details in ppe.txt file. Only the supplier code needs to be stored in ppe.txt file.

iii. The program should have a feature to create suppliers.txt file for storing and updating supplier details.

The main program menu should have the following options:

Transaction Menu:

A) Modify (Add, Delete)

B) Print Transaction

C) Search in transaction

Inventory Menu:

A) Modify (Add, Delete)

B) Print the latest inventory

C) Search in inventory

Supplier Menu:

A) Modify (Add, Delete)

B) Print supplier list

C) Search supplier list

Hospital Menu:

A) Modify (Add, Delete)

B) Print Hospital List

C) Search hospital list

4 reviews for This python program must be created using modular programming techniquesonly No

  1. Garfield Fabricius-Davies

    Very impressive work and way ahead of time! Thanks!

  2. Ed Selee

    Fantastic support for every assignment, every time. 5+ Stars!

  3. Amy Lowe

    Excellent job, my friend. Thank You!!

  4. Anthony Rosario

    Everything was completed on time and met my expectations.

Only logged in customers who have purchased this product may leave a review.

You may also like…

Patron Details

Additional information

Your Solution

Cart Subtotal $0.00
Order Total $0.00

  • Pay with your credit card.