Artificial Intelligence Answer Key
Artificial Intelligence Answer Key
Module 1
Artificial Intelligence (AI) is the science and engineering of making intelligent machines capable of
performing tasks that require human intelligence. Foundations of AI include disciplines like
2a. Comparisons:
A problem-solving agent formulates goals, designs actions, and executes plans to achieve them.
Example: Solving the 8-puzzle problem involves defining states, operators, and a goal test.
The state space is defined by the agent's location and the cleanliness of rooms. Actions include
moving left/right or cleaning (suck). Transitions are represented as edges in the state graph.
Breadth-First Search (BFS): Explores all nodes at the current depth before moving deeper.
Depth-First Search (DFS): Explores as far as possible along a branch before backtracking.
A* uses a heuristic function h(n) and path cost g(n) to find the least-cost path. Example: Use
Agents using a knowledge base for reasoning and decision-making. TELL adds knowledge, and
Calculate heuristic and path costs to find solutions. Maintain open and closed lists for efficient
search.
Use propositional logic to represent facts and infer the Wumpus's location using logical reasoning.
Module 4
First-order logic uses variables, constants, functions, predicates, and quantifiers for representation.
Steps include: Identify task, gather knowledge, represent knowledge, implement system, and test.
Uses inference rules to deduce conclusions from known facts. Example: Diagnosing diseases based
on symptoms.
8b. Unification:
Matches variables in logical statements for reasoning. Example: Matching predicates to unify
knowledge.
Module 5
Works from goal to known facts, verifying if conditions are met. Example: Proving a theorem by
verifying premises.
Uses state-space search to plan actions. Example: Blocks World involves stacking blocks to match
a goal configuration.
Resolution proves statements by refutation. Uses conjunctive normal form and inference rules.