1. Home
  2. Explore
  3. Computer Science
  4. State-Based Models: MDPs & Games

Study methods

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

State-Based Models: MDPs & Games

  • 24Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Search Problem Fundamentals
In search problems, the output is a
of actions.

24 questions

  1. 1
    In search problems, the output is a
    _____
    of actions.
    Hint

    Think about what you need to do to reach a goal: a single action or a series?

    Answer

    sequence

  2. 2
    The function that returns all possible actions from a given state is called
    _____
    .
    Hint

    It's a function that takes a state and returns a set of actions.

    Answer

    actions(s)

  3. 3
    In route finding, the objective might be to find the
    _____
    path.
    Hint

    Consider what travelers often want to minimize: time, distance, or something else.

    Answer

    shortest

  4. 4
    In robot motion planning, actions involve translation and
    _____
    of joints.
    Hint

    Think about the two fundamental ways a joint can move in space.

    Answer

    rotation

  5. 5
    Machine translation can be modeled as a search problem where actions involve
    _____
    words.
    Hint

    Consider how you build a sentence word by word from nothing to a full phrase.

    Answer

    appending

  6. 6
    The key difference between reflex-based models and search problems is that in search problems, you need to consider future
    _____
    of actions.
    Hint

    Actions now affect what happens later—this is what makes search different from simple classification.

    Answer

    consequences

  7. 7
    In backtracking search, the time complexity is O(bd)O(b^d)O(bd) where bbb is the
    _____
    and ddd is the depth of the tree.
    Hint

    It determines how many children each node has.

    Answer

    branching factor

  8. 8
    Backtracking search requires memory of order
    _____
    .
    Hint

    It only needs to store one path at a time, proportional to how deep it goes.

    Answer

    ddd

  9. 9
    Depth-first search requires that the cost of each action is
    _____
    .
    Hint

    DFS stops at any solution because all solutions are equally good under this condition.

    Answer

    0

  10. 10
    Depth-first search stops when it finds the
    _____
    solution.
    Hint

    It does not look for a better one because all costs are zero.

    Answer

    first

  11. 11
    Breadth-first search assumes all costs are the
    _____
    .
    Hint

    They are constant, often 1, so the shallowest solution has the lowest cost.

    Answer

    same

  12. 12
    Breadth-first search explores nodes level by level, so the time complexity depends on the depth ddd of the
    _____
    solution.
    Hint

    Which solution does BFS find first? The one at the smallest depth.

    Answer

    shallowest

  13. 13
    Breadth-first search has space complexity of order
    _____
    .
    Hint

    It must store all nodes at the current and previous levels.

    Answer

    bdb^dbd

  14. 14
    DFS Iterative Deepening combines the benefits of BFS and
    _____
    .
    Hint

    It runs depth-first searches but with increasing depth limits.

    Answer

    DFS

  15. 15
    DFS Iterative Deepening has space complexity of order
    _____
    .
    Hint

    Each depth-limited DFS uses memory linear in the depth limit.

    Answer

    ddd

  16. 16
    Dynamic programming reduces exponential time to polynomial time by using
    _____
    .
    Hint

    It avoids recomputing solutions to subproblems by storing them.

    Answer

    memoization

  17. 17
    Dynamic programming requires the graph to be
    _____
    .
    Hint

    Otherwise you cannot compute future costs in a consistent order.

    Answer

    acyclic

  18. 18
    In dynamic programming, the key to efficiency is choosing the right
    _____
    that summarizes past actions.
    Hint

    It should be minimal but contain all necessary information for future decisions.

    Answer

    state

  19. 19
    For the constraint 'cannot visit three odd cities in a row', the minimal state includes current city and whether the previous city was
    _____
    .
    Hint

    You only need to know the parity of the previous city, not its exact value.

    Answer

    odd

  20. 20
    For the constraint 'visit at least three odd cities', the minimal state includes current city and the number of odd cities visited, capped at
    _____
    .
    Hint

    You don't need to track more than the required minimum.

    Answer

    3

  21. 21
    Uniform cost search enumerates states in order of increasing
    _____
    cost.
    Hint

    It processes states based on the cost already incurred to reach them.

    Answer

    past

  22. 22
    Uniform cost search assumes that costs are
    _____
    .
    Hint

    This property allows Dijkstra-like greedy expansion.

    Answer

    non-negative

  23. 23
    In uniform cost search, the set of states for which the optimal path has been found is called the
    _____
    set.
    Hint

    These states are finalized and will not be revisited.

    Answer

    explored

  24. 24
    In uniform cost search, the set of states that have been seen but not yet finalized is called the
    _____
    .
    Hint

    These states are candidates for expansion, with known but possibly suboptimal costs.

    Answer

    frontier

1 of 24
Question 1 of 24

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent