Search in AI
- 32Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
32 questions
- 1A_____agent chooses an action based on its current percept and memory without considering the future consequences of its actions.
Hint
Think of an agent that reacts instantly to its environment without planning ahead.
Answer
reflex
- 2A planning agent must have a model of how the world evolves in response to its actions and a way of deciding whether a possible future meets a_____.
Hint
This is the condition that determines success for the agent.
Answer
goal
- 3A reflex agent can be rational only in specific_____, where its predefined responses happen to yield optimal behavior.
Hint
Think about the context that makes simple reactions sufficient.
Answer
circumstances
- 4A search problem consists of a set of states, a successor function with actions and costs, a start state, and a_____.
Hint
This function determines whether a given state is a desired outcome.
Answer
goal test
- 5The successor function takes a state and an action and returns the next state and the_____of that action.
Hint
This is a numerical value representing how 'bad' the action is.
Answer
cost
- 6A solution to a search problem is a sequence of actions, also called a_____, that transforms the start state into a goal state.
Hint
This term is synonymous with a sequence of actions that achieves the goal.
Answer
plan
- 7In search problems, the search state keeps only the details needed for planning, while the_____state includes every last detail of the environment.
Hint
This is the complete, unabstracted representation of the environment.
Answer
world
- 8The process of simplifying the real world into a smaller state space for a search problem is called_____.
Hint
This concept involves ignoring irrelevant details to make problem-solving feasible.
Answer
abstraction
- 9In the eat-all-the-dots problem, the state must include the agent's position and a Boolean for each possible dot location, resulting in_____possibilities for the dots alone.
Hint
Consider the number of dots and whether each is present or absent.
Answer
230
- 10In a state space graph, each_____occurs only once, unlike a search tree where nodes represent paths.
Hint
This is a configuration of the world in the search problem.
Answer
state
- 11A search tree can be infinite even if the state space is finite if there are_____in the state space graph.
Hint
Think about loops that can be repeated indefinitely.
Answer
cycles
- 12The general tree search algorithm maintains a_____of partial plans under consideration.
Hint
This is the set of leaf nodes of the partially expanded search tree.
Answer
fringe
- 13In the tree search algorithm, if a node selected for expansion is a goal state, the algorithm returns the_____.
Hint
This is the outcome of a successful search.
Answer
solution
- 14Depth-first search uses a_____data structure for the fringe, meaning the last path added is expanded first.
Hint
This structure follows a last-in, first-out (LIFO) order.
Answer
stack
- 15Depth-first search is not complete in infinite state spaces or when there are_____without loop checking.
Hint
Repeated states can cause the search to go on forever.
Answer
cycles
- 16Depth-first search is not_____because it may find a non-optimal path even if a better one exists.
Hint
This property means the algorithm does not guarantee the best solution.
Answer
optimal
- 17The time complexity of depth-first search in the worst case is O(bm), where b is the branching factor and m is the_____.
Hint
This is the deepest level of the search tree that is explored.
Answer
maximum depth
- 18The space complexity of depth-first search is O(bm) because it only needs to store a single path from root to leaf along with the_____of each node.
Hint
These are the unexpanded children of nodes along the current path.
Answer
siblings
- 19Breadth-first search uses a_____data structure for the fringe, expanding the path that has been waiting the longest.
Hint
This structure follows a first-in, first-out (FIFO) order.
Answer
queue
- 20Breadth-first search is complete if the shallowest solution has a finite_____.
Hint
This refers to the number of steps from the start to the goal.
Answer
depth
- 21Breadth-first search is optimal only if all_____costs are equal (e.g., each action costs 1).
Hint
This refers to the cost incurred by each individual action.
Answer
step
- 22The time complexity of breadth-first search is O(bs), where s is the depth of the_____solution.
Hint
This is the solution found with the fewest steps.
Answer
shallowest
- 23The space complexity of breadth-first search is O(bs) because the fringe can hold up to_____nodes at the deepest level.
Hint
Consider the number of nodes at the final level being explored.
Answer
bs
- 24Iterative deepening combines the space advantage of depth-first search with the time and shallow-solution advantages of_____search.
Hint
This method explores nodes level by level but uses depth-first search with limits.
Answer
breadth-first
- 25Iterative deepening's space complexity is O(bd), which is much better than BFS's O(bs), while its time complexity is within a constant factor of BFS's_____complexity.
Hint
Think about the computational cost.
Answer
time
- 26Uniform cost search uses a_____queue where the path with the lowest cost so far is expanded first.
Hint
This data structure orders elements by a numerical key.
Answer
priority
- 27Uniform cost search explores nodes in order of increasing_____contours.
Hint
These are regions of equal cumulative cost from the start.
Answer
cost
- 28When all step costs are equal, uniform cost search behaves identically to_____search.
Hint
This method expands nodes by depth when costs are uniform.
Answer
breadth-first
- 29Uniform cost search is complete if there is a minimum positive_____cost, denoted epsilon.
Hint
This is the cost of each individual action, bounded below.
Answer
arc
- 30Uniform cost search is optimal because it expands nodes in order of increasing path_____.
Hint
This property ensures the first time a goal is expanded, it has the minimal cost.
Answer
cost
- 31The time complexity of uniform cost search is O(bC∗/epsilon), where C∗ is the optimal solution cost and epsilon is the minimum_____cost.
Hint
This is the smallest possible action cost.
Answer
arc
- 32Uninformed search algorithms, like those discussed in this lecture, have no information about the goal location, whereas informed search uses_____to guide exploration.
Hint
These are problem-specific hints that estimate distance to the goal.
Answer
heuristics

Ask anything
We've read this whole study set, so questions about it get the best answers.