












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Introduction: What is AI? History & Applications, Artificial intelligence as representation & Search, Production system, Basics of problem solving: problem representation paradigms, defining problem as a state space representation, Characteristics
ALL QUESTION are very very IMPORTANT
Define AI: Artificial Intelligence is defined as a branch of computer science that is concerned
with the automation of the intelligent behavior .In simple term AI is a way of making a computer
think intelligently.
OR A.I. can be defined as the artificial brain having capability of thinking and understanding.
OR A.I. is branch of computer science concerned with the study and creation of computer system that exhibits some form of intelligence.
OR AI Intelligence which is present in artificial device
Strong artificial intelligence states that a computer with the right program can in fact be mental (like a human being ) Weak artificial intelligence just aims to solve problems, not necessarily to be mental or model human behavior_._
Q. What are task domain of AI?****
Task domain of AI
a. Perception
1)Vision 2)Speech
b. Natural Language
Natural language understanding 2) Natural language Generation
Natural language translation
c. Common sense reasoning
d. Robort control
a. Games
b. Mathematics
a. (^) Engineering b) Manufacturing planning c) Financial analysis
Q. What are different AI problem Domains.
Ans: Problems of AI Domain
Mundane Tasks
Formal Tasks Games
Expert Tasks Engineering Design, Fault Finding, Manufacturing Planning Scientific Analysis Medical Diagnosis Financial Analysis
**Q: what are the Important AI Technique 6M********
Ans: Important AI Technique:-
Inference engine : It employs inference mechanism and gives answers to the queries. The inference engine carries out a search throughout the knowledge base either to prove hypothesis or to arrive at conclusion. Depending on the nature of problem and the nature of knowledge contained in knowledge base, a proper inference mechanism is selected and search is carried out. The inference mechanism derives new fact and state that the goals were achieved.
User Interface: The user interface provides the needed facilities for the user to communicate with the system for the following aspects:
**Q. Explain problem characteristics of AI*********
To choose an appropriate method for a particular problem:
At each step, it checks to see whether the problem it is working on is immediately solvable. If so then answer return directly. If the problem is not easily solvable, the integrator checks to see whether it can decompose the problem into smaller problem. if it can, it creates those problem and calls itself recursively on them. Using this technique of problem decomposition one can often solve very large problem easily
Can solution steps be ignored or undone?
Theorem Proving: suppose one is trying to prove mathematical theorem. one proceed first by proving the lemma that one think will be useful. eventually one realize that the lemma is not help at all. are one in trouble?.NO.everything one need to know to prove the theorem is still true and in memory. A lemma(anything which is received) that has been proved can be ignored for next steps.
Ignorable!
Playing Chess
Moves cannot be retracted.
Irrecoverable!
Is the universe predictable(knowable)?
The 8-Puzzle
Every time we make a move, we know exactly what will happen.
Certain outcome!
Is the universe predictable?
Some Examples: 1) The 8 puzzle problem
Problem statement: The 8 puzzle problem consists of a 3*3 grid with 8 numbered tiles and a blank space.A tile adjustment to the blank space can slide into the space either horizontally or vertically.The objective is to reach a specified state.
Initial State: Any state can be designated as the initial state.
Successive function: There exists four action.Blank moves left, right, up, down
Goal state :It is the state which is to be achieved.
Path Cost : each move of the blank costs 1
2) Missionaries and cannibals problem
0 represents M
X represents C
around, carry other things around, reach for the bananas, and wave a stick in the air. What is the best sequence of actions for the monkey to take to acquire the lunch? Ans:
Initial state: monkey on ground with empty hand bananas suspended
Actions:
climb chair/get off
grab X
wave X
eat X
Goal state: monkey eating
Formulation2:
A state is an arrangement of 0 to 8 queens with none attacked
Operator: place a queen in the leftmost empty column
Goal state: an arrangement of 8 queens on board with none attacked
Add a queen to any square in the leftmost empty column
Formulation-
states -any arrangement of k queens in the first k rows such that none are attacked
Q: notes on Heuristic search(informed search)
**Q: Explain BFS and DFS with advantages and disadvantages.*********
Algorithm BFS:
1.Create a variable called NODE-LIST and set it to the initial state.
2.Until a goal state is found or NODE-LIST is empty do:
Algorithm DFS:
Advantages of depth-first search:
Disadvantages of depth-first search:
Advantages of breadth-first search:
guaranteed to find an optimal solution.
*BFS does not suffer from any potential infinite loop problem , which may cause the computer to crash
Disadvantages of breadth-first search:
Q: Explain Production system and control strategies.
Ans: AI programs in a way that facilities describes and performing the search process.
Production system provides such structure.
A production system consists of :
a. A set of rules each consisting of a left side that determines the applicability of the rule and a right side that describes the operation to be performed it the rule is applied. b. One or more knowledge/data bases that contains whatever information is appropriates for a particular task. c. A control strategy that specifies the order in which the rules will be compared to the databases and a way of resolving the conflicts that arrives when several rules make at once.
A production system consists of rules and factors. Knowledge is encoded in a declarative from which comprises of a set of rules of the form Situation ------------ Action
SITUATION that implies ACTION.
IF the initial state is a goal state THEN quit.
The major components of an AI production system are
i. A global database
ii. A set of production rules and
iii. A control system
The goal database is the central data structure used by an AI production system. The production system. The production rules operate on the global database. Each rule has a precondition that is either satisfied or not by the database. If the precondition is satisfied, the rule can be applied. Application of the rule changes the database. The control system chooses which applicable rule should be applied and ceases computation when a termination condition on the database is satisfied. If several rules are to fire at the same time, the control system resolves the conflicts. Four classes/types of production systems:-
Advantages of production systems:-
One important disadvantage is the fact that it may be very difficult analyse the flow of control within a production system because the individual rules donโt call each other.
Production systems describe the operations that can be performed in a search for a solution to the problem.
Production System Characteristics: We have argued that production systems are a good way to describe the operations that can be performed in a search for a solution to a problem.
A monotonic production system: It is a production system in which the application of a rule never prevents the later application of another rule that could also have been applied at the time first rule was selected. A non-monotonic production system: A non-monotonic production system is one in which this is not true.
Partially commutative production system: A partially commutative production system is a production system with the property that if the application of a particular sequence of rules transforms state x into state y then any permutation of those rules that is allowable (i.e. each rules preconditions are satisfied when it is applied) also transforms state x into state y. Partially commutative, monotonic production systems are useful for solving ignorable problems. A commutative production system: A commutative production system is a production system that is both monotonic and partially commutative
Q.Explain A procedure*
A Procedure:* A* (pronounced as "A star") is a computer algorithm that is widely used in pathfinding and graph traversal. The algorithm efficiently plots a walkable path between multiple nodes, or points, on the graph.
Now at S, We have A and D. On A , A says we have 2(Distance between S &A)+2(Estimated distance between A and G)= Similarly D says 3+6=9 so we select A
From A, We have B and D. On A , B says we have 2+3(Distance S-A-B)+3(Estimated distance between B and G)=
From B, C and E gets explore. C tells, 8(S-A-B-C)+5= E tells, 9(S-A-B-E)+5=
The path which are going from B crossing the limit of 8 which was estimate.so as per branch and bound discard it
On D ,we have 12; On A ,we have 9; On D ,we have 9
D tells, goal is 9km far away.our estimation was 8.Increase the levelof estimation..Go from S to D. From D,We have A and E, both have same value i.e.
From D,We have A and E, both have same value i.e.9. Select any one randomly say A. From A there is B which is 13.Discard it. From E ,Two option i.e. E(11) and F(8) then F to G
PROBLEM REDUCTION with AO * Algorithm / AND - OR graphs