Some MCQs are not visible. Usually teachers hides their visibility if they are few in number. We recommends them to have more than 70+ questions against the topic and make them public.
1
Explain the concept of a consistent heuristic function in the context of A* search.
A heuristic function that never overestimates the actual cost to the goal.
A heuristic function that is always non-negative.
A heuristic function that is admissible but not monotonic.
A heuristic function that is used in conjunction with a closed list.
Explaination:
A consistent heuristic function satisfies the triangle inequality, ensuring that the estimated cost to the goal never decreases as the search progresses.
2
What is the main drawback of using a greedy best-first search algorithm?
It may not always find the optimal solution.
It can be computationally expensive.
It requires a large amount of memory.
It is only applicable to binary trees.
Explaination:
Greedy best-first search selects the node with the best heuristic value at each step, which may lead to suboptimal solutions if the heuristic is not accurate.
3
Which search algorithm is particularly well-suited for game playing, where the search space is often very large?
Depth-First Search
Breadth-First Search
A* Search
Minimax
Explaination:
Minimax is a depth-first search algorithm that explores possible moves in a game tree, evaluating the potential outcomes to determine the best move for the current player.
5
What is the primary difference between a tree search and a graph search?
Tree search explores nodes repeatedly, while graph search avoids revisiting explored nodes.
Tree search is always faster than graph search.
Tree search uses heuristics, while graph search does not.
Tree search is only applicable to binary trees.
Explaination:
Graph search maintains a set of explored nodes to prevent redundant exploration, while tree search may explore the same node multiple times.
6
Which search algorithm is most suitable for finding the shortest path in a graph with a large number of nodes?
Depth-First Search
Breadth-First Search
A* Search
Uniform Cost Search
Explaination:
A* Search is an informed search algorithm that uses a heuristic function to guide the search towards the goal, making it more efficient than uninformed search algorithms like DFS and BFS in large graphs.
7
What is the main drawback of the Breadth-First Search algorithm?
Excessive memory usage
Inability to find the shortest path
Getting stuck in loops
Slow execution in unweighted graphs
Explaination:
Breadth-First Search can consume a large amount of memory, as it needs to store all the nodes at the current depth level before moving to the next level.
9
What is the primary goal of the Minimax algorithm?
To minimize the maximum gain of the opponent
To maximize the minimum gain of the player
To find the shortest path
To minimize the search space
Explaination:
The Minimax algorithm aims to maximize the minimum gain of the player, assuming that the opponent is also playing optimally to minimize the player's gain.
10
What is the key difference between informed and uninformed search strategies?
Informed search strategies use heuristics to guide the search process
Uninformed search strategies use heuristics to guide the search process
Informed search strategies do not require a goal state
Uninformed search strategies guarantee finding the shortest path
Explaination:
Informed search strategies, such as A* and Greedy Best-First Search, use heuristic functions to estimate the cost to reach the goal and guide the search.