Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Airport Conveyer Belt: After the Vaccination process is over, all the passengers are allowed to travel. The attached input file contains the data about the

image text in transcribed

Airport Conveyer Belt: After the Vaccination process is over, all the passengers are allowed to travel. The attached input file contains the data about the luggage of passengers. Depending upon the weight and dimensions of the luggage, it should be classified into under-weight, appropriate weight and over-weight luggage. You need to check for the weight and dimensions for the luggage. The luggage is divided into four categories in the attached Assignment_date_input.csv file. The categories are Very Small, Small, Normal :

and Big. For the ease of programming the actual dimensions have been avoided. After the identification of luggage it should go to the appropriate belts as described below:

  1. C1 (Conveyer belt for under-weight luggage)

(Assumption: We assume that the under-weight category is less than 30 Kgs and the dimensions of the allowed luggage can be small and normal)

  1. C2 (Conveyer belt for appropriate-weight luggage)

(Assumption: We assume that the appropriate -weight category is equal to 30 Kgs and the dimensions of the allowed luggage can be small and normal)

  1. C3 (Conveyer belt for over-weight luggage)

(Assumption: We assume that the over -weight category is greater than 30 Kgs and the dimensions of the allowed luggage can be normal and big)

  1. Identified as CL (Cabin Luggage)

(Assumption: We assume that the Cabin Luggage category is less than equal to 7 Kgs and the dimensions of the allowed luggage can be very small only)

You will have to figure out where should the luggage go and then display where the luggage finally is. You should have 4 output files for the 4 categories mentioned above. Design a menu from where we can go to any of the output file and see the data (which luggage went to which belt along with the other related data of the passenger).

For full marks in this section you should have the correct number of luggage items in each output file. The four output files of the task 2 should be in .csv format.

Note: You can do the coding using Vim on terminal or Jupyter notebook. For this task you should use classes and objects (eg: passenger and luggage objects) and Object oriented programming concepts.

.You can have two different code files for two different tasks.

There should be 5 output files from two tasks mentioned above- one from task1 and 4 from task 2.

First Name Luggage weight Luggage dimensions temperature dry cough sore throat respiratory problems William 30 Normal 37 N N N James 25 Small 36.8 Y N N Harper 21 Normal 36.2 Y N N Mason 33 Normal 36.1 N Y N Ella 30 Small 38 N Y N Oliver 12 Small 39 Y Y N Harry 7 Very Small 38.5 N Y Y Noah 6 Very Small 36.1 N N N Jacob 25 Normal 36 N N N Leo 5 Very Small 38.5 Y N Y Olivia 5 Small 36 N N N Adam 6 Very Small 37 Y N N Oscar 7 Small 36.8 N N N Ava 9 Normal 36.2 Y N N Indie 22 Normal 36.1 N N N Levi 23 Normal 38 N Y Y Ackley 30 Normal 39 N N N Charlotte 54 Big 38.5 N N N Zara 44 Big 36.1 N N N Asha 58 Big 36 N Y N Alice 25 Normal 38.5 Y N Y Gracie 36 Big 36 Y N N Ruby 22 Small 37 N N N Esme 26 Normal 37.5 Y N N Anita 27 Normal 36.4 N N N Anshu 7 Small 36.2 N N N Vishal 7 Normal 38 Y N N Raj 28 Small 37.5 N Y N Ankush 32 Big 37.6 N N N Aryan 30 Normal 37.2 N N N Vikram 31 Normal 36.4 N N N Varun 5 Very Small 36.3 Y N Isha 33 Normal 38 Y Y N First Name Luggage weight Luggage dimensions temperature dry cough sore throat respiratory problems William 30 Normal 37 N N N James 25 Small 36.8 Y N N Harper 21 Normal 36.2 Y N N Mason 33 Normal 36.1 N Y N Ella 30 Small 38 N Y N Oliver 12 Small 39 Y Y N Harry 7 Very Small 38.5 N Y Y Noah 6 Very Small 36.1 N N N Jacob 25 Normal 36 N N N Leo 5 Very Small 38.5 Y N Y Olivia 5 Small 36 N N N Adam 6 Very Small 37 Y N N Oscar 7 Small 36.8 N N N Ava 9 Normal 36.2 Y N N Indie 22 Normal 36.1 N N N Levi 23 Normal 38 N Y Y Ackley 30 Normal 39 N N N Charlotte 54 Big 38.5 N N N Zara 44 Big 36.1 N N N Asha 58 Big 36 N Y N Alice 25 Normal 38.5 Y N Y Gracie 36 Big 36 Y N N Ruby 22 Small 37 N N N Esme 26 Normal 37.5 Y N N Anita 27 Normal 36.4 N N N Anshu 7 Small 36.2 N N N Vishal 7 Normal 38 Y N N Raj 28 Small 37.5 N Y N Ankush 32 Big 37.6 N N N Aryan 30 Normal 37.2 N N N Vikram 31 Normal 36.4 N N N Varun 5 Very Small 36.3 Y N Isha 33 Normal 38 Y Y N

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions