Week 3: AI Search & Problem Solving Flashcards

1
Q

What is a problem-solving agent in AI?

A

An agent that formulates goals and problems, searches for solutions, and executes actions to reach a goal state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List the four main steps of a problem-solving agent.

A

Goal formulation, problem formulation, search, and execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What defines a well-structured search problem?

A

Initial state, actions, transition model, goal test, and path cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the initial state in a search problem?

A

The starting point or configuration of the agent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a transition model?

A

A function that returns the resulting state after applying an action in a given state: Result(s, a).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a goal test?

A

A test to determine whether a given state satisfies the goal condition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a path cost?

A

A numerical value representing the cost of a sequence of actions leading to a state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define state space.

A

The set of all states reachable from the initial state through any sequence of actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between state and node?

A

State is a configuration; node is a data structure in a search tree that includes state, parent, action, and path cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the frontier in search algorithms?

A

A data structure containing nodes that have been generated but not yet expanded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the explored set?

A

A set of states that have already been visited and expanded to avoid repetition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is uninformed search?

A

Search that uses no domain-specific knowledge; only the problem definition guides the search.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Name two common uninformed search strategies.

A

Breadth-first search (BFS) and Depth-first search (DFS).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is breadth-first search (BFS)?

A

A search that expands the shallowest unexpanded nodes first, using a FIFO queue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is depth-first search (DFS)?

A

A search that expands the deepest unexpanded nodes first, using a LIFO stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a tree search?

A

A search method that explores nodes without keeping track of previously visited states.

17
Q

What is a graph search?

A

A search method that keeps track of explored states to avoid redundant exploration.

18
Q

What is a solution in search?

A

A sequence of actions that leads from the initial state to a goal state.

19
Q

What are the performance criteria for search algorithms?

A

Completeness, optimality, time complexity, and space complexity.

20
Q

What is a toy problem?

A

A simplified, abstract problem used to test search algorithms (e.g., vacuum world, 8-puzzle).

21
Q

Give an example of a real-world search problem.

A

Route finding for GPS navigation or airline travel planning.

22
Q

What is the 8-puzzle?

A

A sliding tile puzzle with 8 numbered tiles and one blank, solved by arranging tiles into a goal configuration.

23
Q

What is a state abstraction?

A

A simplification of the problem by removing irrelevant details from state descriptions.

24
Q

What is the difference between BFS and DFS in terms of memory use?

A

BFS uses more memory due to wide exploration; DFS uses less but may get stuck in deep branches.

25
What is the purpose of canonical form in search?
To ensure logically equivalent states are treated as identical for efficiency in explored set checks.