Home / My courses / GFE0007 / Course assessments / Quiz 2 10% 9.5.2023 3-4PM
Started on Tuesday, 9 May 2023, 3:30 PM
State Finished
Completed on Tuesday, 9 May 2023, 3:34 PM
Time taken 3 mins 53 secs
Grade 10.00 out of 10.00 (100%)
Question 1 What does the library() function in R do?
Correct
Mark 1.00 out of A. deletes a package or library
1.00
B. creates a new library or package
C. lists all packages or libraries currently loaded in the R session
D. loads a package or library of functions into the R session
The correct answer is: loads a package or library of functions into the R session
https://spectrum.um.edu.my/mod/quiz/review.php?attempt=1333388&cmid=718330 1/6
, 5/9/23, 3:35 PM Quiz 2 10% 9.5.2023 3-4PM: Attempt review
Question 2
Which of the following numerical descriptive measures is most resistant to outliers?
Correct
Mark 1.00 out of A. Mean
1.00
B. Median
C. Standard deviation
D. Mode
The correct answer is: Median
Question 3 Which of the following charts is best suited for displaying categorical data?
Correct
Mark 1.00 out of A. Box plot
1.00
B. Histogram
C. Scatter plot
D. Bar chart
The correct answer is: Bar chart
https://spectrum.um.edu.my/mod/quiz/review.php?attempt=1333388&cmid=718330 2/6