Day 5 Flashcards

1
Q

Problem-solving agents are the goal-based agents and use atomic representation
True
False

A

True

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

Properties of Search Algorithms:

A

o Completeness
o Optimality
o Time Complexity
o Space Complexity

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

Completeness: A search algorithm is said to be complete if it guarantees to return a
solution if at least any solution exists for any random input.
True
False

A

True

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

Optimality: If a solution found for an algorithm is guaranteed to be the best solution
(lowest path cost) among all other solutions, then such a solution for is said to be an
optimal solution.

A

True

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

Time Complexity: Time complexity is a measure of time for an algorithm to complete its task.

A

True

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

Space Complexity: It is the maximum storage space required at any point during the
search, as the complexity of the problem.

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

A search problem can have three main factors:

A

➢ Search Space: Search space represents a set of possible solutions, which a system may have.
➢ Start State: It is a state from where agent begins the search.
➢ Goal test: It is a function which observe the current state and returns whether the goal state is achieved or not.

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

—————- represents a set of possible solutions, which a system may have.

A

Search space

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

———– It is a state from where agent begins the search.

A

Start State

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

——— It is a function which observe the current state and returns whether the goal state is achieved or not.
➢ Goal test
➢Start State
➢ Search Space

A

➢ Goal test

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

Search tree: A tree representation of search problem is called Search tree. The root of the search tree is the root node which is corresponding to the initial state.
True
False

A

True

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

Actions: It gives the description of all the available actions to the agent.

A

Actions: It gives the description of all the available actions to the agent.

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

Transition model: A description of what each action do, can be represented as a transition model.

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

—————- It is a function which assigns a numeric cost to each path.

A

Path Cost:

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

———– It is an action sequence which leads from the start node to the goal node.

A

Solution

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

————— If a solution has the lowest cost among all solutions.

A

Optimal Solution

17
Q
search algorithms terminologies:
1-Search Space
2-Start state 
3-Goal solution
4-Search tree
5-Actions
6-Transition Model
7-Path coast
8-Solution
9-Optimal Solution
A
18
Q

Based on the search problems we can classify the search algorithms into uninformed (Blind search) search and informed search (Heuristic search) algorithms.

A

True

19
Q

—————– search does not contain any domain knowledge such as closeness, the
location of the goal. It operates in a brute-force way as it only includes information about
how to traverse the tree and how to identify leaf and goal nodes. so, it is also called blind
search. It examines each node of the tree until it achieves the goal node

A

The uninformed

20
Q

————– search algorithms use domain knowledge. In an ————- search, problem information is available which can guide the search. ———— search strategies can find a solution more efficiently than an uninformed search strategy. ——— search is also called a Heuristic search.

A

Informed

21
Q

A heuristic is a way which might always be guaranteed for best solutions but guaranteed to find a good solution in reasonable time.
True
False

A

False
A heuristic is a way which might not always be guaranteed for best solutions but guaranteed to find a good solution in reasonable time.

22
Q

uninformed search:

A
1-Breadth first search
2-Depth first search
3-Uniformed coast search
4-Depth limited search
5-Iterative deeping depth first search
6-Bidirectional Search
23
Q

Informed Search

A

Best First Search

A* Search

24
Q

Breadth-first search is the most common search strategy for traversing a tree or graph.
This algorithm searches breadthwise in a tree or graph, so it is called breadth-first search

A
25
Q

DFS algorithm starts searching from the root node of the tree and expands all successor node at the current level before moving to nodes of next level.
True
Fasle

A

Fasle

BFS

26
Q

Advantages
o BFS will provide a solution if any solution exists.
o If there are more than one solutions for a given problem, then BFS will provide the minimal solution which requires the least number of steps.

A
27
Q

Advantages
o BFS will provide a solution if any solution exists.
o If there are more than one solutions for a given problem, then BFS will provide the minimal solution which requires the least number of steps.

A
  • will find the solution if is the tree

- the minimal solution(least number of steps)

28
Q

Disadvantages
o It requires lots of memory since each level of the tree must be saved into memory to
expand the next level.
o BFS needs lots of time if the solution is far away from the root node.

A
29
Q

Breadth-first search implemented using LIFO queue data structure.
True
False

A

False

FIFO