Professional Documents
Culture Documents
Answer: False
The biggest difference between logic regression and perceptron is that logistic regression uses the
Sigmoid activation function at the output layer, whereas perceptron uses the sign function. In addition,
neither of the two models can resolve the XOR problem.
Answer: True
HiLens can help small and micro companies realize smart access control.
Answer: True
Answer: False
Answer: False
The Adam optimizer in TensorFlow 2.0 is the built-in optimizer of the Keras module.
Answer: True
The HiAI mobile computing platform architecture supports various mainstream front-end frameworks,
such as TensorFlow and Caffe.
Answer: True
To install TensorFlow of the GPU version, you need to install CUDA and cuDNN.
Answer: True
In a feedforward network, neurons in the same layer are connected to each other.
Answer: False
Answer: True
In a medical image recognition task, we usually are more concerned about the recall ratio than the
precision ratio when evaluating model performance.
Answer: True
After the image label service is called, only one corresponding label value is returned.
Answer: False
Similar to hidden layer, the quantity of neurons at both an input layer and an output layer of a neural
network is a hyperparameter that can be adjusted.
Answer: False
Answer: True
The generalization error will continue to decrease as the complexity of the model increases.
Answer: False
Answer: True
Voice recognition refers to the recognition of text data as audio data.
Answer: False
Answer: True
Answer: False
Answer: False
Factory A produces 60% of an automotive company’s products, and factory B accounts for 40%. The
defective rate of factory A is 1%, and that of factory B is 3%. If a vehicle is defective, what is the
possibility that the vehicle is produced by factory A?
Answer: B. 1/3
Which of the following reasons is the main reason why deep learning developed rapidly after 2010?
Which of the following is not a feature of the Atlas 500 AI edge stations?
What determines the number of neurons in the input layer of the neural network?
Which of the following schools does the expert system belong to?
Answer: A. Symbolism
X = tf.random.normal(input_shape)
Input_shape=input_shape[1:])(x)
print(y.shape)
Answer: B. (4,26,26,2)
Without Padding, use a 3X3 convolution kernel to convolve a 5X5 image with stride 1. Which of the
following options is the size of the output image?
Answer: A. 3X3
Answer: A. 1950
Which of the following options is the architecture adopted by Huawei Atlas series chips?
Answer: D. Da Vinci
In the process of training the neural network, which of the following methods is used to update the
parameters so as to minimize the loss function?
In machine learning, how many support vectors can the SVM algorithm have?
Answer: D. Several
import numpy as np
n = np.arange(24).reshape(2,-1,2,2)
Which of the following is the return result of n.shape after running the preceding code?
Answer: A. (2,3,2,2)
Which of the following options is the artificial intelligence development framework launched by
Huawei?
Answer: C. MindSpore
Which of the following options is a commonly used loss function for classification problems?
Answer: C. XOR
Which of the following models is not suitable for the scenario where the covariance between data
features is large?
Answer: D. Atlas
A company wants to use the HiAI platform to develop its own APP. Which of the following IDEs can be
used in conjunction with the HiAI platform?
Which of the following options is the classification of the AI chip business from the application?
Which of the following options belong to the activation function of the neural network?
Which of the following options are the main advantages of the Keras interface in TensorFlow 2.0?
Answer: A,B,C
Which of the following options belong to the application scenarios of natural language processing?
Answer: B & D
B. Machine translation
Answer: B,C,D
Answer: C & D
C. matplotlib
D. cv2
Which of the following options belongs to Huawei HiAI platform content?
Answer: A, B, D
A. HiAI Service
B. HiAI Foundation
D. HiAI Engine
Answer: A,B,C,D
Answer: A,B,C,D
Which of the following are the problems you may encounter when training a generative adversarial
network?
Answer: A,B,C,D
Answer: A,B,C
Answer: A,B,C,D
Answer: A,B,C
Compared with the Sigmoid activation function, which of the following options are the advantages of
ReLU?
Answer: A & D
Answer: A,B,C,D
Answer: True
In some image and voice fields, AI performs better than humans, so artificial intelligence has entered
the stage of strong artificial intelligence.
Answer: False
Answer: True
One of the disadvantages of deep learning is that the interpretability is very weak, but it is possible
to visualize the model using methods such as Local Interpretable Model-Agnostic Explanations
(LIME).
Answer: True
Atlas series chips need the support of CUDA software package like other GPU accelerator cards.
Answer: False
In a medical image recognition task, we usually are more concerned about the recall ratio than the
precision ratio when evaluating model performance.
Answer: True
Answer: False
In convolutional neural networks, the convolutional layer can reduce the dimension of feature maps.
Answer: True
Laplace smoothing can be used to address the “zero probability” problem in the naïve Bayes model.
Answer: True
Knowledge graph can be applied to social networking, gene sequencing, and risk control.
Answer: True
Answer: False
Da Vinci architecture is the core of the Ascend AI computing engine and AI processor.
Answer: True
In a feedforward network, neurons in the same layer are connected to each other.
Answer: False
The generalization error will continue to decrease as the complexity of the model increases.
Answer: False
If the metrics parameter is not specified in Model.compile, no less value will be output.
Answer: False
Answer: False
The biggest difference between logistic regression and perceptron is that logistic regression uses the
Sigmoid activation function at the output layer, whereas perceptron uses the sign function. In
addition, neither of the two models can resolve the XOR problem.
Answer: True
The HiAI mobile computing platform architecture supports various mainstream front-end
frameworks, such as TensorFlow and Caffe.
Answer: True
To install TensorFlow of the GPU version, you need to install CUDA and cuDNN.
Answer: True
Without Padding, use a 3X3 convolution kernel to convolve a 5X5 image with stride 1. Which of the
following options is the size of the output image.?
Answer: A. 3X3
Answer: A. [0,+∞]
Which of the following is not an integrated learning policy in machine learning algorithms?
Answer: D. Marking
In machine learning, how many support vectors can the SVM algorithm have?
Answer: D. Several
Input_shape = (4,28,28,1)
x = tf.random.normal(input_shape)
(x)
print(y.shape)
Answer: B. (4,26,26,2)
In the process of training the neural network, which of the following methods is used to update the
parameters so as to minimize the loss function?
Answer: C. Gradient descent
Answer: A. 1950
Which of the following options is the artificial intelligence development framework launched by
Huawei?
Answer: C. MindSpore
Which of the following is not a feature of the Atlas 500 AI edge stations?
Which of the following is not the model deployment and application feature of the ModelArts
platform?
adadelt=tf.keras.optimizers.Adadelta()
model.compile(loss=’binary_crossentropy’,
optimizer=’adam’,
metrics=[‘accuracy’])
Answer: A. Adam
Which of the following options is the architecture adopted by Hauwei Atlas series chips?
Answer: D. Da Vinci
When tf.keras is used to build a network model, which of the following statements about
tf.keras.Model and tf.keras.Sequential is incorrect?
Which of the following models is not suitable for the scenario where the covariance between data
features is large?
How many images are included in the MNIST handwritten digit database in the lab guide?
Answer: C. 7,000
Which of the following options makes the GPU suitable for the acceleration of neural networks?
Answer: A,B,C
Answer: A,B,C,D
Compared with the batch gradient descent method, which of the following options are the
advantages of the Mini batch gradient descent method?
Answer: A & B
Suppose the following scenario: Now we need to classify the data, and the data features are all
continuous values. Which of the following models are suitable for this scenario?
Answer: B & C
Answer: A,B,C,D
Answer: A,B,C,D
Which of the following are the problems you may encounter when training a generative adversarial
network?
Answer: A,B,C,D
Answer: A,B,C,D
Answer: A,B,C,D
Which of the following are the major modules of the Ascend AI processor?
Answer: A,B,C,D
Regarding the standard RNN model statement, which of the following options are correct?
Answer: A & C
Answer: A,B,C
Answer: A,B,C,D
Answer: A,B,C
Answer: A,B,C,D
Answer: False
A matrix A can be decomposed into a product of three matrices using singular value decomposition.
Answer: True
Answer: True
Answer: True
In TensorFlow, a graph contains nodes and edges. The former represent data operations and the later
represent data and its dependency.
Answer: True
Answer: False
Functions are organized code segments which cannot be reused to implement single or related
operations.
Answer: False
Python tuples are enclosed in parentheses (()) and the internal elements are separated by semicolons
(;).
Answer: False
Matrix A and Matrix B can be added only if they have the same number of rows and columns.
Answer: True
Answer: True
Deep learning is a class of machine learning algorithms that uses neural networks to extract features
from the raw input.
Answer: True
Huawei believes that the value of AI is reflected in addressing enterprise business problems. Regarding
the development of AI, guided by industry solutions, Huawei focuses on basic technologies and the
enabling platform, and works with industry leaders to develop industry solutions.
Answer: True
The Python author designed the restrictive syntax to filter out bad programming habits (like failing to
add an Indentation on the right of the next line of the if statement).
Answer: True
Convolutional neural networks (CNNs) can extract features from images automatically.
Answer: True
Continue statements in Python are used to skip the rest of the statements in the body of loop for the
current iteration and jump to the beginning of the loop for next iteration.
Answer: True
Lists in Python can be delimited by square brackets ([ ]), with the first element at index 0.
Answer: True
time.time() function can measure the number of seconds since the epoch as a floating point value.
Answer: True
Principal Component Analysis (PCA) is a statistical method. It uses orthogonal transformation to convert
a set of possibly correlated variables into a set of values of linear variables called principal components.
Answer: False
Recurrent neural networks are more suitable for image recognition problems.
Answer: False
Decision tree is one of the most popular machine learning algorithms and can be used for both
classification and regression problems. How do we choose the best attribute in ID3?
Answer: D. 1var
What is the purpose of adding a pooling layer when creating a neural network?
Which of the following type of RNN can be used for machine translation?
Answer: A. Tanh
Answer: C. The larger the standard deviation, the steeper the normal distribution curve.
Answer: A. Tuple
Answer: D. BAFA
Which of the following is not a Python re regular expression module function?
Answer: B. update
Which of the following methods cannot get data into the TensorFlow program?
Answer: C. tf.boost
With regard to the relationship between frequency and probability, which of the following statements is
true?
Answer: A. Frequency stabilizes as a value close to probability as the number of repeated experiments
increases.
Which of the following statement about convolutional neural networks(CNNs) is not true?
Answer: B. A pooling layer contains a set of filters whose parameters need to be learned.
For object detection problems, which of the following neural network model should be considered first?
Answer: A. CNN
Which of the following school does reinforcement learning belong to?
Answer: D. Behaviorism
Which of the following statement about the fetch operation in TensorFlow is true?
Answer: A. Only when the graph execution is triggered, you can fetch the tensor values you want.
Answer: B. 1956
Which of the following cloud services are provided by visual recognition of Huawei Cloud EI?
Answer: ABCD
A. Image recognition
B. Content moderation
C. Optical character recognition (OCR)
D. Image processing
Answer: ACD
A. relu
C. sigmoid
D. tanh
Answer: ABC
A. Equality constraint
B. No constraint
C. Inequality constraint
Answer: BD
Answer: ABCD
A. Python is often nicknamed “glue language” because it can easily glue together various
modules developed in other languages.
B. Python is a kind of free and open-source software.
C. The Python syntax is simple and clear, characterized by using blank characters for indentation
D. It was created by Guido van Rossum, the Dutchman, in 1989, and it was first released in 1991.
Answer: ABCD
A. Computer vision
B. Speech recognition
C. Natural language processing (NLP)
D. Machine learning
Python is an object-oriented programming language. Which of the following are Python objects?
Answer: ABCD
A. Character string
B. Number
C. Module
D. Function
Answer: BD
Answer: BD
B. Distributed mode
D. Single-Node mode
Suppose X and Y are random variables and C is a constant, which of the following about the variance
properties is not true?
Answer: BD
B. D(XY) = D(X)D(Y)
AI Overview
1. (True or False) By "all AI scenarios", Huawei means different deployment scenarios for AI, including
public clouds, private clouds, edge computing in all forms, industrial IoT devices, and consumer devices.
Answer: True
2. (Multiple-answer question) Which of the following are AI application fields? Answer: Smart
household, Smart healthcare, Smart City, Smart Education
Python
1. (True or false) Python2 and Python3 are frequently used. Answer: True
2. (Multiple-answer question) In which fields can Python be used? Answer: Image recognition, Website
development, Data mining, App development
3. (True or false) Use indentation to distinguish code blocks in Python. Answer: True
4. (True or false) Variables in Python can be classified into global variables and module variables based
on their application scope. Answer: False
5. (True or false) The data of the character string type cannot be changed. Answer: True
6. (Single-answer question) Which of the following statements are correct? Answer: Character strings
and values in Python cannot be modified
7. (Single-answer question) Which of the following operations are correct? Answer: List sort: list.sort()
8. (Multiple-answer question) Use slices to obtain all even numbers from the tuple t=(1, 2, 3, 4, 5, 6, 7).
Answer: t[1:6:2] & t[-2:0:-2]
9. (True or false) Both == and is can be used to determine whether the values are equal. Answer: True
10. (Single-answer question) Which of the following statements are correct? Answer: Duplicate
elements in the collection are deleted.
11. (Single-answer question) Which of the following code execution results are displayed? Answer: B
13. (Multiple-answer question) Which of the following statements about functions and objects are
correct? Answer: In python, a function is also an object & Functions can be created using def and
lambda in Python
14. (Single-answer question) Which of the following statements about classes are correct? Answer: In
Python, you can quickly create classes through inheritance.
16. (Single-answer question) Which of the following errors cannot be captured using the try statement?
Answer: | = [1,2,3
Machine learning
1. (True or false) Gradient descent iteration is the only method of machine learning algorithms.
Answer: False
2. (Single-answer question) Which of the following algorithms is not supervised learning?
Answer: K-means
Deep Learning
1. (True or False) Compared with the recurrent neural network, the convolutional neural network is
more suitable for image recognition. Answer: True
2. (True or False) GAN is a deep learning model, which is one of the most promising methods for
unsupervised learning of complex distribution in recent years. Answer: True
3. (Single-choice) There are many types of deep learning neural networks. Which of the following is not
a deep learning neural network? Answer: Logistic
4. (Multi-choice) There are many important "components" in the convolutional neural network
architecture. Which of the following are the convolutional neural network "components"? Answer:
Activation Function, Convolutional kernel, Pooling, Fully connected layer
1. (True or False) In TensorFlow 2.x, eager execution is enabled by default. Answer: True
Answer: tf.keras.Sequential is recommended for model building when a sharing layer exists on the
network.
1. (Single-choice) What are the main applications of Ascend 310? Answer: Model Inference
Answer: Correct
4. (True or false) The HUAWEI HiAI platform supports remote debugging of real devices.
Answer: Correct