Quiz 4  R Training March 2024 (Flights data)

Quiz 4 R Training March 2024 (Flights data)

Professional Development

5 Qs

quiz-placeholder

Similar activities

MarkFest 2022-2023

MarkFest 2022-2023

Professional Development

10 Qs

STAAR Wars: Mission 1

STAAR Wars: Mission 1

Professional Development

4 Qs

History Interactive - Set 3

History Interactive - Set 3

Professional Development

5 Qs

Grade 3 Lesson 3 Review

Grade 3 Lesson 3 Review

Professional Development

10 Qs

[SME18] ASSESSMENT 7-STEP PROBLEM SOLVING

[SME18] ASSESSMENT 7-STEP PROBLEM SOLVING

Professional Development

10 Qs

Simple present E4: Forms

Simple present E4: Forms

Professional Development

10 Qs

Level 5 - Crypto Quiz 2 of 2

Level 5 - Crypto Quiz 2 of 2

Professional Development

10 Qs

C1. Entertainment_2

C1. Entertainment_2

Professional Development

10 Qs

Quiz 4  R Training March 2024 (Flights data)

Quiz 4 R Training March 2024 (Flights data)

Assessment

Quiz

others

Professional Development

Medium

Created by

Rusho Rocks

Used 1+ times

FREE Resource

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