set-3
134. ______ is similar to Hill climbing searching but with revising or backtracking.
- Depth first search
- Breadth first search
- Best first search
- Binary Search
Show me the answer
Answer: 3. Best first search
Explanation:
- Best-First Search is similar to Hill Climbing but allows for revising or backtracking.
- It uses a heuristic function to guide the search.
135. The best first search uses the concept of a ______ and heuristic search.
- Circular queue
- Linear queue
- Priority queue
- Stack
Show me the answer
Answer: 3. Priority queue
Explanation:
- Best-First Search uses a priority queue to prioritize nodes based on a heuristic function.
- This ensures that the most promising nodes are explored first.
136. ______ is the time and ______ is the space complexity of Best first search. Where b= branching factor and d= depth.
- ,
- ,
- ,
- ,
Show me the answer
Answer: 1. ,
Explanation:
- The time complexity of Best-First Search is .
- The space complexity is also because it stores nodes in the priority queue.
137. Greedy best first search evaluates nodes by using only ______
- Linear function
- Non-linear function
- Friend function
- Heuristic function
Show me the answer
Answer: 4. Heuristic function
Explanation:
- Greedy Best-First Search evaluates nodes using only a heuristic function.
- This function estimates the cost to reach the goal from the current node.
138. Why greedy best first search is not complete?
- Because it can override the heuristic function
- Because it can traverse to outer loop
- Because it can get stuck in loop
- None of the above
Show me the answer
Answer: 3. Because it can get stuck in loop
Explanation:
- Greedy Best-First Search is not complete because it can get stuck in loops.
- It does not guarantee finding a solution if one exists.
139. ______ is the time and ______ is the space complexity of Greedy Best first search.
- ,
- ,
- ,
- ,
Show me the answer
Answer: 4. ,
Explanation:
- The time complexity of Greedy Best-First Search is .
- The space complexity is also because it stores nodes in the priority queue.
140. The main idea of A* searching is to a ______
- Do not expand expensive path
- Expand expensive path
- All path cost are same in searching
- None of above
Show me the answer
Answer: 1. Do not expand expensive path
Explanation:
- The main idea of A Search* is to avoid expanding expensive paths by using a heuristic function.
- It combines the cost to reach the current node and the estimated cost to reach the goal.
141. Evaluation function is ______ for A* searching, where, g(n) - cost so far to reach n h(n) - estimated cost to goal from n f(n) - estimated total cost of path through n to goal.
Show me the answer
Answer: 3.
Explanation:
- The evaluation function in A* Search is .
- Here, is the cost to reach node , and is the estimated cost to reach the goal from .
142. A* search uses an ______ heuristic; that is, h(n) < h*(n) where h*(n) is the true cost from ‘n’.
- Non- admissible
- Admissible
- Anchoring
- Constant
Show me the answer
Answer: 2. Admissible
Explanation:
- A Search* uses an admissible heuristic, meaning .
- This ensures that the heuristic never overestimates the true cost to reach the goal.
143. When should A* searching terminate?
- After we enqueue a goal
- After we dequeue a goal
- No enqueue and dequeue
- None of above
Show me the answer
Answer: 2. After we dequeue a goal
Explanation:
- A Search* terminates when a goal node is dequeued from the priority queue.
- This ensures that the optimal path has been found.
144. A* search theorem states that:
- If h(n) is not admissible, A* using TREE-SEARCH is optimal.
- If h(n) is admissible, A* using TREE-SEARCH is optimal.
- If h(n) is admissible, A* using TREE-SEARCH is not optimal.
- If h(n) is not admissible, A* using TREE-SEARCH is also not optimal.
Show me the answer
Answer: 2. If h(n) is admissible, A* using TREE-SEARCH is optimal.
Explanation:
- The A Search Theorem* states that if the heuristic is admissible, A* using TREE-SEARCH is optimal.
- This means it will find the least-cost path to the goal.
145. ______ is the time and ______ is the space complexity of A* Search. Where b= branching factor and d= depth
- ,
- ,
- ,
- ,
Show me the answer
Answer: 2. ,
Explanation:
- The time complexity of A* Search is .
- The space complexity is also because it stores nodes in the priority queue.
146. A* is an admissible algorithm that ______ optimal solution.
- Does not guarantee
- Guarantee
- Partially guarantee
- None of above
Show me the answer
Answer: 2. Guarantee
Explanation:
- A Search* is an admissible algorithm that guarantees an optimal solution.
- It finds the least-cost path to the goal if the heuristic is admissible.
147. The main application of A* Search Algorithm is: Path/ Routing problems can be solved by using A* Searching algorithm.
- True
- False
- Partially True
- None of above
Show me the answer
Answer: 1. True
Explanation:
- A Search* is widely used for solving pathfinding and routing problems.
- It is efficient and guarantees the optimal path if the heuristic is admissible.
148. A* using Tree search is optimal if heuristic is ______.
- Constant
- Admissible
- Anchoring
- Representative
Show me the answer
Answer: 2. Admissible
Explanation:
- A Search* using Tree Search is optimal if the heuristic is admissible.
- This means the heuristic never overestimates the true cost to reach the goal.
149. A* using Graph search is optimal if heuristic is ______.
- Constant
- Admissible
- Representative
- Anchoring
Show me the answer
Answer: 2. Admissible
Explanation:
- A Search* using Graph Search is optimal if the heuristic is admissible.
- This ensures that the algorithm finds the least-cost path to the goal.
150. ______ is sometimes called greedy local search because it grabs a good neighbor state without thinking ahead about where to go next.
- Mini Max
- Alpha beta pruning
- Hill Climbing
- BFS
Show me the answer
Answer: 3. Hill Climbing
Explanation:
- Hill Climbing is sometimes called greedy local search because it selects the best neighbor state without considering future steps.
- It focuses on immediate improvements rather than long-term planning.
Last updated on