1. Home
  2. Explore
  3. Computer Science
  4. Search Algorithms and Intuition

Study methods

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

Search Algorithms and Intuition

  • 58Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Search Foundations

What is the central idea of search, beyond the map examples used to illustrate it?

58 questions

  1. 1

    What is the central idea of search, beyond the map examples used to illustrate it?

    1. A

      Following a fixed sequence of actions without considering alternatives

    2. B

      Choosing among alternatives while trying to make a decision

    3. C

      Calculating the shortest distance between every pair of locations

    4. D

      Recording every location that has already been visited

    Correct answer
    B

    Choosing among alternatives while trying to make a decision

    Explanation

    Search is fundamentally about the choices made while exploring possibilities; maps are only one way to illustrate those choices.

  2. 2

    Why does the lecture avoid explaining how people find a good path visually?

    1. A

      People can find only optimal paths, which are outside the scope of search

    2. B

      Programs already use the same visual algorithms as people

    3. C

      Visual path finding does not involve choices between alternatives

    4. D

      The visual system's contribution to problem solving is not yet understood well enough

    Correct answer
    D

    The visual system's contribution to problem solving is not yet understood well enough

    Explanation

    The lecture notes that visual problem solving is important to human intelligence, but its mechanisms are not yet understood well enough to explain.

  3. 3

    Why are maps useful for illustrating search even though search is not limited to maps?

    1. A

      They ensure that every search method finds an optimal route

    2. B

      They make heuristic information available in every problem

    3. C

      They make choices among possible paths especially clear

    4. D

      They eliminate the need to represent paths or alternatives

    Correct answer
    C

    They make choices among possible paths especially clear

    Explanation

    Maps are a particularly clear illustration of choices, but search also applies to other kinds of problems.

  4. 4

    Which statement best distinguishes finding a pretty good path from finding an optimal path?

    1. A

      An optimal path is simply the first path found by depth-first search

    2. B

      A pretty good path may be useful without being the best possible path

    3. C

      A pretty good path must visit every possible route before stopping

    4. D

      A pretty good path is always shorter than an optimal path

    Correct answer
    B

    A pretty good path may be useful without being the best possible path

    Explanation

    The examples distinguish a reasonably good path from the optimal path; some search methods find a usable path without guaranteeing the best one.

  5. 5

    Why must a search program use something other than human visual intuition in the map example?

    1. A

      The program is prohibited from comparing alternative routes

    2. B

      The program does not have eyes or visually grounded algorithms

    3. C

      The program can represent only routes that have already been traveled

    4. D

      The program cannot determine whether a route reaches a goal

    Correct answer
    B

    The program does not have eyes or visually grounded algorithms

    Explanation

    The lecture explains that programs lack eyes and visually grounded algorithms, so they must use other search procedures.

  6. 6

    Why are children of a node listed in lexical order in the illustrated search trees?

    1. A

      It ranks nodes according to their distance from the goal

    2. B

      It prevents the search from encountering a dead end

    3. C

      It guarantees that the first path found is the shortest

    4. D

      It provides an orderly convention for choosing among alternatives

    Correct answer
    D

    It provides an orderly convention for choosing among alternatives

    Explanation

    Lexical order is used as a consistent organizational convention, including when a search problem is presented for a quiz.

  7. 7

    What is the defining behavior of the British Museum approach?

    1. A

      It finds every possible path rather than stopping after one solution

    2. B

      It explores all paths at one depth before considering deeper paths

    3. C

      It keeps only a fixed number of promising paths at each level

    4. D

      It follows the path that appears closest to the goal at each step

    Correct answer
    A

    It finds every possible path rather than stopping after one solution

    Explanation

    The British Museum approach exhaustively finds every possible path, so it cannot stop after discovering just one path to the goal.

  8. 8

    In the illustrated search problem, why is a path not allowed to return to a node already on that same path?

    1. A

      The path is not allowed to loop back on itself

    2. B

      The algorithm must avoid extending any node more than once globally

    3. C

      The path must reach the goal in exactly one step

    4. D

      The search must preserve lexical order among all nodes

    Correct answer
    A

    The path is not allowed to loop back on itself

    Explanation

    The path convention forbids a path from revisiting a place already on that path, preventing it from biting its own tail.

  9. 9

    How does depth-first search choose which branch to explore first in the example?

    1. A

      It explores every branch at the current level before descending

    2. B

      It selects the branch with the fewest remaining nodes

    3. C

      It follows the left branch according to the lexical-order convention

    4. D

      It selects the branch estimated to be closest to the goal

    Correct answer
    C

    It follows the left branch according to the lexical-order convention

    Explanation

    In the example, depth-first search follows the left branch first, with lexical order providing the convention for arranging choices.

  10. 10

    What does depth-first search do when its current path reaches a dead end and backtracking is enabled?

    1. A

      It moves to the shallowest unexplored path in the search tree

    2. B

      It ends immediately because a dead end proves no solution exists

    3. C

      It discards every path and starts again from the goal

    4. D

      It returns to the most recent choice point and tries another branch

    Correct answer
    D

    It returns to the most recent choice point and tries another branch

    Explanation

    Backtracking returns the search to the most recent place where a choice was made, allowing it to try an alternative branch.

  11. 11

    How does the lecture treat backtracking in relation to depth-first search?

    1. A

      It is required in every implementation of depth-first search

    2. B

      It is incompatible with depth-first search but required by breadth-first search

    3. C

      It is used only when the search must enumerate every possible path

    4. D

      It is an optional add-on, though it is generally useful with depth-first search

    Correct answer
    D

    It is an optional add-on, though it is generally useful with depth-first search

    Explanation

    The lecture treats backtracking as optional and notes that textbooks may handle it differently, while emphasizing its usefulness with depth-first search.

  12. 12

    Why is backtracking unnecessary for the British Museum approach?

    1. A

      That approach never encounters a dead end

    2. B

      That approach must continue until it has found every possible path

    3. C

      That approach stores only one path at a time

    4. D

      That approach always chooses the branch closest to the goal

    Correct answer
    B

    That approach must continue until it has found every possible path

    Explanation

    Because the British Museum approach must find all paths, finding one path or reaching a dead end does not allow it to stop and backtrack in the usual sense.

  13. 13

    How does breadth-first search organize its exploration?

    1. A

      It selects only the path whose final node is nearest to the goal

    2. B

      It explores paths level by level, expanding shallower paths first

    3. C

      It randomly selects paths from all depths of the search tree

    4. D

      It follows one path as deeply as possible before trying another

    Correct answer
    B

    It explores paths level by level, expanding shallower paths first

    Explanation

    Breadth-first search builds the search tree level by level, considering shallower paths before deeper ones.

  14. 14

    What is the key reason breadth-first search can find a goal path at a particular level?

    1. A

      It backtracks from every dead end until the goal is found

    2. B

      It always chooses the branch with the smallest heuristic distance

    3. C

      It scans the paths at that level and checks whether one reaches the goal

    4. D

      It removes every path that shares a node with another path

    Correct answer
    C

    It scans the paths at that level and checks whether one reaches the goal

    Explanation

    Breadth-first search examines paths level by level; when a level contains a path reaching the goal, it has found a solution.

  15. 15

    Why can ordinary breadth-first search appear wasteful when the start is near the goal but far from other branches?

    1. A

      It refuses to consider paths shorter than the current level

    2. B

      It still explores paths at each level without using closeness to the goal

    3. C

      It is required to enumerate every possible path in the graph

    4. D

      It always follows the lexically last branch first

    Correct answer
    B

    It still explores paths at each level without using closeness to the goal

    Explanation

    Breadth-first search does not use distance-to-goal information, so it may spend effort exploring irrelevant branches even when the goal is nearby.

  16. 16

    What does the depth-first search example demonstrate about the quality of the first path found?

    1. A

      Depth-first search finds every possible path before reporting a result

    2. B

      The first path found by depth-first search is always the shortest

    3. C

      Depth-first search cannot find a path unless it uses distance estimates

    4. D

      A path found by depth-first search need not be optimal

    Correct answer
    D

    A path found by depth-first search need not be optimal

    Explanation

    The lecture contrasts the roundabout depth-first path with better alternatives, showing that a found path is not necessarily optimal.

  17. 17

    Why does the lecture say that breadth-first search does not use backtracking?

    1. A

      It explores only one path and therefore has no alternatives

    2. B

      Backtracking does not help its level-by-level exploration method

    3. C

      It terminates as soon as it reaches any dead end

    4. D

      It uses a heuristic to avoid branches that might fail

    Correct answer
    B

    Backtracking does not help its level-by-level exploration method

    Explanation

    Backtracking is associated with returning from a deep path to an earlier choice point; breadth-first search instead maintains and processes paths level by level.

  18. 18

    How does the queue-based procedure represent its initial search state?

    1. A

      As a list containing only nodes that have already been extended

    2. B

      As a queue containing the one-node path consisting of the start

    3. C

      As a queue containing one path for every possible first move

    4. D

      As a queue containing every complete path to the goal

    Correct answer
    B

    As a queue containing the one-node path consisting of the start

    Explanation

    The procedure begins by initializing the queue with a single path containing only the starting node.

  19. 19

    What does the basic queue-based search do with the first path on the queue?

    1. A

      It removes the path permanently without testing or extending it

    2. B

      It checks whether the path is a goal path and, if not, extends it

    3. C

      It compares the path with every complete path before expanding it

    4. D

      It moves the path to the back before checking whether it reaches the goal

    Correct answer
    B

    It checks whether the path is a goal path and, if not, extends it

    Explanation

    The procedure checks whether the first path is a winner; if it is not, it extends that path and adds the resulting paths to the queue.

  20. 20

    Which queue operation produces depth-first search in the illustrated implementation?

    1. A

      Adding newly extended paths to the back of the queue

    2. B

      Keeping only the paths with the fewest nodes

    3. C

      Sorting all paths by their distance from the goal

    4. D

      Adding newly extended paths to the front of the queue

    Correct answer
    D

    Adding newly extended paths to the front of the queue

    Explanation

    Putting newly generated paths at the front makes the search immediately continue with the paths it has just extended, producing depth-first behavior.

  21. 21

    Which queue operation produces breadth-first search in the illustrated implementation?

    1. A

      Adding newly extended paths to the front of the queue

    2. B

      Sorting the queue by the heuristic distance of each path

    3. C

      Discarding every path that does not end at the goal

    4. D

      Adding newly extended paths to the back of the queue

    Correct answer
    D

    Adding newly extended paths to the back of the queue

    Explanation

    Breadth-first search is obtained by adding newly generated paths to the back of the queue, allowing earlier, shallower paths to be processed first.

  22. 22

    Why can a basic search queue contain redundant paths?

    1. A

      The queue automatically replaces every path with its reverse

    2. B

      A path cannot be extended unless it has already reached the goal

    3. C

      Different paths can terminate at a node that has already been reached and extended

    4. D

      Lexical ordering requires each node to appear in every path

    Correct answer
    C

    Different paths can terminate at a node that has already been reached and extended

    Explanation

    Without a filter, the search may extend multiple paths that reach the same final node, repeating work already performed from that node.

  23. 23

    What information does the extended-node list record?

    1. A

      Nodes that have already been the final node of an extended path

    2. B

      All nodes that occur anywhere in any path in the queue

    3. C

      Nodes that are estimated to be closest to the goal

    4. D

      Nodes that have been removed from the graph permanently

    Correct answer
    A

    Nodes that have already been the final node of an extended path

    Explanation

    The list tracks nodes that have already appeared as the terminal node of a path that was extended.

  24. 24

    When should the extended-node filter prevent a path from being extended?

    1. A

      When its final node has already been extended as the final node of another path

    2. B

      When any node on its path has ever appeared in any other path

    3. C

      When its final node is not the goal node

    4. D

      When it was placed at the back rather than the front of the queue

    Correct answer
    A

    When its final node has already been extended as the final node of another path

    Explanation

    The filter avoids repeating work by not extending a path whose final node has already been extended from a previous path.

  25. 25

    Which statement best describes the extended-node filter's effect on the search methods discussed?

    1. A

      It replaces the need for backtracking in every search method

    2. B

      It is useful only in exhaustive enumeration because other searches avoid repeated nodes automatically

    3. C

      It can reduce redundant work in depth-first and breadth-first search but does not help exhaustive enumeration

    4. D

      It guarantees an optimal solution in breadth-first search but makes depth-first search incomplete

    Correct answer
    C

    It can reduce redundant work in depth-first and breadth-first search but does not help exhaustive enumeration

    Explanation

    The filter can help depth-first and breadth-first search avoid redundant extensions, but it cannot save work when the British Museum approach must enumerate everything.

  26. 26

    How does hill climbing choose among the available branches in the illustrated search?

    1. A

      It always selects the lexically first branch regardless of distance

    2. B

      It prefers the branch whose node appears closer to the goal

    3. C

      It explores all branches at the same depth before choosing one

    4. D

      It prefers the branch with the greatest number of unexplored descendants

    Correct answer
    B

    It prefers the branch whose node appears closer to the goal

    Explanation

    Hill climbing uses a heuristic estimate of closeness to the goal to choose which branch to pursue.

  27. 27

    How does hill climbing differ from depth-first search in its branch selection?

    1. A

      It requires a fixed-width beam at every depth

    2. B

      It uses estimated closeness to the goal rather than lexical order to break ties

    3. C

      It adds every new path to the back of a level-order queue

    4. D

      It explores every path before selecting a branch

    Correct answer
    B

    It uses estimated closeness to the goal rather than lexical order to break ties

    Explanation

    The illustrated hill-climbing method behaves like depth-first search but chooses the apparently closer node rather than following lexical order alone.

  28. 28

    Why is hill climbing classified as an informed search?

    1. A

      It uses heuristic information about how close a state is to the goal

    2. B

      It avoids using any estimates or problem-specific information

    3. C

      It always finds a globally optimal path

    4. D

      It guarantees that every possible path is eventually considered

    Correct answer
    A

    It uses heuristic information about how close a state is to the goal

    Explanation

    Hill climbing is informed because its decisions use additional heuristic information, such as estimated distance to the goal.

  29. 29

    If a problem provides no heuristic measure of closeness to the goal, what limitation does the lecture identify?

    1. A

      The search must use backtracking at every level

    2. B

      The search must enumerate every possible path

    3. C

      The search cannot use that particular closeness-based strategy

    4. D

      The search is automatically guaranteed to find an optimal path

    Correct answer
    C

    The search cannot use that particular closeness-based strategy

    Explanation

    Hill climbing depends on having a heuristic measurement of closeness; if a problem provides none, that information cannot be used.

  30. 30

    What does the hill-climbing example show about a path that moves closer to the goal at each choice?

    1. A

      It can be more direct without necessarily being optimal

    2. B

      It must explore every branch before continuing

    3. C

      It must be optimal because each step improves the heuristic

    4. D

      It cannot reach a dead end if the heuristic is available

    Correct answer
    A

    It can be more direct without necessarily being optimal

    Explanation

    The example shows a more direct path and fewer queue operations, but the lecture explicitly cautions that hill climbing does not necessarily produce the best path.

  31. 31

    In the illustrated hill-climbing choice from the start, why is branch bbb selected instead of branch aaa?

    1. A

      Breadth-first order requires choosing bbb first

    2. B

      Branch aaa has already reached the goal

    3. C

      The heuristic estimates bbb to be closer to the goal

    4. D

      Lexical order ranks bbb before aaa

    Correct answer
    C

    The heuristic estimates bbb to be closer to the goal

    Explanation

    The heuristic indicates that bbb is closer to the goal than aaa, so hill climbing chooses bbb despite the usual lexical ordering.

  32. 32

    When hill climbing finds two choices equally close to the goal in the example, how is the tie resolved?

    1. A

      By returning to the start node

    2. B

      By choosing the path with more nodes

    3. C

      By selecting randomly

    4. D

      By using lexical order

    Correct answer
    D

    By using lexical order

    Explanation

    The search retains lexical order as a tie-breaker when the heuristic distances are equal.

  33. 33

    What is the relationship between beam search and breadth-first search?

    1. A

      Beam search follows breadth-first exploration but limits how many paths it keeps at a level

    2. B

      Beam search enumerates every path and ranks them after completion

    3. C

      Beam search uses no heuristic information and keeps every path

    4. D

      Beam search follows depth-first exploration but adds paths to the back of the queue

    Correct answer
    A

    Beam search follows breadth-first exploration but limits how many paths it keeps at a level

    Explanation

    Beam search is presented as breadth-first search augmented with a limit on the number of paths retained at each level.

  34. 34

    What does a beam width of 222 mean in the illustrated beam search?

    1. A

      The search must find a goal within two levels

    2. B

      The search compares exactly two heuristic measurements in total

    3. C

      The search may expand each node exactly twice

    4. D

      At each level, the search retains at most two promising paths

    Correct answer
    D

    At each level, the search retains at most two promising paths

    Explanation

    Beam width sets the maximum number of paths kept at each level; a width of 222 retains only the two best candidates there.

  35. 35

    How does beam search choose which paths to keep at a level?

    1. A

      It retains the paths that were generated first, regardless of their estimates

    2. B

      It retains the paths that are lexically last

    3. C

      It retains the paths with the most repeated nodes

    4. D

      It retains the paths whose final nodes are estimated to be closest to the goal

    Correct answer
    D

    It retains the paths whose final nodes are estimated to be closest to the goal

    Explanation

    The beam is formed by keeping the best candidates according to the heuristic—in this example, those closest to the goal.

  36. 36

    Why can beam search discard some paths that breadth-first search would retain?

    1. A

      It requires every path to have the same estimated distance

    2. B

      It stops whenever any path reaches a dead end

    3. C

      It limits the paths considered at each level to a fixed beam width

    4. D

      It forbids paths from containing more than two nodes

    Correct answer
    C

    It limits the paths considered at each level to a fixed beam width

    Explanation

    Beam search prunes candidates beyond its fixed width, whereas ordinary breadth-first search does not impose that beam-size limit.

  37. 37

    In the beam-width-two illustration, why are two of the four candidate paths at a level discarded?

    1. A

      Candidates containing a repeated node are always discarded, even if closest

    2. B

      The algorithm randomly removes half of the candidates

    3. C

      Only the two candidates estimated to be closest to the goal are retained

    4. D

      Only candidates beginning with the lexically last node are retained

    Correct answer
    C

    Only the two candidates estimated to be closest to the goal are retained

    Explanation

    The illustrated beam keeps the two candidates closest to the goal and trims the other two.

  38. 38

    Why does the queue insertion location matter less for beam search than for depth-first or breadth-first search?

    1. A

      Beam search always places paths in lexical order

    2. B

      Every beam candidate is immediately expanded before insertion

    3. C

      Beam search never stores paths in a queue

    4. D

      The search keeps only the best www paths, regardless of where candidates are inserted

    Correct answer
    D

    The search keeps only the best www paths, regardless of where candidates are inserted

    Explanation

    The lecture says insertion location does not matter for beam search because the search retains only the best www candidates.

  39. 39

    How does best-first search select work from the search tree?

    1. A

      It follows the deepest path until it reaches a dead end

    2. B

      It expands every leaf before choosing which one to pursue

    3. C

      It works on the leaf node estimated to be closest to the goal

    4. D

      It always extends the first path generated at the current level

    Correct answer
    C

    It works on the leaf node estimated to be closest to the goal

    Explanation

    Best-first search repeatedly selects the leaf node judged closest to the goal, which can cause it to shift among different paths.

  40. 40

    What does the lecture mean when it says best-first search can skip around?

    1. A

      It moves through the map without representing paths

    2. B

      It may switch attention to a promising leaf on a different path in the search tree

    3. C

      It changes the goal whenever one branch becomes difficult

    4. D

      It revisits nodes already extended in order to repeat their work

    Correct answer
    B

    It may switch attention to a promising leaf on a different path in the search tree

    Explanation

    Because it selects the best available leaf across the tree, best-first search may move its attention from one path to another.

  41. 41

    How can best-first search be characterized in relation to heuristic information?

    1. A

      It retains every possible path until the search is complete

    2. B

      It ignores all estimates and processes paths strictly by depth

    3. C

      It chooses branches only by lexical order

    4. D

      It uses estimates of promise to select the next leaf to work on

    Correct answer
    D

    It uses estimates of promise to select the next leaf to work on

    Explanation

    Best-first search uses an estimate—here, closeness to the goal—to decide which leaf should be expanded next.

  42. 42

    What is one possible failure of hill climbing on a landscape with multiple peaks?

    1. A

      It must visit every point on the landscape before choosing a direction

    2. B

      It cannot compare the heights of neighboring points

    3. C

      It always mistakes a flat area for the global maximum

    4. D

      It can stop at a local maximum that is not the global maximum

    Correct answer
    D

    It can stop at a local maximum that is not the global maximum

    Explanation

    Hill climbing can become stuck at a local maximum even when a higher, global maximum exists elsewhere.

  43. 43

    Why does a broad, flat region such as the telephone-pole problem cause difficulty for hill climbing?

    1. A

      The region contains too many distinct goals to compare

    2. B

      Every direction necessarily leads to the global maximum

    3. C

      Neighboring directions may appear equally unhelpful, providing no clear uphill move

    4. D

      The search is forced to switch to breadth-first expansion

    Correct answer
    C

    Neighboring directions may appear equally unhelpful, providing no clear uphill move

    Explanation

    On a flat region, local directional comparisons do not identify a better direction, so hill climbing may fail to make progress.

  44. 44

    How does the telephone-pole problem differ from being trapped at a local maximum?

    1. A

      The search is on a flat plateau rather than at a peak lower than the global maximum

    2. B

      The search has found a goal path but must enumerate all alternatives

    3. C

      The search has reached the global maximum but does not recognize it

    4. D

      The search is following a ridge while every direction points uphill

    Correct answer
    A

    The search is on a flat plateau rather than at a peak lower than the global maximum

    Explanation

    The telephone-pole problem describes a flat area where local comparisons provide no guidance; a local maximum is a peak that can be lower than another peak.

  45. 45

    In the ridge example, why can hill climbing mistakenly conclude that it has reached the top?

    1. A

      The search has reached a flat plateau with no contour lines

    2. B

      The search has already explored every possible route to the peak

    3. C

      Each of the tested compass directions leads downhill even though the current point lies on a rising ridge

    4. D

      The heuristic reports that every point is equally close to the goal

    Correct answer
    C

    Each of the tested compass directions leads downhill even though the current point lies on a rising ridge

    Explanation

    On the illustrated narrow ridge, moving north, south, east, or west lowers the position, even though the ridge rises along a diagonal direction.

  46. 46

    Which feature of the ridge example makes it especially challenging in high-dimensional spaces?

    1. A

      The search cannot use local measurements in any dimension

    2. B

      The highest point is always surrounded by a flat plateau

    3. C

      The search must retain a fixed number of paths at every level

    4. D

      The best direction may not align with any of the limited directions the search tests

    Correct answer
    D

    The best direction may not align with any of the limited directions the search tests

    Explanation

    A narrow ridge can rise in a direction that is not captured by the tested individual directions; the lecture notes this problem is especially acute in high-dimensional spaces.

  47. 47

    In the mountain analogy, how does the described hill-climbing procedure choose its next move?

    1. A

      It descends until it reaches a flat area and then stops

    2. B

      It tests several compass directions and chooses the one that appears to move upward most

    3. C

      It walks toward the nearest visible ranger station without testing alternatives

    4. D

      It selects a direction randomly and never changes course

    Correct answer
    B

    It tests several compass directions and chooses the one that appears to move upward most

    Explanation

    The procedure tests north, east, west, and south, then chooses the direction that appears to make the most upward progress.

  48. 48

    What does the ridge example reveal about local directional tests?

    1. A

      Any point with downhill neighbors must be the global maximum

    2. B

      Testing four directions guarantees that every uphill route will be found

    3. C

      A diagonal ridge can always be followed by lexical ordering

    4. D

      A point can appear locally highest in tested directions without being at the true summit

    Correct answer
    D

    A point can appear locally highest in tested directions without being at the true summit

    Explanation

    The search can be fooled into thinking it is at the top because every tested cardinal move goes downhill, even though a higher ridge continues diagonally.

  49. 49

    How does the lecture connect search to human planning?

    1. A

      Planning involves evaluating choices and considering how they may work

    2. B

      Planning avoids considering possible consequences

    3. C

      Planning is limited to visually finding routes on maps

    4. D

      Planning is described as retrieving a single memorized answer without alternatives

    Correct answer
    A

    Planning involves evaluating choices and considering how they may work

    Explanation

    The lecture suggests that making a plan involves evaluating a set of choices and considering how they work.

  50. 50

    What is an elaboration graph used for in the described story-understanding system?

    1. A

      It orders every story event by lexical order

    2. B

      It measures the physical distance between story characters

    3. C

      It stores only the exact sentences explicitly written in the story

    4. D

      It represents story information along with details inferred from background knowledge

    Correct answer
    D

    It represents story information along with details inferred from background knowledge

    Explanation

    The system builds an elaboration graph from the story and background knowledge, including information produced by common-sense rules.

  51. 51

    How does the system identify a higher-level concept such as revenge in a story?

    1. A

      It asks whether the story is written in simplified English

    2. B

      It searches the elaboration graph for a pattern described by its knowledge of revenge

    3. C

      It counts how many times the word “revenge” appears in the story

    4. D

      It selects the event with the largest number of characters

    Correct answer
    B

    It searches the elaboration graph for a pattern described by its knowledge of revenge

    Explanation

    The system has a description of revenge and searches the elaboration graph to see whether that pattern is instantiated.

  52. 52

    What role can common-sense if-then rules play in identifying a story pattern?

    1. A

      They prevent the elaboration graph from containing implied events

    2. B

      They replace the story's events with unrelated background information

    3. C

      They ensure that every concept is stated explicitly in the story

    4. D

      They can add inferred details that help instantiate a higher-level pattern

    Correct answer
    D

    They can add inferred details that help instantiate a higher-level pattern

    Explanation

    The lecture explains that explicitly stated information and details produced by common-sense if-then rules can together make a pattern detectable.

  53. 53

    What is a Pyrrhic victory as described in the lecture?

    1. A

      A victory achieved without any negative consequences

    2. B

      An apparent success that is followed by a harmful consequence

    3. C

      A conflict in which neither side makes a choice

    4. D

      A defeat that immediately becomes a lasting success

    Correct answer
    B

    An apparent success that is followed by a harmful consequence

    Explanation

    A Pyrrhic victory is presented as a situation that seems to be going well at first but turns out badly later.

  54. 54

    Why is Macbeth's rise to kingship treated as a Pyrrhic victory in the example?

    1. A

      He is killed before he has any chance to pursue kingship

    2. B

      He becomes king without any later consequences

    3. C

      He fails to become king and then peacefully leaves Scotland

    4. D

      He becomes king, but is eventually killed as a consequence

    Correct answer
    D

    He becomes king, but is eventually killed as a consequence

    Explanation

    Macbeth wants to become king and achieves that goal, but he is eventually killed in consequence, making the success costly.

  55. 55

    How does the system obtain common-sense explanations for a question about why one character acted?

    1. A

      It checks whether the question contains a map or route

    2. B

      It retrieves the answer from the spelling of the character's name

    3. C

      It searches only for higher-level concepts in the elaboration graph

    4. D

      It examines local connections in the goal tree

    Correct answer
    D

    It examines local connections in the goal tree

    Explanation

    The lecture says common-sense answers are obtained by looking locally around connections in the goal tree.

  56. 56

    How does the system produce reflective-level explanations about an incident?

    1. A

      It identifies the shortest path between the characters involved

    2. B

      It reports higher-level thoughts found by searches and checks which contain the incident

    3. C

      It derives the answer solely from the local connections in the goal tree

    4. D

      It repeats only the explicit sentences that mention the incident

    Correct answer
    B

    It reports higher-level thoughts found by searches and checks which contain the incident

    Explanation

    Reflective-level answers report higher-level thoughts about the system's own thoughts and identify which of those thoughts include the incident.

  57. 57

    What tradeoff does the lecture describe when preparing stories for the system?

    1. A

      People can either translate the story into a map or eliminate its characters

    2. B

      People can either remove all background knowledge or remove all story events

    3. C

      People can either write only dialogue or prevent the system from searching

    4. D

      People can simplify the story into basic English or annotate a more natural version

    Correct answer
    D

    People can simplify the story into basic English or annotate a more natural version

    Explanation

    The lecture describes two approaches: rewrite the plot in simple English or annotate a more natural adult version so the system can process it.

  58. 58

    What role does the parser play in the described English answer generation?

    1. A

      It determines which paths are closest to the goal

    2. B

      It stores the list of nodes already extended by the queue

    3. C

      It converts the story into a map before the search begins

    4. D

      It is connected so that it can run in reverse to generate English output

    Correct answer
    D

    It is connected so that it can run in reverse to generate English output

    Explanation

    The lecture explains that the language output was connected to a parser system running in reverse to generate English.

Question 1 of 58
Question 1 of 58

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent