Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please code in python 37 N N N N Y N N N N N Y Y Y Y 30 Normal 25 Small 21 Normal

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Please code in python

37 N N N N Y N N N N N Y Y Y Y 30 Normal 25 Small 21 Normal 33 Normal 30 Small 12 Small 7 Very Sma 6 Very Smal 25 Normal 5 Very Sma 5 Small 6 Very Sma 7 Small 9 Normal 22 Normal 23 Normal 30 Normal 54 Big N N N N William James Harper Mason Ella Oliver Harry Noah Jacob Leo Olivia Adam Oscar Ava Indie Levi Ackley Charlotte Zara Asha Alice Gracie Ruby Esme Anita Anshu Vishal N N N N Y N N N Y N N Y N N N N N Y N N N N Y 44 Big 58 Big N N N N N N N 36.8 Y 36.2 Y 36.1 N 38 N 39 Y 38.5 N 36.1 N 36 N 38.5 Y 36 N 37 Y 36.8 N 36.2 Y 36.1 N 38 N 39 N 38.5 N 36.1 N 36 N 38.5 Y 36 Y 37 N 37.5 Y 36.4 N 36.2 N 38 Y 37.5 N 37.6 N 37.2 N 36.4 N 36.3 Y 38 Y 39 Y 37.5 Y 36.9 Y 36.8 N 36 N 35.9 N 36 N 36.2 N 38 Y 39 N 39.2 N 38 Y 39 Y 37.5 N N N N Raj Y 25 Normal 36 Big 22 Small 26 Normal 27 Normal 7 Small 7 Normal 28 Small 32 Big 30 Normal 31 Normal 5 Very Smal 33 Normal 21 Small 10 Very Smal 12 Very Smal 15 Small 22 Small 38 Normal 41 Big 29 Normal 46 Big 13 Small 48 Big 16 Normal 9 Very Sma 7 Small N N N N Y N N Ankush Aryan Vikram Varun Isha Adrian Alan Aleksa Luca Armani Romeo Gianna Angelica Benedett Bianca Carlotta Claudia Elana Mark N N N N N N N N N N N Y Y N N N N N N N Y N Y Y N N N N N N Y Y N N Y THE PROBLEM COVID-19 Vaccination Corona Virus Pandemic situation is not hidden from anyone in the world. The situation is coming into control after the release of Covid-19 Vaccine. Let us assume that the Airport is allowing the passengers who are Covid-19 positive after providing the Vaccination before travel to be able to safeguard the passengers who are travelling to national and International destinations. The Vaccination is limited and should be only given to the patients who are positive. To be able to check if the patients are positive you will have to check the following conditions: The main things to be checked are high fever and other symptoms (dry cough, sour throat and respiratory problems). In this assignment we will design a program to check the symptoms of people entering the airport and hence decide if they need Vaccination before travel or not. In addition to the above mentioned problem we have Airport Conveyer belts problem. Airport Conveyer belts are an integral part of the luggage management system on any Airport. The identification of over-sized and undersized luggage is mostly done manually and not fully automated. We will simulate and automate the process of airport conveyer belt in this assignment. The attached input data file "Assignment_data_input.csv"contains the information about the passenger's temperature readings and other Covid-19 symptoms. Using that data identify the passengers who should get Vaccination and who should not. Only the passengers with positive Covid-19 will get the vaccination. The first check should be done for the temperature and if the temperature is above the normal temperature then the other symptoms should be checked. If the temperature is normal then we do not need to check for other symptoms and passengers should be allowed to travel without the Vaccine. The normal temperature should be in the range of 36 Celsius to 37 Celsius. Any temperature above this range should be considered doubtful and hence other symptoms should be checked. Once the temperature check is done then the other three symptoms (Dry Cough, Sour throat and respiratory problems) should be checked. For the conformation of Corona virus, the two symptoms should be yes from the three symptoms mentioned above otherwise the passenger is safe to travel and no vaccination is required. After classifying the passengers the affected passenger's data should be put in a different output file so that the Vaccination is provided to them. (We will assume that the patients are recovered instantly after the vaccination and allowed to travel- this is a hypothetical situation) For full marks on this task, you need to output the correct number of passengers who have Covid-19 symptoms and need Vaccination in the Vaccine.csv file. Note: You can do the coding using Vim on terminal or Juexter notebook. Note: You can use procedural programming or Object Orientation programming for this task (both are acceptable). However for the next task it is mandatory to use the OO programming. 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: a. 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) b. 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) C. 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) d. 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 taski and 4 from task 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Solve the initial-value problem. xy' y = x ln x, y(1) = 2

Answered: 1 week ago