Quiz Space

MLP Quiz 1: 27 October 2024 (September 2024 term)

Question 1

+2 marksOne correct option
python
>>> import pandas as pd
>>> df = pd.read_csv('dataset.csv')
>>> print(df)
FlightIDAirlineFlightNumberOriginDestinationDelayMinutesDelayReasonCancelledDivertedAircraftTypeTailNumberDistance
01United4558ORDMIA8WeatherTrueFalseBoeing 737N710661031
12Delta8021LAXMIA2Air Traffic ControlTrueTrueAirbus A320N226571006
23Southwest7520DFWSFO14WeatherTrueTrueBoeing 737N956112980
34Delta2046ORDBOS-10NaNFalseFalseBoeing 777N900291408
45Delta6049LAXSEA24Air Traffic ControlFalseTrueBoeing 737N274172298
56Southwest6311LAXJFK-5NaNFalseFalseBoeing 777N926521386
67Southwest4188ORDJFK7WeatherFalseTrueBoeing 777N253821674
78Southwest3179DFWMIA24WeatherFalseTrueBoeing 777N654102931
89American Airlines3613ORDMIA2WeatherFalseFalseAirbus A320N455702337
910Southwest2186LAXBOS25MaintenanceTrueFalseBoeing 777N15724605
1011American Airlines9317JFKMIA-6NaNTrueTrueAirbus A320N549052848
1112American Airlines5251DFWBOS30WeatherFalseFalseAirbus A320N94983131

Based on the above data, answer the given subquestions.

Which option will give the total count of canceled flights in the dataset?

  1. A
  2. B
  3. C
  4. D

Question 2

+2 marksOne correct option
python
>>> import pandas as pd
>>> df = pd.read_csv('dataset.csv')
>>> print(df)
FlightIDAirlineFlightNumberOriginDestinationDelayMinutesDelayReasonCancelledDivertedAircraftTypeTailNumberDistance
01United4558ORDMIA8WeatherTrueFalseBoeing 737N710661031
12Delta8021LAXMIA2Air Traffic ControlTrueTrueAirbus A320N226571006
23Southwest7520DFWSFO14WeatherTrueTrueBoeing 737N956112980
34Delta2046ORDBOS-10NaNFalseFalseBoeing 777N900291408
45Delta6049LAXSEA24Air Traffic ControlFalseTrueBoeing 737N274172298
56Southwest6311LAXJFK-5NaNFalseFalseBoeing 777N926521386
67Southwest4188ORDJFK7WeatherFalseTrueBoeing 777N253821674
78Southwest3179DFWMIA24WeatherFalseTrueBoeing 777N654102931
89American Airlines3613ORDMIA2WeatherFalseFalseAirbus A320N455702337
910Southwest2186LAXBOS25MaintenanceTrueFalseBoeing 777N15724605
1011American Airlines9317JFKMIA-6NaNTrueTrueAirbus A320N549052848
1112American Airlines5251DFWBOS30WeatherFalseFalseAirbus A320N94983131

Based on the above data, answer the given subquestions.

Which of the following code snippets will add a new column ’OnTime’ that shows True if the flight was not delayed, else False?

  1. A
  2. B
  3. C
  4. D

Question 3

+3 marksOne or more correct options
python
>>> import pandas as pd
>>> df = pd.read_csv('dataset.csv')
>>> print(df)
FlightIDAirlineFlightNumberOriginDestinationDelayMinutesDelayReasonCancelledDivertedAircraftTypeTailNumberDistance
01United4558ORDMIA8WeatherTrueFalseBoeing 737N710661031
12Delta8021LAXMIA2Air Traffic ControlTrueTrueAirbus A320N226571006
23Southwest7520DFWSFO14WeatherTrueTrueBoeing 737N956112980
34Delta2046ORDBOS-10NaNFalseFalseBoeing 777N900291408
45Delta6049LAXSEA24Air Traffic ControlFalseTrueBoeing 737N274172298
56Southwest6311LAXJFK-5NaNFalseFalseBoeing 777N926521386
67Southwest4188ORDJFK7WeatherFalseTrueBoeing 777N253821674
78Southwest3179DFWMIA24WeatherFalseTrueBoeing 777N654102931
89American Airlines3613ORDMIA2WeatherFalseFalseAirbus A320N455702337
910Southwest2186LAXBOS25MaintenanceTrueFalseBoeing 777N15724605
1011American Airlines9317JFKMIA-6NaNTrueTrueAirbus A320N549052848
1112American Airlines5251DFWBOS30WeatherFalseFalseAirbus A320N94983131

Based on the above data, answer the given subquestions.

How can you filter the flights that have a delay due to ’Weather’?

Select all that apply.

  1. A
  2. B
  3. C
  4. D

19 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the MLP Quiz 1 27 Oct 2024 paper

The IIT Madras BS Machine Learning Practice (MLP) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term: 22 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureMLP Quiz 1 27 Oct 2024 at a glance
TermSeptember 2024 term
SubjectMachine Learning Practice
Course codeBSCS2008
Questions22
Marks50
Duration120 min
MCQ16
MSQ6
Official paperIIT M DIPLOMA AN EXAM QDD2 27 Oct 2024
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More MLP