Professional Documents
Culture Documents
Hcia Ai Test1na
Hcia Ai Test1na
:
CLASS :
hcia ai test1
26 Questions DATE :
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.
A True B False
A false B true
A false B true
6. (True or false) Variables in Python can be classified into global variables and module
variables based on their application scope.
A false B true
7. (True or false) The data of the character string type cannot be changed.
A true B false
8. (Single-answer question) Which of the following statements are correct?
Character strings and values in Python The numeric types in Python include int,
A B
cannot be modified. float, double, and complex.
10. Use slices to obtain all even numbers from the tuple t=(1, 2, 3, 4, 5, 6, 7).
A t[-2:0:-2] B t[1:-1:-2]
C t[-1:1:2] D t[1:6:2]
11. (True or false) Both == and is can be used to determine whether the values are equal.
A false B true
A C B A
C B
14. Which of the following codes output?
i = 10
while i>0:
------for j in range(3):
-----------i-=1
------print(i)
A 7410 B 7 4 1 -2
C 7654321
15. Which of the following statements about functions and objects are correct?
Objects in Python are declared using the Functions can be created using def and
A B
keyword class. lambda in Python.
Inherit all attributes and methods of the In Python, you can quickly create classes
A B
parent class in Python. through inheritance.
17. Which of the following operation modes are available for file operations?
18. Which of the following errors cannot be captured using the try statement?
C 1/0
19. (True or false) Gradient descent iteration is the only method of machine learning algorithms.
A True B false
20. (Single-answer question) Which of the following algorithms is not supervised learning?
A KNN B K-means
A True B False
22. (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.
A False B True
23. There are many types of deep learning neural networks. Which of the following is not a
deep learning neural network?
A RNN B CNN
C LSTM D Logistic
24. (Multi-choice) There are many important "components" in the convolutional neural network
architecture. Which of the following are the convolutional neural network "components"?
A true B false
26. Which of the following statements about tf.keras.Model and tf.keras.Sequential is incorrect
when the tf.keras interface is used to build a network model?