Search Header Logo

Quiz 4 R Training March 2024 (Flights data)

Authored by Rusho Rocks

others

Professional Development

Used 1+ times

Quiz 4  R Training March 2024 (Flights data)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which airline carrier has the highest number of flight information in this "flights" data? (Hint: Essentially you would like to find the total number of flight information in each row for each airline carrier. Therefore a "group_by(carrier)" will be needed in your code. To count the number of observations you can use "n()". To find the carrier name from the two digit codes, type "airlines" in console and press enter. You will find the name of the corresponding airline carrier from two digit code.)

JetBlue Airways
United Airlines
American Airlines
US Airways Inc.
None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following airlines carrier has the longest arrival delay on the average ? (Hint: You will have to find the mean value of arrival delay variable. Please note that if any variable contains missing variable then simply mean(arr_delay) will not work. You will have to remove the missing values first with "mean(arr_delay, na.rm=T)". Note the use of additional argument "na.rm". It means "na" which stands for "missing" data and these data are removed ("rm"). This is also true for other summary functions such as max, min, median etc )

Hawaiian Airlines Inc.
Delta Air Lines Inc.
US Airways Inc.
Frontier Airlines Inc.
None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Suppose we are trying to find those flight information where planes arrived at least 10 minutes late but departed on time or earlier. To which carrier these type flight information most belong? (Hint: You need to first filter out the data and then summarize with n( ) ) )

Delta Airways
American Airlines
US Airways Inc.
JetBlue Airways
None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which airline carrier has covered the 3rd most distance on the average? (Hint: use "distance" variable)

JetBlue Airways
Delta Air Lines Inc.
Alaska Airlines Inc.
Hawaiian Airlines Inc.
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which plane identified by the tail number of the plane recorded the highest air time? (Hint: you need to use the "tailnum" variable along with "air_time" variable.)

N66077
N77066
M77066
N70766
None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?