02 - Data Types - MCQ
02 - Data Types - MCQ
variables?
A. Binarization
B. One-hot encoding
C. Quantization
D. Min-max scaling
ANSWER: B
What kind of table compares classifications predicted by the model with the actual
class labels?
A. Chaos table
B. Prediction plot
C. Confusion matrix
D. Residual plot
ANSWER: C
If there are 5 boys and 7 girls, write the ratio of girls to boys.
A. 5 to 7
B. 7 to 5
C. 5 to 12
D. 7 to 12
ANSWER: B
Find the MEAN and MODE of the following data set:(8, 12, 16, 8, 6, 7, 9)
A. Mean: 9 Mode: 8
B. Mean: 8 Mode: 9
C. Mean: 9.4 Mode:8
D. Mean: 7.6 Mode: 8
ANSWER: C
To find the _____, add up all the data and then divide by the number of data.
A. Mean
B. Median
C. Mode
D. Range
ANSWER: A
The most widely used metrics and tools to assess a classification model are:
A. Confusion matrix
B. Cost-sensitive accuracy
C. Area under the ROC curve
D. All of the answer options are correct
ANSWER: D
In one day a movie store rented out 20 comedies.If the ratio of comedies rented to
action movies rented was 4:3,how many action movies were rented?
A. 5
B. 15
C. 3.3333
D. 41/3
ANSWER: B
A survey was given to 100 teenagers to determine their favorite way to stay
entertained during quarantine.The results show that 49 students watch Netflix, 22
students listen to music, 14 students FaceTime their friends, and 15 students
workout. What is the relative frequency of students who like to watch Netflix?
A. 50%
B. 2.04%
C. 49%
D. 22%
ANSWER: C
A table showing how often observations fall within a particular category is also
known as a:
A. Contingency table
B. Frequency table
C. Cumulative frequency table
D. Expected values table
ANSWER: A
When conducting a multiple linear regression, we can visualise the data using:
A. Bar graphs
B. Plane of best fit
C. Line of best fit
D. Error bars
ANSWER: B
A Histogram is____.
A. Is a bar chart.
B. Is a graphic representation of the frequency distribution of a qualitative or
categorical variable.
C. Is a graphic representation of the frequency distribution of a continuous
variable.
D. Is an alternative to a pie chart.
ANSWER: C
If I want to save a plot to a PDF file, which of the following is a correct way of
doing that?
A. Construct the plot on the PNG device with png(), then copy it to a PDF with
dev.copy2pdf().
B. Construct the plot on the screen device and then copy it to a PDF file with
dev.copy2pdf()
C. Open the screen device with quartz(), construct the plot, and then close the
device with dev.off().
D. Open the PostScript device with postscript(), construct the plot, then close the
device with dev.off().
ANSWER: B
Which of the following functions is typically used to add elements to a plot in the
base graphics system?
A. hist()
B. plot()
C. text()
D. boxplot()
ANSWER: C
Which of the numbers below is NOT part of a 5 number summary used to create a
boxplot?
A. Minimum
B. First quartile
C. Mean
D. Third quartile
E. Maximum
ANSWER: C