thinkCSlogo.pdf

(375 KB) Pobierz
356368869 UNPDF
HowtoThinkLikeaComputerScientist
LogoVersion
ii
HowtoThinkLikeaComputerScientist
LogoVersion
AllenB.Downey
GuidoGay
Version1.0
October30,2003
Copyright c ° 2003AllenB.Downey,GuidoGay.
History:
March6,2003:AllenB.Downey,HowtoThinkLikeaComputerScientist.
JavaVersion,fourthedition.
October30,2003:AllenB.Downey,GuidoGay,HowtoThinkLikeaCom-
puterScientist.LogoVersion,firstedition.
Permissionisgrantedtocopy,distribute,and/ormodifythisdocumentunder
thetermsoftheGNUFreeDocumentationLicense,Version1.1oranylaterver-
sionpublishedbytheFreeSoftwareFoundation;withInvariantSectionsbeing
“Preface”,withnoFront-CoverTexts,andwithnoBack-CoverTexts.Acopy
ofthelicenseisincludedintheappendixentitled“GNUFreeDocumentation
License.”
TheGNUFreeDocumentationLicenseisavailablefrom www.gnu.org orby
writingtotheFreeSoftwareFoundation,Inc.,59TemplePlace,Suite330,
Boston,MA02111-1307,USA.
TheoriginalformofthisbookisL A T E Xsourcecode.CompilingthisL A T E X
sourcehasthee®ectofgeneratingadevice-independentrepresentationofthe
book,whichcanbeconvertedtootherformatsandprinted.
TheL A T E Xsourceforthisbookisavailablefrom
http://ibiblio.org/obp/thinkCS/
Prefazione
Logoisaprogramminglanguagemostlyusedasateachingtoolinprimary
education. Ifyouknowaboutitsturtlegraphicscommands—suchas
repeat10[repeat5[fd30lt72]lt36] —youmaybecuriousabout
itsothercapabilities.
Hereyou’llfindashortintroductiontoLogoasageneralpurposeprogramming
language.
ThisdocumentadaptsthefirstchaptersofAllenDowney’sOpenSourcebook
“HowtoThinkLikeaComputerScientist.JavaVersion”.Manythanksto
Je®reyElknerandChrisMeyerstoo,fortheirnicePythonversionofthebook.
AllenDowneyillustratesthephilosopyofhisprojectinthefollowingPreface.
IwouldliketothankallLogoForum’smembers:Ilearnedmuchfromtheirlively
discussions.
AsincerethanktoBrianHarveyforhis“ComputerScienceLogoStyle”,avery
specialbookindeed,andtoStanMunsonforhishelp.
UnbacioaElsa;unabbraccioaMicheleeSimone(chepreferisconoilgiocodel
pallone).
GuidoGay
Milano,Italy
October,2003
356368869.001.png
Zgłoś jeśli naruszono regulamin