Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 751 pages
Exam (elaborations)

Instructor's Solution Manual for Artificial Intelligence: A Modern Approach, 4th Edition by Russell and Norvig

Document preview thumbnail
Preview 4 out of 751 pages

Explore the official Instructor's Solution Manual for Artificial Intelligence: A Modern Approach, 4th Edition by Russell and Norvig. Includes solved problems on agents, search, logic, probability, machine learning, NLP, and robotics.AI instructor manual, AIMA 4th solutions, artificial intelligence textbook answers, computer science professor resource, machine learning problem solutions, robotics exam guide, NLP study questions, college AI course materials

Content preview

Instructor’s Solution Manual c c




Artificial Intelligence c c




A Modern Approach
c c




Fourth Edition c




Stuart J. Russell and Peter Norvig
c c c c c




with contributions from
c c



Nalin Chhibber, Ernest Davis, Nicholas J. Hay, Jared Moore, Alex Rudnick, Mehran
c c c c c c c c c c c c

Sahami, Xiaocheng Mesut Yang, and Albert Yu
c c c c c c




cThiscsolutioncmanualciscintendedcforcthecinstructorcofcacclass.cStudentscshouldcusectheconlinecs
itecforcexercisescatcaimacode.github.io/aima-
exercises.c Thatcsiteciscopencforcanyonectocuse.cItcofferscsolutionscforcsomecbutcnotcallcofcthec
exercises;cancinstructorccanccheckctherectocseecwhichconeschavecsolutions.c Thecexercisescareco
nlinecrathercthancincthectextbookcitselfcbecausec(a)cthectextbookcisclongcenoughcascis,candc(b)cw
ecwantedctocbecablectocupdatecthecexercisescfrequently.




Copyrightc©c2022


©c2023cPearsoncEducation,cHoboken,cNJ.cAllcrightscreserved.

,EXERCISES c c

1
INTRODUCTION
Notecthatcforcmanycofcthecquestionscincthiscchapter,cwecgivecreferencescwherecanswersccancbecf
oundcrathercthancwritingcthemcout—thecfullcanswerscwouldcbecfarctooclong.

1.1 What Is AI?
c c c




Exercisec1.1.#DEFA
Definecincyourcowncwords:c (a)cintelligence,c(b)cartificialcintelligence,c(c)cagent,c(d)cra-
ctionality,c(e)clogicalcreasoning.




a. Dictionarycdefinitionscofcintelligencectalkcaboutc“theccapacityctocacquirecandcapplyckno
wledge”corc“thecfacultycofcthoughtcandcreason”corc“thecabilityctoccomprehendcandcprofitc
fromcexperience.”c Thesecarecallcreasonablecanswers,cbutcifcwecwantcsomethingcquantifi
ablecwecwouldcusecsomethingclikec“thecabilityctocactcsuccessfullycacrosscacwidecrangecofc
objectivescinccomplexcenvironments.”
b. Wecdefinecartificialcintelligencecascthecstudycandcconstructioncofcagentcprogramscthatcp
erformcwellcincacgivencclasscofcenvironments,cforcacgivencagentcarchitecture;ctheycdocthe
crightcthing.c Ancimportantcpartcofcthatciscdealingcwithcthecuncertaintycofcwhatctheccurren

tcstatecis,cwhatcthecoutcomecofcpossiblecactionscmightcbe,candcwhatciscitcthatcwecreallycde
sire.
c. Wecdefinecancagentcascancentitycthatctakescactioncincresponsectocperceptscfromcancenvi-
cronment.

d. Wecdefinecrationalitycascthecpropertycofcacsystemcwhichcdoescthec“rightcthing”cgivencw
hatcitcknows.c SeecSectionc2.2cforcacmoreccompletecdiscussion.c Thecbasiccconceptciscperf
ectcrationality;cSectionc??cdescribescthecimpossibilitycofcachievingcperfectcrational-
citycandcproposescancalternativecdefinition.

e. Wecdefineclogicalcreasoningcascthecacprocesscofcderivingcnewcsentencescfromcold,csuchct
hatcthecnewcsentencescarecnecessarilyctruecifcthecoldconescarectrue.c(Noticecthatcdoescnotcre
ferctocanycspecificcsyntaxcorcformalclanguage,cbutcitcdoescrequirecacwell-
definedcnotioncofctruth.)


Exercisec1.1.#TURI
ReadcTuring’scoriginalcpaperconcAIc(Turing,c1950).c Incthecpaper,checdiscussescseveralcobject
ionsctochiscproposedcenterprisecandchisctestcforcintelligence.cWhichcobjectionscstillccarry


©c2023cPearsoncEducation,cHoboken,cNJ.cAllcrightscreserved.

, Sectionc1.1c c WhatcIscAI? 3



weight?c Arechiscrefutationscvalid?c Cancyoucthinkcofcnewcobjectionscarisingcfromcdevelop-
cmentscsincechecwrotecthecpaper?c Incthecpaper,checpredictscthat,cbycthecyearc2000,caccomputerc

willchavecac30%cchancecofcpassingcacfive-
minutecTuringcTestcwithcancunskilledcinterrogator.cWhatcchancecdocyoucthinkcaccomputercwo
uldchavectoday?cIncanotherc25cyears?
Seecthecsolutioncforcexercisec26.1cforcsomecdiscussioncofcpotentialcobjections.
Thecprobabilitycofcfoolingcancinterrogatorcdependsconcjustchowcunskilledcthecinterrogatorci
s.c AcfewcentrantscincthecLoebnercprizeccompetitionschavecfooledcjudges,calthoughcifcyouclookc
atcthectranscripts,citclooksclikecthecjudgescwerechavingcfuncrathercthanctakingctheircjobcseriousl
y.c Thereccertainlychavecbeencexamplescofcacchatbotcorcotherconlinecagentcfoolingchumans.cFo
rcexample,cseecthecdescriptioncofcthecJuliacchatbotcatcwww.lazytd.com/lti/cjulia/.c
We’dcsaycthecchancectodayciscsomethingclikec10%,cwithcthecvariationcdependingcmoreconcthec
skillcofcthecinterrogatorcrathercthancthecprogram.c Inc25cyears,cwecexpectcthatc thecentertainmen
tcindustryc(movies,cvideocgames,ccommercials)cwillchavecmadecsufficientcinvestmentscincartif
icialcactorsctoccreatecveryccrediblecimpersonators.
Notecthatcgovernmentscandcinternationalcorganizationscarecseriouslycconsideringcrulescthatcr
equirecAIcsystemsctocbecidentifiedcascsuch.cIncCalifornia,citciscalreadycillegalcforcmachinesctocim
personatechumanscinccertainccircumstances.


Exercisec1.1.#REFL
Arecreflexcactionsc(suchcascflinchingcfromcachotcstove)crational?cArectheycintelligent?


Yes,ctheycarecrational,cbecausecslower,cdeliberativecactionscwouldctendctocresultcincmorecd
amagectocthechand.c Ifc“intelligent”cmeansc“applyingcknowledge”corc“usingcthoughtcandcreaso
ning”cthencitcdoescnotcrequirecintelligencectocmakecacreflexcaction.


Exercisec1.1.#SYAI
Tocwhatcextentcarecthecfollowingccomputercsystemscinstancescofcartificialcintelligence:
• Supermarketcbarccodecscanners.
• Webcsearchcengines.
• Voice-activatedctelephonecmenus.
• Spellingcandcgrammarccorrectioncfeaturescincwordcprocessingcprograms.
• Internetcroutingcalgorithmscthatcrespondcdynamicallyctocthecstatecofcthecnetwork.


• Althoughcbarccodecscanningciscincacsenseccomputercvision,cthesecarecnotcAIcsystems.cTh
ecproblemcofcreadingcacbarccodeciscancextremelyclimitedcandcartificialcformcofcvisualcinter
pretation,candcitchascbeenccarefullycdesignedctocbecascsimplecascpossible,cgivencthechardw
are.
• Incmanycrespects.c Thecproblemcofcdeterminingcthecrelevancecofcacwebcpagectocacquerycis
cacproblemcincnaturalclanguagecunderstanding,candcthectechniquescarecrelatedctocthose



©c2023cPearsoncEducation,cHoboken,cNJ.cAllcrightscreserved.

, 4 Exercisesc 1c c Introduction


wecwillcdiscusscincChaptersc23candc24.c Searchcenginescalsocusecclusteringctechniquesca
nalogousctocthosecwecdiscusscincChapterc20.c Likewise,cothercfunctionalitiescprovidedcb
ycacsearchcenginescusecintelligentctechniques;cforcinstance,cthecspellingccorrectorcusescacfo
rmcofcdatacminingcbasedconcobservingcusers’ccorrectionscofctheircowncspellingcerrors.cOnc
thecotherchand,cthecproblemcofcindexingcbillionscofcwebcpagescincacwaycthatcallowscretrie
valcincsecondsciscacproblemcincdatabasecdesign,cnotcincartificialcintelligence.
• Toc ac limitedc extent.c Suchc menusc tendsc toc usec vocabulariesc whichc arec veryc limitedc –
e.g.c thecdigits,c“Yes”,candc“No”c—
candcwithincthecdesigners’ccontrol,cwhichcgreatlycsimplifiescthecproblem.cOncthecothercha

nd,cthecprogramscmustcdealcwithcancuncontrolledcspacecofcallckindscofcvoicescandcaccents
.c ModerncdigitalcassistantsclikecSiricandcthecGooglecAssistantcmakecmorecusecofcartifici
alcintelligencectechniques,cbutcstillchavecaclimitedcrepetoire.
• Slightlycatcmost.cThecspellingccorrectioncfeaturechereciscdonecbycstringccomparisonctocacfi
xedcdictionary.cThecgrammarccorrectionciscmorecsophisticatedcascitcneedctocusecacsetcofcrat
herccomplexcrulescreflectingcthecstructurecofcnaturalclanguage,cbutcstillcthisciscacveryclimi
tedcandcfixedctask.
Thecspellingccorrectorscincsearchcenginescwouldcbecconsideredcmuchcmorecnearlycin
stancescofcAIcthancthecWordcspellingccorrectorcare,cfirst,cbecausecthectaskciscmuchcmorec
dynamicc–
csearchcenginecspellingccorrectorscdealcveryceffectivelycwithcpropercnames,cwhichcarecde

tectedcdynamicallycfromcusercqueriesc–cand,csecond,cbecausecofcthectechniquecusedc–
cdatacminingcfromcusercqueriescvs.cstringcmatching.


• Thisciscborderline.cThereciscsomethingctocbecsaidcforcviewingcthesecascintelligentcagentscw
orkingcinccyberspace.c Thectaskciscsophisticated,cthecinformationcavailableciscpartial,cthectec
hniquescarecheuristicc(notcguaranteedcoptimal),candcthecstatecofcthecworldciscdynamic.cAllc
ofcthesecareccharacteristiccofcintelligentcactivities.cOncthecotherchand,cthectaskciscverycfarcfr
omcthosecnormallyccarriedcoutcinchumanccognition.cIncrecentcyearsctherechavecbeencsugge
stionsctocbasecmoreccorecalgorithmiccworkconcmachineclearning.


Exercisec1.1.#COGN
Manycofctheccomputationalcmodelscofccognitivecactivitiescthatchavecbeencproposedcinvolvecq
uiteccomplexcmathematicalcoperations,csuchcascconvolvingcancimagecwithcacGaussiancorcfindi
ngcacminimumcofcthecentropycfunction.c Mostchumansc(andccertainlycallcanimals)cneverclearnct
hisckindcofcmathematicscatcall,calmostcnoconeclearnscitcbeforeccollege,candcalmostcnoconeccancc
omputecthecconvolutioncofcacfunctioncwithcacGaussiancinctheirchead.c Whatcsensecdoescitcmake
ctocsaycthatcthec“visioncsystem”ciscdoingcthisckindcofcmathematics,cwhereascthecactualcpersonch

ascnocideachowctocdocit?


Presumablycthecbrainchascevolvedcsocasctoccarrycoutcthiscoperationsconcvisualcimages,cbutct
hecmechanismcisconlycaccessiblecforconecparticularcpurposecincthiscparticularccognitivectaskcof
cimagecprocessing.c Untilcaboutctwoccenturiescagoctherecwascnocadvantagecincpeoplec(orcanima

ls)cbeingcablectoccomputecthecconvolutioncofcacGaussiancforcanycothercpurpose.
Thecreallycinterestingcquestionchereciscwhatcwecmeancbycsayingcthatcthec“actualcperson”cc

©c2023cPearsoncEducation,cHoboken,cNJ.cAllcrightscreserved.

Document information

Uploaded on
May 28, 2026
Number of pages
751
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$29.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Testbanks2
4.0
(10)
Sold
39
Followers
1
Items
626
Last sold
1 month ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions