# Which search agent operates by interleaving computation and action?

1. Which search agent operates by interleaving computation and action?

a) Offline search

b) Online search

d) Depth-first search

Explanation: In online search, it will first take an action and then observes the environment.

2. What is called as exploration problem?

a) State and actions are unknown to the agent

b) State and actions are known to the agent

c) Only actions are known to agent

d) None of the mentioned

Explanation: Online search is a necessary idea for an exploration problem where the states and actions are unknown to the agent.

3. Which are necessary for an agent to solve an online search problem?

a) Actions

b) Step-cost function

c) Goal-test

d) All of the mentioned

Explanation: An online search problem can be solved by an agent executing actions, So these functions are necessary.

4. When do we call the states are safely explorable?

a) A goal state is unreachable from any state

b) A goal state is denied access

c) A goal state is reachable from every state

d) None of the mentioned

5. In which state spaces does the online-dfs-agent will work?

a) Irreversible state spaces

b) Reversible state spaces

c) searchable state spaces

d) All of the mentioned

Explanation: Online-DFS-Agent will work only state spaces where the actions are reversible.

6. Which of the following algorithm is online search algorithm?

b) Depth-first search algorithm

c) Hill-climbing search algorithm

d) None of the mentioned

Explanation: Hill-climbing search algorithm will have only current state in memory, So it is a online search algorithm.

7. Which search algorithm will use limited amount of memory?

a) RBFS

b) SMA*

c) Hill-climbing search algorithm

d) Both RBFS & SMA*

Explanation: RBFE and SMA* will solve any kind of problem that A* can’t by using limited amount of memory.

8. What is meant by simulated annealing in artificial intelligence?

a) Returns an optimal solution when there is a proper cooling schedule

b) Returns an optimal solution when there is no proper cooling schedule

c) It will not return an optimal solution when there is a proper cooling schedule

d) None of the mentioned

Explanation: None

9. How the new states are generated in genetic algorithm?

a) Composition

b) Mutation

c) Cross-over

d) Both Mutation & Cross-over

Explanation: New states are generated by mutation and by crossover, which combines a pair of states from the population.

10. Which method is effective for escaping from local minima?

a) Updating heuristic estimate

b) Reducing heuristic estimate

c) Eliminating heuristic estimate

d) None of the mentioned