Question: Program: ship _ planner.py For this exam, you will need to write a program that can keep track of the composition of a container ship

Program: ship_planner.py
For this exam, you will need to write a program that can keep track of the composition of a container
ship and its cargo. Your program will compute the speed and draught of potential container ship
configurations. You will need to write two classes to represent the container ship, the containers that
carry the cargo.
Class: Container
An intermodal container or shipping container is a standardized container design that can be used
across different modes of transport, from ship to rail to truck, without unloading and reloading their
cargo. A container can come in two standard sizes: 1 TEU and 2 TEU. The container class should store
information about the specifications of each container: size and cargo type.
Size The size of the container: 1 TEU or 2 TEU
Cargo Type The type of cargo being carried:
o Frozen Food FF
o Consumer Goods CG
o Processed Goods PG
o Raw Materials RM
o Industrial Equipment IE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!