計(jì)算機(jī)專業(yè)英語 第3版 課件 朱龍 Chapter5 Programming Language(程序設(shè)計(jì)語言)_第1頁
計(jì)算機(jī)專業(yè)英語 第3版 課件 朱龍 Chapter5 Programming Language(程序設(shè)計(jì)語言)_第2頁
計(jì)算機(jī)專業(yè)英語 第3版 課件 朱龍 Chapter5 Programming Language(程序設(shè)計(jì)語言)_第3頁
計(jì)算機(jī)專業(yè)英語 第3版 課件 朱龍 Chapter5 Programming Language(程序設(shè)計(jì)語言)_第4頁
計(jì)算機(jī)專業(yè)英語 第3版 課件 朱龍 Chapter5 Programming Language(程序設(shè)計(jì)語言)_第5頁
已閱讀5頁,還剩24頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

閱讀材料ReadingMaterial計(jì)算機(jī)專業(yè)英語chapterfive

ProgrammingLanguageMissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Today’sDatabaseLandscape計(jì)算機(jī)專業(yè)英語Computingtechnologyhasmadeapermanentchangeinthewaysbusinessesworkaroundtheworld.Informationthatwasatonetimestoredinwarehousesfulloffilingcabinetscannowbeaccessedinstantaneouslyatthelickofamousebutton.Ordersplacedbycustomersinforeigncountriescannowbeinstantlyprocessedonthefloorofamanufacturingfacility.Although20yearsagomuchofthisinformationhadbeentransportedontocorporatemainframedatabases,officesstilloperatedinabatch-processingenvironment.Ifaqueryneededtobeperformed,someonenotifiedthemanagementinformationsystems(MIS)department;therequesteddatawasdeliveredassoonaspossible(thoughoftennotsoonenough).MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Today’sDatabaseLandscape計(jì)算機(jī)專業(yè)英語Inadditiontothedevelopmentoftherelationaldatabasemodel,twotechnologiesledtotherapidgrowthofwhatarenowcalledclient/serverdatabasesystems.Thefirstimportanttechnologywasthepersonalcomputer.Inexpensive,easy-to-useapplicationssuchasLotus1-2-3andWordPerfectenabledemployees(andhomecomputerusers)tocreatedocumentsandmanagedataquicklyandaccurately.Usersbecameaccustomedtocontinuallyupgradingsystemsbecausetherateofchangewassorapid,evenasthepriceofthemoreadvancedsystemscontinuedtofall.MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Today’sDatabaseLandscape計(jì)算機(jī)專業(yè)英語Thesecondimportanttechnologywasthelocalareanetwork(LAN)anditsintegrationintoofficesacrosstheworld.Althoughuserswereaccustomedtoterminalconnectionstoacorporatemainframe,nowwordprocessingfilescouldbestoredlocallywithinanofficeandaccessedfromanycomputerattachedtothenetwork,AftertheAppleMacintoshintroducedafriendlygraphicaluserinterface,computerswerenotonlyinexpensiveandpowerfulbutalsoeasytouse,Inaddition,theycouldbeaccessedfromremotesites,andlargeamountsofdatacouldbeoff-loadedtodepartmentaldataservers,duringthistimeofrapidchangeandadvancement,anewtypeofsystemappeared,calledclient/serverdevelopmentbecauseprocessingissplitbetweenclientcomputersandadatabaseserver,thisnewbreedofapplicationwasaradicalchangefrommainframe-basedapplicationprogramming.Amongthemanyadvantagesofthistypeofarchitectureare:MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Today’sDatabaseLandscape計(jì)算機(jī)專業(yè)英語Reducedmaintenancecost.Reducednetworkload(processingoccursondatabaseserverorclientcomputer).Multipleoperatingsystemsthatcaninteroperateaslongastheyshareacommonnetworkprotocol.Improveddataintegrityowingtocentralizeddatalocation.InImplementingClient/ServerComputing,BernardH.Boardefinesclient/servercomputingasfollows:Client/Severcomputingisaprocessingmodelinwhichasingleapplicationispartitionedbetweenmultipleprocessors(front-endandback-end)andtheprocessorscooperate(transparenttotheenduser)tocompletetheprocessingasasingleunifiedtask.ImplementingClient/ServerComputingAclient/serverbondproducttiestheprocessorstogethertoprovideasinglesystemimage(illusion).Shareableresourcesarepositionedasrequestorclientsthataccessauthorizedservices.Thearchitectureisendlesslyrecursive;MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Today’sDatabaseLandscape計(jì)算機(jī)專業(yè)英語inturn,serverscanbecomeclientsandrequestservicesofotherserversonthenetwork,andsoonandsoon.Thistypeofapplicationdevelopmentrequiresanentirelynewsetofprogrammingskills.Userinterfaceprogrammingisnowwrittenforgraphicaluserinterfaces,whetheritisMSWindows,IBMOS/2,AppleMacintosh,ortheUNIXX-Windowsystem.UsingSQLandanetworkconnection,theapplicationcaninterfacetoadatabaseresidingonaremoteserver.Theincreasedpowerofpersonalcomputerhardwareenablescriticaldatabaseinformationtobestoredonarelativelyinexpensivestandaloneserver.Inaddition,thisservercanbereplacedlaterwithlittleornochangetotheclientapplications.感謝觀看Thhankyouforwatching計(jì)算機(jī)專業(yè)英語練習(xí)Exercise計(jì)算機(jī)專業(yè)英語chapterfive

ProgrammingLanguageMissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?1計(jì)算機(jī)專業(yè)英語21.TranslatethefollowingphrasesintoEnglish.(把下列短語翻譯成英語。)(1)機(jī)器碼

(2)機(jī)器語言(3)面向?qū)ο蟮某绦?/p>

(4)匯編語言(5)抽象代碼

(6)人工智能(7)并行進(jìn)程

(8)數(shù)據(jù)庫系統(tǒng)2.Pleaselistthecomputeradvancedprogramminglanguagesthatareusedfrequentlyandmakesomerelevantintroductions.(請(qǐng)列出常用的計(jì)算機(jī)高級(jí)編程語言,并做一些相關(guān)介紹。)感謝觀看Thhankyouforwatching計(jì)算機(jī)專業(yè)英語情境對(duì)話SituationDialogue計(jì)算機(jī)專業(yè)英語chapterfive

ProgrammingLanguageMissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?ClumsyPanda’sAdventureinProgrammingKingdom計(jì)算機(jī)專業(yè)英語笨熊貓程序園歷險(xiǎn)記TodayTuTuandClumsyPandahavevisitedprogrammingkingdom.ClumsyPandaisveryhappybecausehehasknownmanymembersinourprogramminglanguagefamily.Look!Theyarecoming.Bigelderbrother—Machinelanguage:Instructingsystemisalsocalledmachinelanguage.Eachinstructionrepliesastringofbinarysystemcode.今天,圖圖和熊貓笨笨游覽了程序樂園,笨笨可樂壞了,因?yàn)樗J(rèn)識(shí)了我們程序設(shè)計(jì)語言大家族中的許多成員,你看,它們過來了。大哥——機(jī)器語言指令系統(tǒng)也稱機(jī)器語言,每條指令都對(duì)應(yīng)一串二進(jìn)制代碼。MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?ClumsyPanda’sAdventureinProgrammingKingdom計(jì)算機(jī)專業(yè)英語笨熊貓程序園歷險(xiǎn)記Machinelanguageistheonlylanguagethatacomputercanidentifyandcarryoutdirectly.Comparedwithotherprogramminglanguages,itiscarriedoutwithhigherefficiency.Sincemachinelanguageinstructionisastringofbinarysystemcode,itlacksreadabilityandcannotbeeasilymemorized.Furthermore,itisverydifficulttocompileprogramsandthemodificationanddebugoftheprogramsalsoveryhard.So,machinelanguageisnoteasytograspanduse.機(jī)器語言是計(jì)算機(jī)唯一能識(shí)別并直接執(zhí)行的語言,所以與其他程序設(shè)計(jì)語言相比,其執(zhí)行效率高。由于機(jī)器語言指令都是一串二進(jìn)制代碼,可讀性差、不易記憶;編寫程序既難又繁,容易出錯(cuò);程序的調(diào)試和修改難度也很大,所以機(jī)器語言不容易掌握和使用。MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?ClumsyPanda’sAdventureinProgrammingKingdom計(jì)算機(jī)專業(yè)英語笨熊貓程序園歷險(xiǎn)記Youngerbrother—AssemblylanguageAssemblylanguageappearedatthebeginningofthe1950s.ItisalsocalledSymbolLanguagebecauseitconsistsofsomesymbolswhichareveryeasytoidentifyandmemorize.Theprogramcompiledwithassemblylanguageiscalledsourceprogramofassemblylanguage.Thiskindoflanguagecannotbeidentifiedandcarriedoutdirectlybycomputersanditmustbefirstlytranslatedintomachinelanguageprogram(namedobjectprogram).Onlyafterthat,itcanbecarriedoutthen.二弟——匯編語言20世紀(jì)50年代初出現(xiàn)了匯編語言,它使用的是比較容易識(shí)別、記憶的助記符號(hào),所以匯編語言也叫符號(hào)語言。用匯編語言編寫的程序稱為匯編語言源程序,計(jì)算機(jī)不能直接識(shí)別和執(zhí)行它。必須先把匯編語言源程序翻譯成機(jī)器語言程序(稱目標(biāo)程序),然后才能被執(zhí)行。MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?ClumsyPanda’sAdventureinProgrammingKingdom計(jì)算機(jī)專業(yè)英語笨熊貓程序園歷險(xiǎn)記Littlesister—High-gradeprogramminglanguageUptothemiddleofthe1950s,peoplecreatedhigh-gradeprogramminglanguage.High-gradelanguageisakindoflanguagethatisusedtocompilevariousprogramswithmeaningful“words”and“mathematicsformulas”accordingtocertain“grammarrules”,alsocalledhigh-gradeprogramminglanguageoralgorithmlanguage,includingC,C++,VisualCandVisualBasic,etc..小妹——高級(jí)程序設(shè)計(jì)語言到了20世紀(jì)50年代中期,人們又創(chuàng)造了高級(jí)程序設(shè)計(jì)語言。高級(jí)語言是一種用各種意義的“詞”和“數(shù)學(xué)公式”按照一定的“語法規(guī)則”編寫程序的語言,也稱高級(jí)程序設(shè)計(jì)語言或算法語言。目前流行的高級(jí)語言,如C、C++、VisualC、VisualBasic等都是采用編譯的方法。MissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?ClumsyPanda’sAdventureinProgrammingKingdom計(jì)算機(jī)專業(yè)英語笨熊貓程序園歷險(xiǎn)記Now,popularhigh-gradelanguageistoadoptthemethodofcompiling.Simplifyspeaking,ahigh-gradelanguageprogramcanbecomeexecutablemachinelanguageprogramonlyafterbeingcompiledandassembled.ClumsyPandaisawfullyhappybecausehehasgainedsomuchtoday.簡單地說,一個(gè)高級(jí)語言源程序必須經(jīng)過編譯和連接裝配兩步后才能成為可執(zhí)行的機(jī)器語言程序。今天的收獲太大了,笨笨心里高興極了。感謝觀看Thhankyouforwatching計(jì)算機(jī)專業(yè)英語對(duì)照閱讀ReadingandComparing計(jì)算機(jī)專業(yè)英語chapterfive

ProgrammingLanguageMissLi:AsalesgirlinComputerTownMr.Zhang:AcomputerconsumerwhoknowslittleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言O(shè)bject-orientedprogramming(OOP)languageslikeC++arebasedontraditionalhigh-levellanguages,buttheyenableaprogrammertothinkintermsofcollectionsofcooperatingobjectsinsteadoflistsofcommands.Objects,suchasacircle,havepropertiessuchastheradiusofthecircleandthecommandthatdrawitonthecomputerscreen.Classesofobjectscaninheritfeaturesfromotherclassesofobjects.像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。wnMr.Zhang:Acomputerconsumerwhoknowslit像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。tleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言Forexample,aclassdefiningsquarescaninheritfeaturessuchasrightanglesfromaclassdefiningrectangles.Thissetofprogrammingclassessimplifiestheprogrammer’stask,resultinginmorereliableandefficientprograms.例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。wnMr.Zhang:Acomputerconsumerwhoknowslit像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。tleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言SIMULAwasthefirstobject-orientedprogramminglanguage.Itwasdevelopedinthemidtolate1960sinNorway.Smalltalk,thelanguagethatpopularizedobject-orientedconcepts,wasdevelopedintheearly1970s.SIMULA是第一個(gè)面向?qū)ο蟮某绦蛟O(shè)計(jì)語言,它是20世紀(jì)60年代中后期在挪威開發(fā)的。Smalltalk是70年代初期開發(fā)的,它使得面向?qū)ο蟮母拍畲蟊娀?。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。wnMr.Zhang:Acomputerconsumerwhoknowslit像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。tleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言Theartificialintelligenceresearchcommunityembracedthisnewprogrammingtechnologyearlyon:manyflavorsanddialectsoftheLISPprogramminglanguageprovideobject-orientedextension.Inthe1970s,theselanguageswereavailableonlywithinresearchlaboratories.Atthebeginningofthe1980scametherealdawnoftheobject-orientedprogramminglanguages,suchasObjective-C,Eiffel,theCommonLispObjectSystem,andActor,whichhavebecomecommerciallyavailable.人工智能研究界很早就接受了這種新的編程技術(shù):LISP(函數(shù)式程序語言)編程語言的許多風(fēng)格和特點(diǎn)提供了面向?qū)ο蟮臄U(kuò)展。在20世紀(jì)70年代,這些語言只能在研究實(shí)驗(yàn)室中使用。20世紀(jì)80年代初,面向?qū)ο缶幊陶Z言出現(xiàn)了真正的曙光,如Objective-C、Eiffel、通用Lisp對(duì)象系統(tǒng)和Actor等已經(jīng)商業(yè)化的語言。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。wnMr.Zhang:Acomputerconsumerwhoknowslit像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。tleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言Theartificialintelligenceresearchcommunityembracedthisnewprogrammingtechnologyearlyon:manyflavorsanddialectsoftheLISPprogramminglanguageprovideobject-orientedextension.Inthe1970s,theselanguageswereavailableonlywithinresearchlaboratories.Atthebeginningofthe1980scametherealdawnoftheobject-orientedprogramminglanguages,suchasObjective-C,Eiffel,theCommonLispObjectSystem,andActor,whichhavebecomecommerciallyavailable.人工智能研究界很早就接受了這種新的編程技術(shù):LISP(函數(shù)式程序語言)編程語言的許多風(fēng)格和特點(diǎn)提供了面向?qū)ο蟮臄U(kuò)展。在20世紀(jì)70年代,這些語言只能在研究實(shí)驗(yàn)室中使用。20世紀(jì)80年代初,面向?qū)ο缶幊陶Z言出現(xiàn)了真正的曙光,如Objective-C、Eiffel、通用Lisp對(duì)象系統(tǒng)和Actor等已經(jīng)商業(yè)化的語言。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。wnMr.Zhang:Acomputerconsumerwhoknowslit像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它們能使程序員按照組合對(duì)象集方式而不是指令列表方式來進(jìn)行思考。對(duì)象有許多性質(zhì),以圓為例,就有圓的半徑以及把圓畫到計(jì)算機(jī)屏幕上的命令。對(duì)象的類可以從其他對(duì)象類那里繼承屬性。例如,一個(gè)定義正方形的類能從定義長方形的類那里繼承諸如直角這樣的屬性。程序類的這種關(guān)系簡化了程序員的工作,從而導(dǎo)致更多既可靠又高效的程序產(chǎn)生。tleaboutcomputerLi:CanIhelpyou,Sir?Zhang:Yes.I’dliketobuyacomputer,butIknowlittleaboutit.Li:Doyoulikeabrandmachineoracompatiblemachine?Object-OrientedProgrammingLanguages計(jì)算機(jī)專業(yè)英語面向?qū)ο蟮某绦蛘Z言Thelong-termproductivityofsystemsisenhancedbyobject-orientedprogram.Becauseofthemodularnatureofthecode,programsaremoremalleable.Thisisparticularlybeneficialforapplicationsthatwillbeusedformanyyears,duringwhichcompanies’needsmaychangeandmakingsoftwaremodificationsbecomenecessary.面向?qū)ο蟪绦蛱岣吡讼到y(tǒng)的長期生產(chǎn)率。由于代碼的模塊化性質(zhì),程序更具可塑性。這對(duì)于將使用多年的應(yīng)用程序尤其有利,在此期間,公司的需求可能會(huì)發(fā)生變化,則需要對(duì)軟件進(jìn)行修改。MissLi:AsalesgirlinComputerTo像C++這樣的面向?qū)ο蟪绦蛟O(shè)計(jì)語言(OOP)是以傳統(tǒng)的高級(jí)語言為基礎(chǔ)的,但是它

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論