0% found this document useful (0 votes)
251 views2 pages

AI Exam Paper for GTU Semester VII

This document is an exam for the subject "Introduction to Artificial Intelligence" containing 5 questions. It tests students on key AI concepts like the differences between AI and machine learning, problem solving techniques like breadth-first search and depth-first search, constraint satisfaction problems, heuristic functions, planning systems, parsing, alpha-beta pruning and more. It also includes a diagram for one of the questions asking students to find the most cost-effective path using the A* algorithm.

Uploaded by

feyayel988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
251 views2 pages

AI Exam Paper for GTU Semester VII

This document is an exam for the subject "Introduction to Artificial Intelligence" containing 5 questions. It tests students on key AI concepts like the differences between AI and machine learning, problem solving techniques like breadth-first search and depth-first search, constraint satisfaction problems, heuristic functions, planning systems, parsing, alpha-beta pruning and more. It also includes a diagram for one of the questions asking students to find the most cost-effective path using the A* algorithm.

Uploaded by

feyayel988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VII (NEW) EXAMINATION – WINTER 2021
Subject Code:3171105 Date:27/12/2021
Subject Name: Introduction of Artificial Intelligence
Tim[Link] AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

Q.1 (a) Define Artificial Intelligence (AI). Why do we need AI? 03


(b) Discuss latest trends in the field of AI? 04
(c) Write short note on production systems. 07

Q.2 (a) How Artificial intelligence and Machine Learning differ from each other. 03
(b) Define the term “agent”. Explain how agent interacts with environments. 04
(c) List and explain applications of AI. 07

OR

(c) List and explain five components of problem definition. 07

Q.3 (a) What do you mean by optimal solution? 03


(b) Discuss difference between Breadth first search and depth first search techniques. 04
(c) What is difference between toy problem and real-world problem? Explain toy 07
problem with suitable example.

OR

Q.3 (a) What is the use of computer vision in AI? 03


(b) Discuss issues with hill climbing. 04
(c) Explain Breadth first search using suitable example. 07

Q.4 (a) What do you mean by topological sorting? 03


(b) Briefly explain constraint satisfaction problem. 04
(c) Explain Brute Force problem solving method using suitable example. 07

OR

Q.4 (a) What is a heuristic function? 03


(b) List advantages and disadvantages of Branch & bound algorithm. 04
(c) Consider the following graph (Figure-1), the numbers written on edges represent the 07
distance between the nodes and the numbers written on nodes represent the heuristic
value.
Find the most cost-effective path to reach from start state “A” to final state “J” using
A* Algorithm.

1
Q.5 (a) List out the component of a planning system. 03
(b) What is parsing techniques in AI? 04
(c) How alpha-beta pruning can improve MIN MAX algorithm? Explain using suitable 07
example.

OR

Q.5 (a) What is hierarchical AI planning? 03


(b) What is difference between Forward state space planning and Backward state space 04
planning?
(c) List and explain Components of Natural Language processing in AI 07

Figure-1

*************

Common questions

Powered by AI

Hill climbing is a local search algorithm that optimally finds the best solution by iteratively moving towards adjacent states. The key challenges associated with hill climbing include: (1) Local maxima, where the algorithm may get stuck at a nearby suboptimal solution. (2) Plateaus, which are flat areas of the search space where no gradient exists to guide the movement. (3) Ridges, which are paths that have a high value and are difficult to navigate as the algorithm moves orthogonally to the ideal path .

Artificial intelligence (AI) refers to the creation of systems that can perform tasks that typically require human intelligence. These include reasoning, learning, and problem-solving. Machine learning (ML), a subset of AI, focuses on the development of algorithms that improve automatically through experience. While AI encompasses a broader scope of intelligent behavior in machines, ML emphasizes on enabling machines to learn from data and experience .

Breadth-first search (BFS) explores all nodes at the present depth before moving on to deeper nodes, making it complete and optimal for uniform cost problems but memory intensive. Conversely, depth-first search (DFS) goes as deep as possible along a branch before backtracking, using less memory but not guaranteeing the shortest solution. BFS is often used when the solution is close to the root, while DFS is more suitable when solutions are deep but the branching factor is manageable .

The A* algorithm combines features of both Dijkstra’s algorithm and a greedy best-first search to efficiently find the most cost-effective path. It uses a heuristic function to estimate the cost to reach the goal from a given node. A* evaluates nodes by combining g(n), the cost to reach the node, and h(n), the estimated cost from the node to the goal, forming f(n) = g(n) + h(n). This enables the algorithm to prioritize paths that appear to be leading closer to the goal, thus optimizing pathfinding by balancing current cost and future estimates .

Forward state space planning begins from the initial state and incrementally applies actions to progress towards the goal state, often generating a large number of possible states. Conversely, backward state space planning starts from the goal and works backwards by applying operators that revert actions, potentially reducing the number of states considered by focusing on relevant actions that lead directly towards the goal .

Alpha-beta pruning enhances the efficiency of the Minimax algorithm by eliminating branches in the game tree that cannot affect the final decision. It does this by maintaining two values, alpha and beta, which represent the minimum score that the maximizing player is assured of and the maximum score that the minimizing player is assured of respectively. When a branch's potential outcome does not fall within this range, it is pruned, reducing the number of nodes that need to be evaluated, and thus speeding up the decision-making process without affecting the outcome .

The Branch & bound algorithm offers several advantages, such as potentially reducing the search space by eliminating large portions of the search tree that do not need to be explored. However, it also has disadvantages, including high computational resource requirements, as it may still need to evaluate a large number of possibilities before concluding, making it unsuitable for large or complex problems .

Constraint satisfaction problems (CSPs) consist of three main components: variables, domains (possible values for each variable), and constraints (rules that restrict the values the variables can take). Challenges in CSPs include ensuring consistency, avoiding unnecessary complexity by reducing constraints without losing meaningful combinations, and choosing efficient methods for variable ordering and value assignment. They often require intelligent backtracking and heuristics to efficiently solve complex instances .

A production system in artificial intelligence consists of three primary components: (1) A set of rules or production rules, which are made up of conditions and actions. (2) A database, which represents the state of the system and is continuously updated. (3) A control system, which manages the execution of the rules based on the current state, often through an inference mechanism such as forward or backward chaining .

Topological sorting is an ordering of vertices in a directed acyclic graph (DAG) such that for every directed edge UV from vertex U to vertex V, U comes before V in the ordering. It is used in scenarios where certain tasks must be performed before others, such as scheduling, and can be achieved via algorithms like Kahn's algorithm or depth-first search-based methods .

You might also like