Professional Documents
Culture Documents
Q. 1 Artificial intelligence has been in existence for a few decades. Name few
devices from decades. Also state there capabilities?
Ans-: In 1952-1962 author Samuel (IBM) wrote the first game playing program for checkers to
achieve sufficient space to challenge the world champion. Machine learning program were
responsible for high performance of the checkers players.
In 2000 interactive robots become commercially available. The most famous was SONY
AIBO.MIT shows off KISMET, a robot to express expressions. Nomad named robor was
capable of exploring areas of Antartica and locates meteorites.
In 2002 a prototype of the past robotic plane designed specifically for combat mission flew to
7500 feet and reached a top speed of 224 mph during its successful flight.
Q.2 Turing test has often been as being of whether or not a person could
distinguish between responses from a computer and responses from a person?
Five questions that Turing test fails?
Ans-:
Three missionaries and three cannibals come to a river. There is a boat on their
side of the river that can be used by either one or two persons. How should they
use this boat to cross the river in such a way that cannibals never outnumber
missionaries on either side of the river?
Four persons are standing on one end of the river from which two are children
and one is mother and another one is father. Both of children having weigh of
40kg and mother is of 60kg and father is of 80kg.A boat is available in which can
take a maximum of 100kg weight How will they arrange o cross the river?
Ans-: The first thing is the state and rules we have to define
(X, Y)
X=Missionaries, y=Cannibals
1. (X1, Y1)
If (x1= =y1) (3X1, 3Y1) Send 1 missionary and 1
cannibal to
Other side of the bridge
2. (X2, Y2)
4. (X1, Y1)
If (Y1-X1= =1) (1X1, 2Y1) Get the cannibal
into the boat
If (Y1= =0)
6. 1. (X1, Y1)
If (x1= =y1) (3X1, 1Y1) Send 1 missionary and 1
cannibal to
Other side of the bridge
(b)
(X, Y)
Q4. Given a 5-litre jug filled with water and an empty 2-litre jug, how can one
obtain precisely 1-litre in the 2-litre jug? Water may either be discarded or
poured from one jug to another; however, no more than the initial 5 liters is
available.
Ans-:-: The first thing is the state and rules we have to define
(X, Y)
1. (X, Y)
If(X<=5) (5, Y) Pour 2litre in Y
2. (X, Y)
3. (X, Y)
If(Y= =2) (X, Y-2) Discard
the water from 2 liter Jug
4. (X, Y)
Pour 1 Liter to Y
If(Y==1) (X-1, Y+1)
5 0 1
3 2 3
3 0 2
1 2 3
0 1
4
Q5 Write a program to implement:
Function breadth ( )
{
Q=[ ]
State = root-node
While
(true)
{
If is _goal
(state)
Than
Return success
Else
Add_to_back_of_q(successors(state));
If q= [ ]
state = q[0];
\\ state = first item in q
Remove _first _item _from (q);
}
}
Q6. Provide the definition of the word “heuristic”. In what ways can heuristic be
useful in search? Name three ways in which you use heuristic in your everyday
life?
Ans-: The dictionary meaning of heuristic is” the theory that a learner should learn should
discover for himself”. Heuristic algorithms are not intelligent. They appear because they perform
better .They have the advantage of feedback from data to direct the searchpath.Informed search
algorithms use heuristic functions that are specific to problem apply them to guide the search
space to try to reduce the amount of time spent in searching.
*We need to find the shortest path while traveling (good solution not best solution)
*Chess playing in which move may be a good one may not it best move.