4. Uninformed Search Flashcards

1
Q

What is the goal of problem-solving in AI?

A

To find the best solution among possible options.

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

What are the basic requirements for solving a problem automatically?

A

A representation of the problem and algorithms with a strategy to solve it.

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

What is a search space?

A

The set of all feasible solutions among which the desired solution resides.

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

What is a state space graph?

A

A mathematical representation of states in a search strategy, where nodes represent state configurations and edges represent actions.

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

What is a search tree?

A

An instantiation of the state space graph representing possible outcomes.

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

What are the five components of a search problem?

A
  1. Initial state, 2. Actions, 3. Successor function, 4. Goal test, 5. Path cost function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the key concepts of a search approach?

A

Frontier (partial plans under consideration), Expansion (expanding plans), and Exploration strategy (minimizing nodes explored).

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

What properties are used to evaluate search algorithms?

A

Completeness, Optimality, Time Complexity, and Space Complexity.

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

What is the general tree search algorithm?

A

A strategy where a frontier is initialized with the initial state, nodes are expanded, and solutions are found through iteration.

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

What is Depth-First Search (DFS)?

A

A search strategy that expands the deepest node first using a Last-In-First-Out (LIFO) stack.

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

Is DFS complete and optimal?

A

DFS is complete only if the search depth is finite, but it is not optimal as it finds the left-most solution regardless of cost.

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

What is Breadth-First Search (BFS)?

A

A search strategy that expands the shallowest node first using a First-In-First-Out (FIFO) queue.

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

Is BFS complete and optimal?

A

BFS is complete if the branching factor is finite and optimal if all costs are equal.

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

What are the time and space complexities of BFS?

A

Both are O(b^m), where b is the branching factor and m is the depth.

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

What is Uniform-Cost Search (UCS)?

A

A search algorithm that expands the node with the cheapest cost first, using a priority queue.

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

What data structure does UCS use?

A

A priority queue, where nodes with the lowest path cost are expanded first.

17
Q

Is UCS complete and optimal?

A

Yes, if the smallest cost is positive (ε > 0).

18
Q

How does UCS differ from Dijkstra’s algorithm?

A

UCS finds the single best path to the goal, while Dijkstra’s algorithm finds the shortest paths to all nodes.