• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 15 pages
Exam (elaborations)

CPE 126 Introduction to Artificial Intelligence Module 3 Exam questions and correct answers.pdf

Document preview thumbnail
Preview 2 out of 15 pages

CPE 126 Introduction to Artificial Intelligence Module 3 Exam questions and correct CPE 126 Introduction to Artificial Intelligence Module 3 Exam questions and correct CPE 126 Introduction to Artificial Intelligence Module 3 Exam questions and correct

Content preview

CPE 126 Introduction to Artificial Intelligence
Module 3 Exam | 40 Questions and Answers |
2026 Update | 100% Correct - Mapúa
University.


CPE 126 Introduction to Artificial Intelligence Module 3 Exam | 40 Questions and Answers |
2026 Update | 100% Correct - Mapúa University




SECTION 1: Search Algorithms and Problem Solving



1. Which search algorithm explores all nodes at the present depth before moving to nodes at
the next depth level?

A) Depth-First Search (DFS)
B) Breadth-First Search (BFS)
C) Uniform-Cost Search (UCS)
D) A* Search

Correct Answer: B
Explanation: Breadth-First Search (BFS) explores all nodes at the present depth before moving
to nodes at the next depth level. It uses a queue (FIFO) and is complete and optimal for
unweighted graphs. DFS uses a stack (LIFO), UCS expands the lowest-cost node, and A* uses
heuristics.



2. A student is studying the rotation of the search tree to evaluate the completeness of
algorithms. Which search algorithm is guaranteed to find a solution if one exists?

A) Depth-First Search (DFS)
B) Breadth-First Search (BFS)

, C) Greedy Best-First Search
D) Hill Climbing

Correct Answer: B
Explanation: The rotation of the search tree for BFS guarantees finding a solution if one exists
(complete) because it explores all nodes level by level. DFS may get stuck in infinite loops,
Greedy Best-First Search may not be complete, and Hill Climbing can get stuck in local optima.



3. Which of the following is an admissible heuristic for the A search algorithm?*

A) A heuristic that overestimates the cost to the goal
B) A heuristic that never overestimates the cost to the goal
C) A heuristic that is always zero
D) A heuristic that is random

Correct Answer: B
Explanation: An admissible heuristic never overestimates the cost to reach the goal. This
ensures that A* search is optimal. A heuristic that overestimates may lead to suboptimal
solutions.



4. A student is studying the rotation of the nodes in a search algorithm. What is the time
complexity of Breadth-First Search (BFS) in terms of branching factor (b) and depth (d)?

A) O(b^d)
B) O(bd)
C) O(d^b)
D) O(b + d)

Correct Answer: A
Explanation: The rotation of the nodes in BFS: the time complexity is O(b^d), where b is the
branching factor and d is the depth of the shallowest goal. This is because BFS explores all
nodes at each level before moving deeper.



5. Which search algorithm uses a priority queue based on the cost of the path from the start
node?

A) Depth-First Search (DFS)
B) Breadth-First Search (BFS)

Document information

Uploaded on
September 17, 2026
Number of pages
15
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
442
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions