Unit 2 Problem Solving MCQ
Unit 2 Problem Solving MCQ
A. Solve the given problem and reach to goal
B. To find out which sequence of action will get it to the goal state
C. Both A and B
D. None of the Above
View Answer
Ans : C
Explanation: Depth-First Search implemented in recursion with LIFO stack data structure.
Explanation: The five types of uninformed search method are Breadth-first, Uniform-cost, Depth-first,
Depth-limited and Bidirectional search.
Explanation: Queue is the most convenient data structure, but memory used to store nodes can be
reduced by using circular queues.
Explanation: The four types of informed search method are best-first search, Greedy best-first search,
A* search and memory bounded heuristic search.
Explanation: Sometimes minimum heuristics can be used, sometimes maximum heuristics function
can be used. It depends upon the application on which the algorithm is applied.
Explanation: The disadvantage of Greedy Best First Search is that it can get stuck in loops. It is not
optimal.
10. Searching using query on Internet is, use of ___________ type of agent.
A. Offline agent
B. Online Agent
C. Goal Based
D. Both B and C
View Answer
Ans : D
Explanation: Branching Factor : The average number of child nodes in the problem space graph.
13. The process of removing detail from a given state representation is called
______
A. Extraction
B. Abstraction
C. Information Retrieval
D. Mining of data
View Answer
Ans : B
14. Which of the following search algorithm searches forward from initial state
and backward from goal state till both meet to identify a common state?
A. Uniform Cost Search
B. Iterative Deepening Depth-First Search
C. Bidirectional Search
D. None of the Above
View Answer
Ans : C
Explanation: Bidirectional Search searches forward from initial state and backward from goal state till
both meet to identify a common state.
Explanation: Uniform-cost search expands the node n with the lowest path cost. Note that if all step
costs are equal, this is identical to breadth-first search.
Explanation: Best-first-search is giving the idea of optimization and quick choose of path, and all these
characteristic lies in A* algorithm.
Explanation: When no neighbor is having higher value, algorithm terminates fetching local min/max.
Explanation: Yes, optimality and completeness both exist in bidirectional search algorithm
23) The problem-solving agent with several immediate options of unknown value can determine
that what to do by just investigating the various possible sequences of actions that lead to states
of known value, and then selecting the best sequence among all. This kind of looking for such a
sequence is commonly called Search.
(A). True
(B). False (C). Partially True
MCQ Answer is: a
3. The problem-solving agent with several immediate options of unknown value can decide what to do by
just examining different possible sequences of actions that lead to states of known value, and then
choosing the best sequence. This process of looking for such a sequence is called Search.
a) True
b) False
Answer: a
Explanation: Refer to the definition of problem-solving agent.
5. The Set of actions for a problem in a state space is formulated by a ___________
a) Intermediate states
b) Initial state
c) Successor function, which takes current action and returns next immediate state
d) None of the mentioned
Answer: c
Explanation: The most common formulation for actions uses a successor function. Given a particular state x,
SUCCESSOR-FN(x) returns a set of (action, successor) ordered pairs, where each action is one of the legal
actions in state x and each successor is a state that can be reached from x by applying the action.
6. A solution to a problem is a path from the initial state to a goal state. Solution quality
is measured by the path cost function, and an optimal solution has the highest path
cost among all solutions.
a) True
b) False
Answer: a
Explanation: A solution to a problem is a path from the initial state to a goal state. Solution quality is measured
by the path cost function, and an optimal solution has the lowest path cost among all solutions.
7. The process of removing detail from a given state representation is called ______
a) Extraction
b) Abstraction
c) Information Retrieval
d) Mining of data
Answer: b
Explanation: The process of removing detail from a representation is called abstraction.
Answer: d
Explanation: Problem-solving approach works well for toy problems and real-world problems.
9. What is the major component/components for measuring the performance of problem solving?
a) Completeness
b) Optimality
c) Time and Space complexity
d) All of the mentioned
Answer: d
Explanation: For best performance consideration of all component is necessary.
13.The time and space complexity of BFS is (For time and space complexity problems consider b as
branching factor and d as depth of the search tree.)
a) O(bd+1) and O(bd+1)
b) O(b2) and O(d2)
c) O(d2) and O(b2)
d) O(d2) and O(d2)
Answer: a
Explanation: We consider a hypothetical state space where every state has b successors. The root of the
search tree generates b nodes at the first level, each of which generates b more nodes, for a total of b2 at the
second level. Each of these generates b more nodes, yielding b3 nodes at the third level, and so on. Now
suppose that the solution is at depth d. In the worst case, we would expand all but the last node at level d
(since the goal itself is not expanded), generating bd+1- b nodes at level d+1.
14.Breadth-first search is not optimal when all step costs are equal, because it always expands the
shallowest unexpanded node.
a) True
b) False
Answer: b
Explanation: Breadth-first search is optimal when all step costs are equal, because it always expands the
shallowest unexpanded node. If the solution exists in shallowest node no irrelevant nodes are expanded.
Answer: a
Explanation: Uniform-cost search expands the node n with the lowest path cost. Note that if all step costs are
equal, this is identical to breadth-first search.
16.Depth-first search always expands the ______ node in the current fringe of the search tree.
a) Shallowest
b) Child node
c) Deepest
d) Minimum cost
Answer: c
Explanation: Depth-first search always expands the deepest/leaf node in the current fringe of the search tree
17.Breadth-first search always expands the ______ node in the current fringe of the search tree.
a) Shallowest
b) Child node
c) Deepest
d) Minimum cost
Answer: a
Explanation: Breadth-first search always expands the shallowest node in the current fringe of the search tree.
Traversal is performed level wise.
Answer: b
Explanation: It always expands the shallowest unexpanded node.
19.When the environment of an agent is partially observable in search space following problem/problems
could occur.
a) Sensorless problems: If the agent has no sensors at all, then (as far as it knows) it could be in one
of several possible initial states, and each action might therefore lead to one of several possible
successor states
b) Contingency problems: If the environment is partially observable or if actions are uncertain, then the
agent’s percepts provide new information after each action. Each possible percept defines a
contingency that must be planned for. A problem is called adversarial if the uncertainty is caused by
the actions of another agent
c) Exploration problems: When the states and actions of the environment are unknown, the agent must
act to discover them. Exploration problems can be viewed as an extreme case of contingency
problems
d) All of the mentioned
Answer: d
20.For general graph, how one can get rid of repeated states?
a) By maintaining a list of visited vertices
b) By maintaining a list of traversed edges
c) By maintaining a list of non-visited vertices
d) By maintaining a list of non-traversed edges
Answer: a
Explanation: Other techniques are costly.
Answer: a
21.The main idea of Bidirectional search is to reduce the time complexity by searching two way
simultaneously from start node and another from goal node.
a) True
b) False
Answer: a
Explanation: The idea behind bidirectional search is to run two simultaneous searches-one forward from the
initial state and the other backward from the goal, stopping when the two searches meet in the middle. The
motivation is that bd/2 + bd/2 is much less than bd.