Home
MCQs by exam
Data Science Interviews
Data Science Interviews MCQs · Page 2
110 multiple choice questions typical of the Data Science Interviews exam, with answers and explanations. Switch on practice mode to test yourself first.
A
Labels becoming noisy in large datasets
B
Models training slowly on very few features
C
Overflow errors from multiplying big numbers
D
Data growing sparse as features increase
Correct answer
A
Deleting features that contain missing values
B
Clustering similar rows into fewer groups
C
Projecting onto high-variance directions
Correct answer
D
Selecting features most correlated with y
A
Within-cluster sum of squares against k
Correct answer
B
Precision against recall for each class
C
Accuracy against the number of features
D
Learning rate against the training loss
A
(x − min) ÷ (max − min)
B
log(x) plus one
C
(x − mean) ÷ standard deviation
Correct answer
D
x ÷ the largest value present
A
Visualising training metrics and graphs
Correct answer
B
Labelling images for supervised datasets
C
Deploying trained models to mobile phones
D
Writing TensorFlow code in a browser editor
A
categorical_crossentropy
B
sparse_categorical_crossentropy
Correct answer
C
kullback_leibler_divergence
D
binary_crossentropy
A
The last 20% of the samples, before shuffling
Correct answer
B
A random 20% chosen again each epoch
C
20% of the features rather than the samples
D
The first 20% of the samples, after shuffling
A
They are identical names for the same object type
B
A constant is stored on the GPU; a Variable cannot be
C
A Variable's value can be updated; a constant's cannot
Correct answer
D
A Variable holds only scalars; a constant holds arrays
A
A learning rate and a batch size
B
A dataset and the number of epochs
C
An input shape and an output layer
D
An optimizer and a loss function
Correct answer
A
Are a plain, single-path stack of layers
Correct answer
B
Share layers between many different branches
C
Contain skip connections like ResNet blocks
D
Have several inputs and several separate outputs
A
A round marker only
B
A red dotted line
C
A reversed x-axis
D
A red dashed line
Correct answer
A
plt.xlim(45)
B
plt.xlabel(rotate=45)
C
plt.rotate_x(45)
D
plt.xticks(rotation=45)
Correct answer
A
plt.mesh(True)
B
plt.grid(True)
Correct answer
C
plt.lines(True)
D
plt.axis('grid')
A
plt.errorbar()
Correct answer
B
plt.stem()
C
plt.boxplot()
D
plt.step()
A
Rows and columns of subplots
B
Font size and line width
C
Width and height in pixels
D
Width and height in inches
Correct answer
A
plt.ylabel('log')
B
plt.ylog(True)
C
plt.yscale('log')
Correct answer
D
plt.yaxis('log')
A
int64
B
float64
Correct answer
C
int32
D
object
A
The total of all scores at or above 50
B
The average of every score in the array
C
The number of scores that are at least 50
Correct answer
D
The index of the first score above 50
A
(3,)
Correct answer
B
(4,)
C
(3, 4)
D
(1,)
A
array([10, 20, 30])
B
array([10, 30])
Correct answer
C
array([10, 20])
D
array([20, 40])
A
The total number of elements
B
The number of dimensions
Correct answer
C
The data type of the array
D
The size of each element in bytes
A
(1, 5)
B
(5, 1)
Correct answer
C
(5, 5)
D
(5,)
A
Matrix transpose
B
Element-wise multiplication
C
Element-wise addition
D
Matrix multiplication
Correct answer
A
It is the only way to compare NumPy arrays
B
It converts both values into integers first
C
It allows for tiny floating-point rounding errors
Correct answer
D
It ignores the sign of negative numbers
A
array([99, 1, 2, 3, 4])
B
array([0, 99, 99, 3, 4])
C
array([0, 1, 2, 3, 4])
D
array([0, 99, 2, 3, 4])
Correct answer
Practise on paper
Preparing for Data Science Interviews?
Make it your exam plan: see your progress in every subject and topic, set a daily goal and practise what you have not done yet.
Start my Data Science Interviews plan
Test yourself
Take a timed online test and get a certificate, or play today's quick quiz.
Online tests
Daily quiz