1. Home
  2. Explore
  3. Computer Science
  4. Introduction to AI

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to AI

  • 41Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Search Problem Components
An entity that perceives its environment and acts on it is called an
.

41 questions

  1. 1
    An 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

  2. 2
    A configuration of the agent in its environment is called a
    _____
    .
    Hint

    This represents a snapshot of the problem at a given moment.

    Answer

    state

  3. 3
    The state where the agent begins is called the
    _____
    state.
    Hint

    This is the starting point of the search.

    Answer

    initial

  4. 4
    A 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

  5. 5
    A 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

  6. 6
    The 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

  7. 7
    A 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

  8. 8
    The numerical cost of taking a particular path is called the
    _____
    cost.
    Hint

    This cost accumulates over a sequence of actions.

    Answer

    path

  9. 9
    A 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

  10. 10
    A 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

  11. 11
    In 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

  12. 12
    In 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

  13. 13
    The 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

  14. 14
    The 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

  15. 15
    The set of states that have already been visited is called the
    _____
    set.
    Hint

    This prevents revisiting states and infinite loops.

    Answer

    explored

  16. 16
    When 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

  17. 17
    When 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

  18. 18
    Depth-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

  19. 19
    Breadth-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

  20. 20
    In
    _____
    search, the algorithm explores the deepest node in the frontier.
    Hint

    This search strategy uses a stack.

    Answer

    depth-first

  21. 21
    In
    _____
    search, the algorithm explores the shallowest node in the frontier.
    Hint

    This search strategy uses a queue.

    Answer

    breadth-first

  22. 22
    The 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

  23. 23
    If the state space is finite, DFS is
    _____
    to find a solution if one exists.
    Hint

    DFS will eventually explore all states.

    Answer

    guaranteed

  24. 24
    Search strategies that use problem-specific knowledge to solve a problem are called
    _____
    search.
    Hint

    Opposite of 'uninformed' search.

    Answer

    informed

  25. 25
    A 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

  26. 26
    The 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

  27. 27
    Greedy best-first search always expands the node with the smallest
    _____
    value.
    Hint

    It uses only the h(n) value to decide.

    Answer

    heuristic

  28. 28
    Greedy 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

  29. 29
    A* 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)f(n) = g(n) + h(n)f(n)=g(n)+h(n)

  30. 30
    For A* to be optimal, the heuristic must be admissible, meaning it never
    _____
    the true cost.
    Hint

    The heuristic should be optimistic.

    Answer

    overestimates

  31. 31
    A heuristic is consistent if for every node nnn and successor n′n'n′ with cost ccc, $h(n) \leq h(n') +
    _____
    .
    Hint

    This condition is like a triangle inequality for heuristics.

    Answer

    ccc

  32. 32
    The 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

  33. 33
    In Minimax, the player who tries to maximize the score is called the
    _____
    player.
    Hint

    This player wants the highest utility.

    Answer

    max

  34. 34
    In Minimax, the player who tries to minimize the score is called the
    _____
    player.
    Hint

    This player wants the lowest utility.

    Answer

    min

  35. 35
    A state where the game is over is called a
    _____
    state.
    Hint

    No further actions are possible.

    Answer

    terminal

  36. 36
    The function that assigns a numerical value to a terminal state is called the
    _____
    function.
    Hint

    This quantifies the outcome of the game.

    Answer

    utility

  37. 37
    The 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

  38. 38
    The 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

  39. 39
    In 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

  40. 40
    In tic-tac-toe, the number of possible games is approximately
    _____
    thousand.
    Hint

    This is a modest number compared to chess.

    Answer

    255

  41. 41
    In chess, after four moves each, there are
    _____
    billion possible games.
    Hint

    This number grows astronomically fast.

    Answer

    288

1 of 41
Question 1 of 41

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent