1
MACHINE LEARNING QCM75-150 EXAM WITH
ALL POSSIBLE QUESTIONS AND ANSWERS
NOTE: QUESTIONS NOT NUMBERED IN ORDER
35. Which of the following is the type of labels predicted by ensemble learning
algorithms?
A. Discrete and continuous
B. Continuous
C. Discrete
D. Strain and discrete
1. (Single-choice) What are the main applications of Ascend 310?
A. Model inference
B. Model training
C. Model building
1. (Single-choice) In MindSpore, which of the following is the operation type of
nn? A .Mathematical
B. Network
C .Control
D. Others
2. (Single-choice) Which of the following statements about tf.keras. Model and
,2
tf.keras.Sequential is incorrect when the tf.keras interface is used to build a
network model?
A. tf.keras.Model supports network models with multiple inputs, while
tf.keras.Sequential does not.
B. tf.keras.Model supports network models with multiple outputs,
while tf.keras.Sequential does not.
C. tf.keras.Model is recommended for model building when a sharing layer exists
on the network.
,3
D. tf.keras.Sequential is recommended for model building when a sharing layer
exists on the network.
37. Which of the following statements is true about classification and regression
models in machine learning?
A. For classification problems, the output variables are discrete values with a
limited quantity. For regression problems, the output variables are continuous
values.
B. The cross-entropy loss function is required for both regression and
classification problems.
C. There may be underfitting in both regression and classification problems.
Classification models are more prone to underfitting than regression models.
D. The logistic regression model can be used to predict housing unit prices.
2. (Single-answer question) Which of the following algorithms is not supervised
learning?
A. Linear regression
B. Decision tree
C. KNN
D. K-means
38. In TensorFlow 2.0, x = tf.constant([1,2,3])</br>y = tf.broadcast_to(x, [3,
3])</br> print(y)</br>Which of the following is the output for this code?
, 4
A. [[1,2,3]]
B. [[1,2,3], [1,2,3], [1,2,3]]
C. [[1,2,3,1,2,3,1,2,3]]
D. [[1,1,1], [2,2,2],[3,3,3]]
MACHINE LEARNING QCM75-150 EXAM WITH
ALL POSSIBLE QUESTIONS AND ANSWERS
NOTE: QUESTIONS NOT NUMBERED IN ORDER
35. Which of the following is the type of labels predicted by ensemble learning
algorithms?
A. Discrete and continuous
B. Continuous
C. Discrete
D. Strain and discrete
1. (Single-choice) What are the main applications of Ascend 310?
A. Model inference
B. Model training
C. Model building
1. (Single-choice) In MindSpore, which of the following is the operation type of
nn? A .Mathematical
B. Network
C .Control
D. Others
2. (Single-choice) Which of the following statements about tf.keras. Model and
,2
tf.keras.Sequential is incorrect when the tf.keras interface is used to build a
network model?
A. tf.keras.Model supports network models with multiple inputs, while
tf.keras.Sequential does not.
B. tf.keras.Model supports network models with multiple outputs,
while tf.keras.Sequential does not.
C. tf.keras.Model is recommended for model building when a sharing layer exists
on the network.
,3
D. tf.keras.Sequential is recommended for model building when a sharing layer
exists on the network.
37. Which of the following statements is true about classification and regression
models in machine learning?
A. For classification problems, the output variables are discrete values with a
limited quantity. For regression problems, the output variables are continuous
values.
B. The cross-entropy loss function is required for both regression and
classification problems.
C. There may be underfitting in both regression and classification problems.
Classification models are more prone to underfitting than regression models.
D. The logistic regression model can be used to predict housing unit prices.
2. (Single-answer question) Which of the following algorithms is not supervised
learning?
A. Linear regression
B. Decision tree
C. KNN
D. K-means
38. In TensorFlow 2.0, x = tf.constant([1,2,3])</br>y = tf.broadcast_to(x, [3,
3])</br> print(y)</br>Which of the following is the output for this code?
, 4
A. [[1,2,3]]
B. [[1,2,3], [1,2,3], [1,2,3]]
C. [[1,2,3,1,2,3,1,2,3]]
D. [[1,1,1], [2,2,2],[3,3,3]]