Docsity

AI set-B answer key pdf, Exercises of Artificial Intelligence

Toggle sidebar
bg1
SRM Institute of Science and Technology
College of Engineering and Technology
School of Computing
SRM Nagar, Kattankulathur – 603203, Chengalpattu District, Tamilnadu
Academic Year: 2023-24 (EVEN)
Test: CLAT-2 Date: 2nd April 2024
Course Code & Title:21CSC206T – Artificial Intelligence Duration: 2 periods
Year & Sem: II /4th Max. Marks: 50
Course Articulation Matrix:
PO
PSO
1
2
3
4
5
6
7
8
9
10
11
12
1
2
3
CO1
1
2
-
-
-
-
-
-
-
-
-
-
-
-
-
CO2
1
2
3
-
-
-
-
-
-
-
-
-
-
-
-
CO3
-
2
2
-
-
-
-
-
-
-
-
-
-
-
-
CO4
1
2
-
-
-
-
-
-
-
-
-
-
-
-
-
CO5
3
2
3
-
-
-
-
-
2
-
-
-
-
-
-
Q
.
N
o
Marks
BL
CO
PO
PI
Code
Ma
rk
Sco
red
Part – A ( 10 x 1 = 10 Marks) Instructions: Answer ALL
1
1
1
2
1
1.6.1
2
1
1
2
1
1.6.1
3
1
1
2
1
1.6.1
4
1
1
2
1
1.6.1
5
Agents behavior
Agent function
Rational agent
right thing
1
1
3
2
2.7.1
6
1
1
3
2
2.7.1
7
1
1
3
2
2.7.1
8
1
1
4
1
1.6.1
pf3
pf4
pf5

Partial preview of the text

Download AI set-B answer key pdf and more Exercises Artificial Intelligence in PDF only on Docsity!

SRM Institute of Science and Technology

College of Engineering and Technology

School of Computing

SRM Nagar, Kattankulathur – 603203, Chengalpattu District, Tamilnadu Academic Year: 2023-24 (EVEN) Test: CLAT-2 Date: 2nd^ April 2024 Course Code & Title: 21CSC206T – Artificial Intelligence Duration: 2 periods Year & Sem: II /4th^ Max. Marks: 50 Course Articulation Matrix: PO PSO 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 CO1 1 2 - - - - - - - - - - - - - CO2 1 2 3 - - - - - - - - - - - - CO3 - 2 2 - - - - - - - - - - - - CO4 1 2 - - - - - - - - - - - - - CO5 3 2 3 - - - - - 2 - - - - - - Q . N o Question Marks BL CO PO

PI

Code Ma rk Sco red Part – A ( 10 x 1 = 10 Marks) Instructions: Answer ALL 1 ___________data structure is suitable for implementing Breadth-First Search (BFS) Ans: Queue

2 Uniform Cost Search uses a data structure called a _________ to prioritize the nodes for expansion Ans: Priority queue

3 Best First Search is an informed search algorithm that selects the node for expansion based on _________. Ans: heuristic function value

4 The task environment of an agent is described by PEAS which stands for

Ans: Performance measures, Environment, Actuators, and Sensors

Match the following: Agents behavior Agent function Rational agent right thing

6 Which of the following is the odd one out? ● Reflex Agent ● Model-based Agent ● Utility-based Agent ● Random Agent

7 Which of the following statements is true about the “Mini Max Algorithm”? ● It is not a backtracking algorithm. ● It performs a Breath first search algorithm for the exploration of the complete game tree. ● It proceeds down to the terminal node of the tree, and then backtracks the tree as the recursion. ● It is used in multiple-player games.

8 Which of the following statements is true about the “Simple Reflex agent”? ● This agent only succeeds in the partially observable environment. ● This agent considers any the percept history during their decision and action process. ● This agent works on the condition-action rule, which means it maps the current state to action. ● It is adaptive to changes in the environment.

Q

N

o Question Marks BL CO PO

PI

Code rk Sco red 9 Which of the following statements is false about the “Forward and Backward Chaining”? ● Forward chaining infers conclusions from premises. ● Backward chaining starts with the goal and progresses. ● Backward chaining not is goal-oriented. ● Forward chaining is data-driven.

10 Which of the following statements is false about the “Inferences”? ● Observations lead to accurate inferential conclusions. ● Contextual clues assist in making inferences. ● Inferences facilitate deeper comprehension of texts. ● Invalid inferences align with available information.

Part – B ( 3 x 8 = 24 Marks) 11 (a) Describe the basic idea behind Uniform Cost Search (UCS) and explain how it differs from other uninformed search algorithms such as Breadth-First Search (BFS) and Depth-First Search (DFS). Provide an example to illustrate the working of UCS. Answer Key: ● Differences (2 Marks) ● Example(4 marks) (OR) (b) Explain the working principle of Breadth First Search (BFS) algorithm. Provide a step-by-step illustration with the help of a sample graph. Answer Key: ● Algorithm (4 Marks) ● Example (4 Marks)

12 (a) Discuss the different types of agents commonly encountered in artificial intelligence. Provide examples of each type.

● Simple reflex agents (2 Marks)

● Model-based reflex agents (2 Marks)

● Goal-based agents (2 Marks)

● Utility-based agents(2 Marks)

(OR)

(b) COOK + MORE = BAKER Each letter represents a unique digit from 0 to 9. Solve for the values of C, O, K, M, R, B, A, E to make the equation valid. Answer Key:

C=8, O=3,K=6,M=4,R=5,E=9,B=1,A=

13 (a) Discuss the challenges associated with representing knowledge in AI systems. How do different knowledge representation techniques address these challenges? Answer Key: Challenges:

  1. Ambiguity: Handling information with multiple meanings or interpretations.
  2. Incompleteness: Dealing with partial or missing knowledge.
  3. Scalability: Managing vast amounts of data and knowledge.
  4. Inference: Enabling machines to reason and draw conclusions from knowledge. Different knowledge representation techniques

Q

N

o Question Marks BL CO PO

PI

Code rk Sco red In alpha-beta pruning, the alpha value represents the best (highest) value that the maximizing player (AI) has found so far along the path to the root, while the beta value represents the best (lowest) value that the minimizing player (opponent) has found so far along the path to the root. Since the alpha value at the child node is 4, it means that the maximizing player (AI) has found a move that leads to a value of at least 4. Since alpha represents the best value found so far, it is updated to 4 at this child node. Now, consider the implications for exploring the sibling nodes:

  1. If the sibling nodes are maximizing nodes (AI's moves), then the AI would be interested in finding moves that improve its position further. Since the alpha value at the current node is 4, and it represents the best value found so far for the maximizing player, any sibling node with a beta value less than or equal to 4 (i.e., worse than the current best move) can be pruned. This is because the opponent would not choose a move that leads to a worse outcome for the AI than it has already found.
  2. If the sibling nodes are minimizing nodes (opponent's moves), then the opponent would be trying to minimize the AI's score. Since the beta value at the parent node is 5, representing the best value that the opponent has found so far, any sibling node with an alpha value greater than or equal to 5 (i.e., better for the AI than the best move found so far by the opponent) can be pruned. This is because the opponent would not choose a move that leads to a better outcome for the AI than it has already found. 15 You are developing an AI system to find the shortest path for a delivery robot navigating through a city grid given below with varying terrain costs. Describe how you would implement the A* Search algorithm for this scenario, considering factors such as heuristic functions, node expansion, and path cost evaluation. Ans:

Q

N

o Question Marks BL CO PO

PI

Code rk Sco red Total (50) Course Outcome (CO) andBloom’s level (BL) Coverage in Questions