1. Home
  2. Explore
  3. Computer Science
  4. CS 188 Lecture 6

Study methods

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

CS 188 Lecture 6

  • 20Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Game Types
In a zero-sum game, the sum of utilities for all players at any terminal state is
.

20 questions

  1. 1
    In a zero-sum game, the sum of utilities for all players at any terminal state is
    _____
    .
    Hint

    Think about the term itself: it describes a situation where one player's gain is exactly the other's loss.

    Answer

    zero

  2. 2
    A game where the outcome depends on randomness (e.g., dice rolls) is called a
    _____
    game.
    Hint

    This is the opposite of deterministic; it involves chance elements.

    Answer

    stochastic

  3. 3
    In a game with
    _____
    information, each player knows the full state of the game at all times.
    Hint

    Chess and checkers have this property; poker does not.

    Answer

    perfect

  4. 4
    A game's
    _____
    is the number of possible moves from a typical position.
    Hint

    This measures the width of the game tree; for Go it's about 300.

    Answer

    branching factor

  5. 5
    The solution to a game formalized in the standard interface is a
    _____
    that maps states to actions.
    Hint

    This tells the agent what to do in every possible situation.

    Answer

    policy

  6. 6
    In the minimax algorithm, the value of a node controlled by the opponent is computed by taking the
    _____
    of its children's values.
    Hint

    The opponent wants to minimize the score for the maximizing player.

    Answer

    minimum

  7. 7
    The minimax value of a terminal state is its
    _____
    .
    Hint

    This is the numeric payoff assigned to that outcome.

    Answer

    utility

  8. 8
    In minimax search, the time complexity is O(bm)O(b^m)O(bm) where bbb is the branching factor and mmm is the
    _____
    .
    Hint

    This represents how many moves are needed to finish the game.

    Answer

    maximum depth of the game tree

  9. 9
    When both players use minimax, the outcome of Tic-Tac-Toe is a
    _____
    .
    Hint

    Think of the game's solved value: with optimal play, neither player can force a win.

    Answer

    draw

  10. 10
    In a game where Pac-Man is surrounded by ghosts with no dots, the minimax solution is to
    _____
    .
    Hint

    Think about the trade-off between time cost and score: fewer moves means less penalty.

    Answer

    move directly into a ghost to end the game quickly

  11. 11
    Alpha-beta pruning returns the same
    _____
    as minimax at the root.
    Hint

    The algorithm only skips branches that cannot influence the final decision.

    Answer

    value

  12. 12
    In alpha-beta pruning, alphaalphaalpha represents the best option for the
    _____
    player on the path to the root.
    Hint

    It's the value that Max can already guarantee from explored branches.

    Answer

    maximizing

  13. 13
    If during a min node's evaluation its current value becomes less than alphaalphaalpha, the remaining children are
    _____
    .
    Hint

    This is the condition for pruning: Min's best so far is already worse for Max than an alternative path.

    Answer

    pruned

  14. 14
    With perfect ordering of child nodes, alpha-beta pruning reduces the time complexity to O(bm/2)O(b^{m/2})O(bm/2), which allows searching twice as
    _____
    .
    Hint

    This is a huge improvement; you can see further ahead with the same compute budget.

    Answer

    deep

  15. 15
    To decide which subtree to explore first in alpha-beta, you can use the
    _____
    function to rank children.
    Hint

    This function estimates how good a state is without full search.

    Answer

    evaluation

  16. 16
    When search depth is limited, the value of a non-terminal node is estimated by an
    _____
    function.
    Hint

    This approximates the true minimax value when the game hasn't ended.

    Answer

    evaluation

  17. 17
    For chess, a simple evaluation function might be a weighted sum of
    _____
    values of remaining pieces.
    Hint

    This counts the value of pieces like queen, rook, etc.

    Answer

    material

  18. 18
    Depth-limited search sacrifices the guarantee of
    _____
    play that full minimax provides.
    Hint

    Because evaluation functions are approximations, the chosen action may not be truly best.

    Answer

    optimal

  19. 19
    In iterative deepening for game trees, the last (deepest) search dominates the total time because the tree grows
    _____
    with depth.
    Hint

    Think about the branching factor: each added level multiplies the number of nodes.

    Answer

    exponentially

  20. 20
    When ghosts use minimax with a depth limit, their behavior may change near the end because they can then search to
    _____
    states.
    Hint

    Close to the end, they can see the actual outcome rather than relying on an evaluation function.

    Answer

    terminal

1 of 20
Question 1 of 20

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent