Quiz
Quiz
31. What is the main data structure used to store the weights in a neural network?
a) Graph
b) Matrix
c) Queue
d) Tree
32. In reinforcement learning, what is a Q-table?
a) A table storing transition probabilities
b) A hash table of state-action values
c) A decision tree
d) A search tree
33. True/False: Tensors are generalizations of matrices used in deep learning.
34. What kind of structure is a convolutional neural network's layer typically
represented as?
a) Array
b) Tree
c) Grid/Matrix
d) Linked List
35. Which data structure underlies the Transformer attention mechanism?
a) Graph
b) Hash table
c) Matrix
d) Queue
36. Which data structure is used in backpropagation to store intermediate gradients?
a) Stack
b) Tensor
c) Tree
d) Linked List
37. True/False: Heuristics in AI search can be stored as a hash map for efficient lookup.
38. Which of the following data structures is not typically used in AI/ML libraries like
TensorFlow or PyTorch?
a) Tensor
b) Graph
c) Heap
d) Matrix
39. Which structure is commonly used for experience replay in reinforcement learning?
a) Queue
b) Stack
c) Buffer
d) Linked List
40. What type of data structure is used in Alpha-Beta pruning?
a) Stack
b) Queue
c) Tree
d) Heap