Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lecture 2b: Solving Search Problems - Parte1

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

What is the methodology to carry out the Solution search?

a)

Execute the goal test

b)

Stop the search after 3 iterations

c)

Start with the final state

d)

Choose a random state to expand

2.

How do we decide which node from the frontier to expand next in Best-First Search?

a)

Choose a node with minimum value of h(n)

b)

Choose a node with maximum value of g(n)

c)

Choose a node with minimum value of f(n)

d)

Choose a node with maximum value of f(n)

3.

What are the components of a Tree Node in the search data structures?

a)

State, Child, Operator, Path length, Depth

b)

State, Parent, Operator, Path cost, Depth

c)

State, Parent, Action, Path cost, Height

d)

State, Sibling, Operator, Path cost, Depth

4.

Which search strategy expands nodes at the lowest depth first?

a)

Uniform Cost Search

b)

Depth-First Search

c)

Breadth-First Search

d)

Iterative Deepening Search

5.

What is the time complexity of Breadth-First Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b/d)

b)

O(b+d)

c)

O(b*d)

d)

O(b^d)

6.

What is the strategy of Dijkstra’s algorithm/Uniform Cost Search?

a)

Expand the node with the highest cost

b)

Expand the node with the highest depth

c)

Expand the node with the lowest cost

d)

Expand the node with the lowest depth

7.

What is the time complexity of Depth-First Search in terms of the maximum branching factor (b) and maximum depth of the state space (m)?

a)

O(b*m)

b)

O(b+m)

c)

O(b-m)

d)

O(b^m)

8.

What is the strategy of Iterative Deepening Search?

a)

Perform unlimited depth search, iteratively, always decreasing the depth limit

b)

Perform unlimited depth search, iteratively, always increasing the depth limit

c)

Perform limited depth search, iteratively, always increasing the depth limit

d)

Perform limited depth search, iteratively, always decreasing the depth limit

9.

Which search strategy is good for problems with lots of solutions and very little memory required?

a)

Iterative Deepening Search

b)

Breadth-First Search

c)

Depth-First Search

d)

Uniform Cost Search

10.

What is the space complexity of Breadth-First Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b^d)

b)

O(b*d)

c)

O(b+d)

d)

O(b/d)

11.

What is the complexity in time and space of Iterative Deepening Search?

a)

O(bd) and O(bd)

b)

O(b+d) and O(b-m)

c)

O(b*d) and O(bm)

d)

O(b^d) and O(bd)

12.

What is the strategy of Breadth-First Search?

a)

Expand nodes at lowest depth first

b)

Expand the node with the highest depth

c)

Expand the node with the lowest cost

d)

Expand the node with the highest cost

13.

What is the strategy of Depth-First Search?

a)

Expand the node with the lowest cost

b)

Expand the node with the highest cost

c)

Expand the node with the highest depth

d)

Always expand one of the deepest nodes in the tree

14.

What is the strategy of Uniform Cost Search?

a)

Expand the node with the lowest cost

b)

Expand the node with the highest cost

c)

Expand the node with the highest depth

d)

Always expand the border node with the lowest cost

15.

What is the strategy of A* Search?

a)

Expand the node with the lowest cost

b)

Expand the node with the highest cost

c)

Expand the node with the lowest depth

d)

Expand the node with the highest depth

16.

What is the time complexity of A* Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b/d)

b)

O(b+d)

c)

O(b*d)

d)

O(b^d)

17.

What is the space complexity of A* Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b^d)

b)

O(b*d)

c)

O(b+d)

d)

O(b/d)

18.

What is the time complexity of Greedy Best-First Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b/d)

b)

O(b+d)

c)

O(b*d)

d)

O(b^d)

19.

What is the space complexity of Depth-Limited Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b^d)

b)

O(b*d)

c)

O(b+d)

d)

O(b/d)

20.

What is the strategy of Hill Climbing Search?

a)

Always move to the neighbor with the highest value

b)

Always move to the neighbor with the lowest value

c)

Move to a random neighbor

d)

Move to the neighbor with the lowest value only if it improves the current state

21.

What is the time complexity of Depth-Limited Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b^d)

b)

O(b*d)

c)

O(b+d)

d)

O(b/d)

22.

What is the space complexity of Depth-Limited Search in terms of the maximum branching factor (b) and depth of the least-cost solution (d)?

a)

O(b^d)

b)

O(b*d)

c)

O(b+d)

d)

O(b/d)

23.

What is the strategy of Uniform Cost Search?

a)

Expand the node with the lowest cost

b)

Expand the node with the highest cost

c)

Expand the node with the highest depth

d)

Always expand the border node with the lowest cost