encryption
encryption
1. Which algorithm is used to find the shortest path between two nodes in a graph?
a) A* Algorithm
b) Dijkstra’s Algorithm
c) Bubble Sort
d) Linear Search
2. In AI, what does "heuristic" refer to?
a) A random selection method
b) A rule-based approach to problem-solving
c) A method that applies trial and error to find solutions
d) A machine learning model
3. What is the primary advantage of the A* algorithm over Dijkstra’s algorithm?
a) It finds paths faster using a heuristic function
b) It does not require a start node
c) It is less memory-intensive
d) It guarantees the longest path
4. What is an artificial neural network modeled after?
a) A computer’s CPU architecture
b) The structure of human neurons
c) The binary search algorithm
d) The working of quantum computers
5. Which type of learning requires labeled data?
a) Supervised Learning
b) Unsupervised Learning
c) Reinforcement Learning
d) Deep Learning
6. Which of the following is an example of unsupervised learning?
a) Image classification
b) Market segmentation
c) Spam email detection
d) Weather forecasting
7. Which of the following is NOT a component of an artificial neural network?
a) Input Layer
b) Hidden Layer
c) Output Layer
d) SQL Database
8. What is the purpose of backpropagation in deep learning?
a) To initialize network weights randomly
b) To adjust weights based on error gradients
c) To remove neurons from the network
d) To create new layers in the network
9. Machine learning enables computers to:
a) Learn without being explicitly programmed
b) Execute predefined commands
c) Store large amounts of data
d) Perform only arithmetic operations
10. What is the main goal of reinforcement learning?
a) To use labeled data for training
b) To maximize cumulative rewards over time
c) To classify data into categories
d) To find the shortest path in a graph
11. Which of the following is an example of deep learning in everyday applications?
a) Handwritten digit recognition
b) Keyword-based search results
c) Basic calculator operations
d) File compression algorithms
12. Which type of AI learning involves a system making decisions based on trial and
error?
a) Reinforcement Learning
b) Supervised Learning
c) Unsupervised Learning
d) Supervised Regression
13. What is an advantage of AI over traditional programming?
a) AI systems require less data to work
b) AI can adapt and improve over time
c) AI systems do not require debugging
d) AI always provides 100% accurate results
14. Which of these is a key characteristic of deep learning?
a) Uses a single-layer perceptron
b) Requires large amounts of data for training
c) Cannot process unstructured data
d) Works only for numerical data
15. Which of the following is a major concern regarding AI ethics?
a) AI algorithms can only be implemented in Python
b) AI requires human intelligence to function
c) AI systems can make biased decisions if trained on biased data
d) AI cannot be used in real-world applications
16. What role does gradient descent play in machine learning?
a) It updates model parameters to minimize errors
b) It helps in sorting data points
c) It is used for feature selection
d) It finds the longest path in a graph
17. Which learning method is most commonly used for predicting future stock prices?
a) Reinforcement Learning
b) Supervised Learning
c) Unsupervised Learning
d) Deep Reinforcement Learning
18. In neural networks, what is an activation function used for?
a) To control the output of a neuron
b) To store previous input values
c) To remove incorrect data points
d) To reduce the number of hidden layers
19. A chatbot that learns from past conversations and improves responses over time
uses:
a) Supervised Learning
b) Reinforcement Learning
c) Manual Programming
d) Static AI Rules
20. What is the purpose of feature selection in machine learning?
a) To increase the size of the dataset
b) To remove irrelevant data and improve model accuracy
c) To create more output labels
d) To replace supervised learning
Answer Key
1. b
2. c
3. a
4. b
5. a
6. b
7. d
8. b
9. a
10. b
11. a
12. a
13. b
14. b
15. c
16. a
17. b
18. a
19. b
20. b