Introduction to AI
- 41Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
41 questions
- 1An entity that perceives its environment and acts on it is called an_____.
Hint
Think about who or what is making decisions in a search problem.
Answer
agent
- 2A configuration of the agent in its environment is called a_____.
Hint
This represents a snapshot of the problem at a given moment.
Answer
state
- 3The state where the agent begins is called the_____state.
Hint
This is the starting point of the search.
Answer
initial
- 4A function that takes a state and returns the set of all actions that can be executed in that state is called the_____function.
Hint
This function defines what moves are possible from a given state.
Answer
actions
- 5A description of what state results from performing an action in a state is called the_____model.
Hint
This model connects states and actions.
Answer
transition
- 6The set of all states reachable from the initial state via any sequence of actions is called the_____space.
Hint
This is the entire universe of possible configurations.
Answer
state
- 7A way to determine whether a given state is a goal state is called a_____test.
Hint
This test checks if the problem has been solved.
Answer
goal
- 8The numerical cost of taking a particular path is called the_____cost.
Hint
This cost accumulates over a sequence of actions.
Answer
path
- 9A sequence of actions that takes an agent from the initial state to the goal state is called a_____.
Hint
This is what the search algorithm aims to find.
Answer
solution
- 10A solution that has the lowest path cost among all possible solutions is called the_____solution.
Hint
This is the best possible solution in terms of cost.
Answer
optimal
- 11In the node data structure, the_____stores the state that came before the current state.
Hint
This helps trace back the path to the initial state.
Answer
parent
- 12In the node data structure, the_____stores the action taken to get from the parent to the current state.
Hint
This specifies how we moved from the previous state to the current one.
Answer
action
- 13The data structure that contains all the nodes that could be explored next is called the_____.
Hint
This is the set of states that are still waiting to be examined.
Answer
frontier
- 14The process of adding all neighbors of a node to the frontier is called_____the node.
Hint
This step generates new states from the current state.
Answer
expanding
- 15The set of states that have already been visited is called the_____set.
Hint
This prevents revisiting states and infinite loops.
Answer
explored
- 16When the frontier is implemented as a stack (last-in, first-out), the search algorithm is called_____first search.
Hint
This algorithm goes deep into the search tree first.
Answer
depth
- 17When the frontier is implemented as a queue (first-in, first-out), the search algorithm is called_____first search.
Hint
This algorithm explores all nodes at the current depth before going deeper.
Answer
breadth
- 18Depth-first search is not guaranteed to find the_____solution.
Hint
DFS may find a solution, but it might not be the best one.
Answer
optimal
- 19Breadth-first search always finds the optimal solution when the path cost is_____for each step.
Hint
If all steps have the same cost, BFS finds the shallowest goal.
Answer
constant
- 20In_____search, the algorithm explores the deepest node in the frontier.
Hint
This search strategy uses a stack.
Answer
depth-first
- 21In_____search, the algorithm explores the shallowest node in the frontier.
Hint
This search strategy uses a queue.
Answer
breadth-first
- 22The main trade-off between DFS and BFS is that DFS uses less_____but may not find the optimal solution.
Hint
DFS only needs to store a single path, while BFS stores many.
Answer
memory
- 23If the state space is finite, DFS is_____to find a solution if one exists.
Hint
DFS will eventually explore all states.
Answer
guaranteed
- 24Search strategies that use problem-specific knowledge to solve a problem are called_____search.
Hint
Opposite of 'uninformed' search.
Answer
informed
- 25A function that estimates how close a state is to the goal is called a_____function.
Hint
This function provides a guess of the remaining distance.
Answer
heuristic
- 26The heuristic that measures the number of steps vertically and horizontally to the goal, ignoring obstacles, is called_____distance.
Hint
Named after a city grid layout.
Answer
Manhattan
- 27Greedy best-first search always expands the node with the smallest_____value.
Hint
It uses only the h(n) value to decide.
Answer
heuristic
- 28Greedy best-first search is not_____; it may find a suboptimal solution.
Hint
It makes locally optimal choices that may not be globally best.
Answer
optimal
- 29A* search evaluates nodes using the sum of the cost to reach the node and the heuristic estimate, denoted as_____.
Hint
It combines g(n) and h(n).
Answer
f(n)=g(n)+h(n)
- 30For A* to be optimal, the heuristic must be admissible, meaning it never_____the true cost.
Hint
The heuristic should be optimistic.
Answer
overestimates
- 31A heuristic is consistent if for every node n and successor n′ with cost c, $h(n) \leq h(n') +_____.
Hint
This condition is like a triangle inequality for heuristics.
Answer
c
- 32The key difference between greedy best-first search and A* is that A* considers both the heuristic and the_____so far.
Hint
This is the g(n) in f(n) = g(n) + h(n).
Answer
path cost
- 33In Minimax, the player who tries to maximize the score is called the_____player.
Hint
This player wants the highest utility.
Answer
max
- 34In Minimax, the player who tries to minimize the score is called the_____player.
Hint
This player wants the lowest utility.
Answer
min
- 35A state where the game is over is called a_____state.
Hint
No further actions are possible.
Answer
terminal
- 36The function that assigns a numerical value to a terminal state is called the_____function.
Hint
This quantifies the outcome of the game.
Answer
utility
- 37The Minimax algorithm recursively evaluates states by considering the opponent's optimal responses, a process called_____reasoning.
Hint
It involves thinking about the opponent's best move.
Answer
adversarial
- 38The optimization that allows Minimax to skip branches that cannot affect the final decision is called_____pruning.
Hint
Named after two parameters tracked during search.
Answer
alpha-beta
- 39In depth-limited Minimax, the function that estimates the expected utility of a state is called an_____function.
Hint
This function replaces the need to search to terminal states.
Answer
evaluation
- 40In tic-tac-toe, the number of possible games is approximately_____thousand.
Hint
This is a modest number compared to chess.
Answer
255
- 41In chess, after four moves each, there are_____billion possible games.
Hint
This number grows astronomically fast.
Answer
288

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