


下載本文檔
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
中英文資料中英文資料外文翻譯譯文:
VisualBasic語(yǔ)言與算法1991VisualBasic(VBVB2008Beta2(VB9)中文版。Visual意即可視的、可見(jiàn)的,指的是開(kāi)發(fā)像windows操作系統(tǒng)的圖形用戶界面(GraphicUserInterface,GUI)外觀和位置,只要把預(yù)先建立好的對(duì)象拖放到屏幕上相應(yīng)的位置即可。Basic實(shí)際上是一個(gè)短語(yǔ)的縮寫(xiě),這個(gè)短語(yǔ)就是Beginnersall_purposesymbolicinstructioncode,其中文意思為“初始者通用符號(hào)指令代碼語(yǔ)言”。VisualBasic版適用于普通學(xué)習(xí)者及大多數(shù)使用VisualBasicWindows但是;專業(yè)版適用于計(jì)算機(jī)專業(yè)開(kāi)發(fā)人員,包括了學(xué)習(xí)版的全部?jī)?nèi)容功能以及InternetVisualBasic1VisualBasicMicrosoftVisualBasicVB)Windows度、最簡(jiǎn)捷的工具之一。不論是初學(xué)者還是專業(yè)開(kāi)發(fā)人員,VB都為他們提供了一整套的工具,可以輕松方便的開(kāi)發(fā)應(yīng)用程序。因此,VB一直被作為大多數(shù)電腦初學(xué)者的首選入門(mén)編程語(yǔ)言。中英文資料“Visual”指的是采用可視化的開(kāi)發(fā)圖形用戶界面(GUI)的方法,一般不需要應(yīng)位置即可方便圖形設(shè)計(jì)圖形用戶界面;“Basic”指的是BASICVBBAISCVB是Microsoft的一種通用程序設(shè)計(jì)語(yǔ)言,它包括在MicrosoftExcelMicrosoftAccessWindowsVBAVBVBScriptVBVBMicrosoftSQLServerActiveX(TM)技術(shù),VBMicrosoftWordMicrosoftExcelWindowsVB用戶最終創(chuàng)建的程序是一個(gè)真正的.EXE文件,可以自由發(fā)布。VBWindowsWindowsNT不同的需要來(lái)選擇不同的版本。第2節(jié)集成開(kāi)發(fā)環(huán)境VBIDE,由多個(gè)部分組成,包含了標(biāo)題欄、菜單欄、工具欄、控布局等。覆蓋了開(kāi)發(fā)應(yīng)用程序的設(shè)計(jì)、編輯、編譯和調(diào)試等所有功能。VBVB如圖所示的集成開(kāi)發(fā)環(huán)境界面。VisualBasic集成開(kāi)發(fā)環(huán)境VB3VisualBasicBasic是最常被用來(lái)做入門(mén)使用的高級(jí)語(yǔ)言。它的全名是Beginner’sAll-purposeSumbolicInstructionCode,簡(jiǎn)稱為BASIC。顧名思義,Basic就是中英文資料BasicBasic(Quick使得它也可以用來(lái)開(kāi)發(fā)較大型的程序。VBVB語(yǔ)法:語(yǔ)句定義符[語(yǔ)句體]VBVB序。界面+程序就能解決某個(gè)應(yīng)用問(wèn)題。VBVBEx-Hello]碼編輯器”窗口編寫(xiě)的代碼?!按a編輯器”窗口第4節(jié)用VisualBasic開(kāi)發(fā)應(yīng)用程序使用VB編程,一般先設(shè)計(jì)應(yīng)用程序的外觀,然后再分別編寫(xiě)各對(duì)象事件的程序代碼或其他處理程序,編程的工作要輕松多。創(chuàng)建應(yīng)用程序的步驟如下:創(chuàng)建應(yīng)用程序界面VBWINDOWS之間的信息交流的需要,來(lái)確定需要那些對(duì)象,規(guī)劃界面的布局。設(shè)計(jì)界面上各個(gè)對(duì)象的屬性根據(jù)規(guī)劃的界面要求設(shè)置各個(gè)對(duì)象的屬性,比如對(duì)象的外貌、名稱、顏色、大小等。大多數(shù)屬性取值既可以在設(shè)計(jì)時(shí)通過(guò)屬性窗口來(lái)設(shè)置,也可以在程序代碼中通過(guò)編程在程序運(yùn)行時(shí)設(shè)置修改。編程對(duì)象響應(yīng)的程序代碼界面僅僅決定了程序的外觀,設(shè)計(jì)完界面后就要通過(guò)“代碼編輯器”窗口來(lái)添加代碼,實(shí)現(xiàn)一些在接受外界信息后作出響應(yīng)、信息處理等任務(wù),添加中英文資料碼編輯窗口所示“代碼編輯器”窗口保存工程一個(gè)VB程序就是一個(gè)工程,在設(shè)計(jì)一個(gè)應(yīng)用程序時(shí),系統(tǒng)會(huì)建立一個(gè)擴(kuò)展名為.vbp為.frm.frx(文件)同時(shí)被裝載。行和調(diào)試程序通過(guò)“運(yùn)行”菜單中的選項(xiàng)來(lái)運(yùn)行程序,當(dāng)出現(xiàn)錯(cuò)誤時(shí),VB系統(tǒng)可以提供信息提示也可通過(guò)“調(diào)試”和“運(yùn)行”菜單來(lái)查找和排除錯(cuò)誤。生成可執(zhí)行程序VB1.exe”生成可執(zhí)行程序(.exe文件,此后即可直接執(zhí)行該文件。在生成可+執(zhí)行程序后,windows環(huán)境下安裝后獨(dú)立運(yùn)行VB的數(shù)據(jù)庫(kù)編程方面按其難易程度可分為三類(由易到難);●使用數(shù)據(jù)庫(kù)控制項(xiàng)和綁定控制項(xiàng)●使用數(shù)據(jù)庫(kù)對(duì)象變量進(jìn)行編程●直接調(diào)用ODBC2.0API在使用VB進(jìn)行數(shù)據(jù)庫(kù)編程時(shí),通常,會(huì)首先選擇三種基本方法之一來(lái)進(jìn)行數(shù)據(jù)庫(kù)應(yīng)用程序的方案設(shè)計(jì),現(xiàn)在就將以上三種設(shè)計(jì)方法的適應(yīng)范圍及其優(yōu)缺點(diǎn)進(jìn)行一個(gè)比較。使用數(shù)據(jù)庫(kù)控制項(xiàng)和綁定控制項(xiàng)優(yōu)點(diǎn)它是三種方法中編碼量最小的不必了解CDBC2.0API的細(xì)節(jié)允許使用標(biāo)準(zhǔn)的和第三方廠商制訂的控制項(xiàng)簡(jiǎn)化了錯(cuò)誤處理支持所有的動(dòng)態(tài)集方法及屬性中英文資料缺點(diǎn)不能存取快照對(duì)象(snapshop)對(duì)象或表格對(duì)象(都屬于記錄集對(duì)象)不能存取數(shù)據(jù)庫(kù)集合,比如表定義(TableDefs)字段(Fieds),索引(Indexes)及查詢定義(QueryDefs)ODBC2.0不能進(jìn)行真正的事務(wù)處理有限的錯(cuò)誤診斷功能應(yīng)用對(duì)中小規(guī)模的數(shù)據(jù)庫(kù)表(通常少于一千條記錄)只進(jìn)行簡(jiǎn)章的瀏覽操作基本SQL查詢所對(duì)應(yīng)的結(jié)果集長(zhǎng)度有限(通常結(jié)果集的記錄數(shù)小于一百,這些記錄從一個(gè)或兩個(gè)長(zhǎng)度有限的表中檢索出來(lái))應(yīng)用程序的數(shù)據(jù)輸入/輸出項(xiàng)較少(通常只涉及一個(gè)或兩個(gè)長(zhǎng)度有限的表、并且表中的字段數(shù)在10個(gè)左右且不具有關(guān)系完整性限制使用數(shù)據(jù)庫(kù)對(duì)象變量進(jìn)行編程優(yōu)點(diǎn)可以在程序中存取ODBC2.0的管理函數(shù)可以控制多種記錄集類型:Dynaset、SnapshopTable可以存取存儲(chǔ)過(guò)程和查詢動(dòng)作TableDefs、Fields、IndexesQueryDefs具有真正的事務(wù)處理能力,包括啟動(dòng)事務(wù)(Begintrans)、提交事務(wù)(CommitTrans)及回滾事務(wù)(Rollback)缺點(diǎn)比使用數(shù)據(jù)控制項(xiàng)的方法編碼量較大只能進(jìn)行間接的錯(cuò)誤處理和錯(cuò)誤恢復(fù)對(duì)每個(gè)數(shù)據(jù)庫(kù)操作沒(méi)有細(xì)粒度的控制對(duì)結(jié)果集和包含結(jié)果集的內(nèi)豐資源的操作受到限制同直接使用ODBC2.0API函數(shù)的方法相比性能較低應(yīng)用應(yīng)用程序需要在執(zhí)行期間動(dòng)態(tài)地建立表、字段及索引.應(yīng)用程序涉及同步更新幾張表(但在邏輯上保持一致性)的復(fù)雜事務(wù)Dynaset(FORMS)SnapshotsTables,中英文資料這里是設(shè)計(jì)要考慮的關(guān)鍵應(yīng)用程序的表非常大,多于1000條記錄應(yīng)用程序具有復(fù)雜的數(shù)據(jù)輸入/輸出項(xiàng),它涉及許多內(nèi)部相關(guān)的字段并且包括數(shù)據(jù)庫(kù)參照完整性或一致性規(guī)則應(yīng)用程序需要執(zhí)行一些額外的操作和對(duì)結(jié)果集的查詢后處理,尤其是需要很高的數(shù)據(jù)格式化顯示ODBC應(yīng)用程序需要在執(zhí)行期間“顯示”數(shù)據(jù)庫(kù)的基本結(jié)構(gòu)應(yīng)用程序需要使用復(fù)雜的多碼索引方式來(lái)檢索或更新記錄ODBC2.0API優(yōu)點(diǎn)可以直接參與結(jié)果集的開(kāi)發(fā)、管理及規(guī)范化對(duì)結(jié)果集游標(biāo)提供了更多的控制,并且提供了更多的游標(biāo)類型和執(zhí)行動(dòng)作能夠確定ODBC驅(qū)動(dòng)程序及SQL的一致性級(jí)別可以更好地控制Windows的執(zhí)行調(diào)度及資源利用其他方面同其他方法差不多,因此這種方法很可能具有最好的性能缺點(diǎn)較其他兩種方法需要大量的代碼代碼復(fù)雜并且要求程序員具有編制API調(diào)用的經(jīng)驗(yàn)VisualBasic現(xiàn)的錯(cuò)誤所造成的后果會(huì)非常嚴(yán)重應(yīng)用/都能夠準(zhǔn)確地解決可能出現(xiàn)的系統(tǒng)錯(cuò)誤和失敗應(yīng)用程序強(qiáng)調(diào)資源使用,這里如何對(duì)內(nèi)存、網(wǎng)絡(luò)服務(wù)器資源進(jìn)行直接控制是首要的考慮因素應(yīng)用程序使用超大規(guī)模數(shù)據(jù)庫(kù),例如數(shù)據(jù)庫(kù)表可能包含幾萬(wàn)或幾十萬(wàn)條記錄中英文資料碼、測(cè)試、調(diào)試、計(jì)時(shí)等階段。對(duì)算法的學(xué)習(xí)包括五個(gè)方面的內(nèi)容:①設(shè)計(jì)算法。算法設(shè)計(jì)工作是不可能完全自動(dòng)化的,應(yīng)學(xué)習(xí)了解已經(jīng)被實(shí)踐證明是有用的一些基本的算法設(shè)計(jì)方法,這些基本的設(shè)計(jì)方法不僅適用于計(jì)算機(jī)科學(xué),而且適用于電氣工程、運(yùn)籌學(xué)等領(lǐng)域。②表示算法。描述算法的方法有多種形式,例如自然語(yǔ)言和算法語(yǔ)言,各自有適用的環(huán)境和特點(diǎn)。④分析算法。算法分析是對(duì)一個(gè)算法需要多少計(jì)算時(shí)間和存儲(chǔ)空間作定量的分的不同算法的有效性作出比較。⑤驗(yàn)證算法。用計(jì)算機(jī)語(yǔ)言描述的算法是否可計(jì)算、有效合理,須對(duì)程序進(jìn)行測(cè)試,測(cè)試程序的工作由調(diào)試和作時(shí)空分布圖組成。而算法具有一定的特性,它包括:①確定性。算法的每一種運(yùn)算必須有確定的意義,該種運(yùn)算應(yīng)執(zhí)行何種動(dòng)作應(yīng)無(wú)二義性,目的明確。②能行性。要求算法中有待實(shí)現(xiàn)的運(yùn)算都是基本的,每種運(yùn)算至少在原理上能由人用紙和筆在有限的時(shí)間內(nèi)完成。③輸入。一個(gè)算法有0個(gè)或多個(gè)輸入,在算法運(yùn)算開(kāi)始之前給出算法所需數(shù)據(jù)的初值,這些輸入取自特定的對(duì)象集合。④輸出。作為算法運(yùn)算的結(jié)果,一個(gè)算法產(chǎn)生一個(gè)或多個(gè)輸出,輸出是同輸入中英文資料有某種特定關(guān)系的量。⑤有窮性。一個(gè)算法總是在執(zhí)行了有窮步的運(yùn)算后終止,即該算法是可達(dá)的。算過(guò)程并不停止,而是處于等待狀態(tài)。意到這一點(diǎn)。中英文資料原文:VisualBasiclanguageandarithmeticTheUnitedStateslaunchedtheMicrosoftVisualBasic(maybereferredtoisthelatestversionofthecurrentVB2008Beta2(VB9)Chineseversion.Visualmeaningthevisual,visible,referringtothedevelopmentofoperatingsystemslikewindowsgraphicaluserinterface(GraphicUserInterface,GUI)method,itdoesnotneedtopreparealargenumbercodetodescribetheappearanceoftheinterfaceelementsandlocation,aslongasthepre-Theestablishmentofgooddraganddropobjectsonthescreencorrespondingtothelocation.Basicisactuallyanabbreviationofthephrase;thisphraseisBeginnersall-purposesymbolicinstructioncode,theChinesemeaning"totheinitialdirectiveGMsymbolcodelanguage."VisualBasiclearning,ProfessionalEditionandEnterpriseEditionversionstomeetthedifferentneedsofthedevelopment.StudyandapplytotheordinaryversionofthemajorityoflearnersandtheuseofVisualBasicdevelopmentofthegeneralstaffofWindowsapplications,but;professionalversioncomputerprofessionaldevelopmentofstaff,includingthestudyoffunctionalversionofthefullcontentcontrolandInternetdevelopmenttoolssuchasadvancedfeatures,Enterprisecontainnotonlyalltheprofessionalofthecontent,thereareautomatedtoolssuchasComponentManager,professionalprogrammerstomakethedevelopmentofapowerfulgroupessenceofdistributedapplications.VisualBasicSection1thesummaryofVisualBasicMicrosoftVisualBasic,(abbreviateVB)astoolthemostofapplicationprogramoneofunderWindowsoperatingplatform.Nomatterbeginnerorprofessionaldeveloper,VBhasallofferedawholesetoftoolstothem,中英文資料Developmentapplicationprogramthatitcanberelaxedandconvenient.SoVBasmostcomputerfirst-selectedtheABCofprogramminglanguageofbeginner."Visual"meanmethodtoadoptvisualuserofdevelopmentfigureinterface(GUI),needandwritealargenumberofcodegoanddescribeinterfaceappearanceandpositionofelementseldom,Towandshowcontrollingpartthatneedcorrespondingpositiontogetscreencanhelpfiguredesigninterface,useroffigure,;"Basic"meansBASIClanguage,becauseVBisdevelopedonthebasisofalreadyexistingBAISClanguage.VBisakindofprogramminglanguageincommonuseofMicrosoft,It,includingVBAofthenumerousWindowsapplicationsoftwareuseVBlanguageinMicrosoftExcel,MicrosoftAccessed.,Foruserstocarryonthesecondarydevelopment;MakewebpageusemoreVBScriptscriptlanguagesubcollectionofVBtoopresent.UtilizedataofVBvisitcharacteristicusercanestablishthedatabasemostdatabaseformsincludingMicrosoftSQLServerandotherenterprisesdatabaseWiththeapplicationprogramoffront,andadjustableserviceendpart.UtilizeActiveX(TM)technology,VBcanusewordprocessor,electronicdatalistheWindowsfunctionthatapplicationprogramoffersextremely,ExcelofMicrosoft,,WordofMicrosoft,,EvencanusebyVBspecialtyeditionorenterpriseapplicationprogramandtargetthateditionestablishdirectly.Theprocedurethatusersestablishedfinallyisareal.EXEfile,canissuefreely.VBofferstudyedition,thespecialtyeditionandenterpriseedition,usetosatisfiedwithdifferentdevelopmentdemands.StudyeditionmakeprogrammingpersonneldevelopWindowsandWindowsapplicationprogramofNTveryeasily.Thespecialtyeditionhasofferedthedevelopinginstrumentwithcompletefunctiontoprogrammingpersonnelofthespecialty,Includestudyingallfunctionsofeditioninthespecialtyedition.Enterpriseeditionallowprofessionalpersonneltoestablishstrongdistributedapplicationprogramintheformofgroup.Itincludesallcharacteristicsofthespecialtyedition.Socanchoosedifferenteditionsaccordingtodifferentneeds.中英文資料Section2integrateddevelopmentenvironmentsIntegratedenvironmentofVBcallIDE,madeupofalotofparts,includetitleboard,menufence,toolfence,controllingpartcase,Andwindowwindow,engineeringmanagementdevicewindow,attributewindow,codeandwindowbodyoverallarrangementwindowbodyoverallarrangement,etc.ofdesigningetc..Havecoveredallfunctions,suchasdesignwhichdevelopstheapplicationprogram,editting,compilinganddebugging,etc..InVB,theapplicationprogramcallstheprojecttoo.WhenstartVBandopenanewprojectforthefirsttime,canseeandpursueintegrateddevelopmentenvironmentinterfacethatshow.VisualBasicIntegrateddevelopmentenvironmentVBcomeandorganizedevelopmentofapplicationprogramthroughproject,useprojectcomeandmanageandformfilesofapplicationprogram.Oneusestheenvironmenttomakeupbyseveralwindowbodies,standardmodulegenerally.Thesystemmanagesprojectthroughtheprojectmenu,forinstanceaddthewindowbody,quote.Systemallowturnonandmanagealotofprojectsbesides.Section3VisualBasiclanguagebriefintroductionsBasicuseanddotheelementaryhigh-levellanguagethatusedoftenmost.ItsfullnameisBeginner'sAll-purposeSymbolicInstructionCode,abbreviateasBASIC.Asitsnamesuggests,Basiconespeciallyforlanguagethatbeginnerdesign,becauseiteasytolearneasytoknow,Sothebodyispopular.Basiclanguagetobelongtoandsolvetranslatingtype,socancarryoutlinebyline,Soitcanseetheresultcarriedoutatonce,thisisaveryconvenientdesignforbeginner.Butithaveconceptofstructureeither,onethatisproceduremaintainandmanagementhaveasmuchasotherlanguageproblems.Butback-endBasiccorrectshortcomingoftheabove(suchasQuickBasic),makeitmayusedforanddevelopthelarge-scalerproceduretoo.Thelanguageisthebasiccomposition,whichformsVBprocedure.VBhasstipulatedtheformofsentencesandfunction.Grammar:中英文資料Thesentencedefinesincantations[Sentencebody]Sentencedefineagreewithandusedinfixedfunctionofsentence,bodyappointconcretecontentorwantconcreteoperationthatcarryoutofsentence.AllsetofsentenceVBlanguage,carryonwithVBsentenceorganicassociationfinishacertainspecificfunctiontheprocedure.Interface+procedurecansolveacertainapplicationproblem.VBapplicationprogramcodewindowwritein"codeeditingmachine"generally."editingmachineofcode"islikethewordprocessingsoftwareofaofheightspecialization,therearemanyeasiesfunctionofwritingVBcode,Pursuetoshow[ExampleEx-Hello]In"codeeditingmachine"codethatwindowwritten.“Editingmachineofcode”windowSection4developtheapplicationprogramwithVisualBasicUseVBprogramming,designappearanceofapplicationprogramfirstgenerally,writeeverytargetprocedurecodeorothertreatmentprocedureofrespectively,Workofprogrammingshouldbelightmore.Theprocedureofestablishingtheapplicationprogramisasfollows:EstablishapplicationprograminterfaceTheinterfaceisthemutualbridgeofuserandprocedure,Generallyofwindowbodyandvisionframeofthebutton,menu,textframeset.withstandardWINDOWSinterfaceofapplicationprogramthatVBestablish.Requireaccordingtofunctionofprocedureanduserandneedofinformationinterchangeofprocedure,Cometoconfirmthatneedthosetargets,plantheoverallarrangementoftheinterface.DesignbyeachattributesoftargetininterfaceDemandandsetupeachattributeoftargetsuchasappearance,name,,sizeoftargeted.accordingtointerfaceofplanning.Mostattributepersonwhofetchcansetupthroughtheattributewindowwhendesignalready,Toocansetuprevisingwhenoperatinginprocedureprogramminginprocedurecode.Havethetargetsrespondprogrammingbyprocedurecode中英文資料RespondprocedurecodeofprogrammingtargetInterfacedetermineappearanceofprocedureonly,designwindowaddcodesthrough"codeeditingmachine"soonaftertheinterface,Realizesomemakethetasks,suchasresponding,informationprocessing,etc.afteracceptingexternalmessage,Addcode,realizesomeresponse,informationprocessingthatmakeafteracceptingexternalinformationtask,Aseditor'swindowofcodepursuedshowsaddcodes“codeeditingmachine”windowKeepprojectOneVBprocedureoneproject,atthetimeofdesigningaapplicationprogram,systemwillsetuponebeexpandedandcalled.Projectfileofvbp,fileincludeallrelevantinformationoffilethatprojectsetupthis,Keepprojectkeepassociateddocumentsofprojectthisatthesametime.Forexamplethewindowbodyproducedwhendesigninterfacesiskeptandbeingexpandedandbeingcalled.Frmsum.Inthewindowbodyoffoxfire.Atthetimeofopeningaproject(file),thisprojectrelevantfilesloadatthesametime.OperateanddebuggedbyprocedureOperatetheprocedurethoroughpinoperate"selectinginthemenu,whenthemistakeappears,VBsystemcanofferinformationpromptcanlookedforandgetridofthemistakethoroughpindebug"withinoperate"menustoo.CanproducebyexecutiveprogramFormakeprocedurecanbreakawayfromVBenvironment,ordertobecomelifethrough"file""producingproject1.exe"ofmenubutexecutive(eyeful),Cancarryoutthisfiledirectlyafterthis.Inproduce,+executiveprogram,andthenthroughinstallguidebaleallassociateddocuments,Canrunindependentlyafterinstallationundertheenvironmentofwindows9x/2000asasoftwareproduct.Incomputersystem'sanysoftware,isbytheeverylargeorsmalleachkindofsoftwareconstituentconstitution,deferstothespecificalgorithmtorealizerespectively,thealgorithmqualitydirectdecisionrealizesthesoftwareperformancefitandunfitquality.Designsthealgorithmwithany中英文資料method,whatresourcesdesignsthealgorithmtoneed,requireshowmanyrunningtime,howmanystoragespace,howtodetermineanalgorithmthequality,whenrealizesasoftware,ismustgivetosolve.Incomputersystem'soperatingsystem,thelanguagecompilingsystem,thedatabasemanagementsystemaswellasinvariouscomputerapplicationsystem'ssoftware,mustuseeachoneconcretealgorithmtorealize.Therefore,thealgorithmdesignandtheanalysisarethecomputerscienceandatechnicalcorequestion.Thealgorithmistheproblem-solvingstep,wemaydefinethealgorithmChengJieadeterminationclassquestiontherandomonespecialmethod.thecomputerscience,thealgorithmneedstousethecomputeralgorithmiclanguagetodescribe,thealgorithmrepresentswiththecomputersolvesakindofquestionprecisely,theeffectivemethod.Thealgorithmconstructiondata=procedure,solvesonetoassignmaycalculateorthesolvablequestion,thedifferentpersonmaycompilethedifferentprocedure,solvestheidenticalproblem,herehastwoproblems:First,withcomputationalmethodcloserelatedalgorithmquestion;Second,programmingtechnicalquestion.Betweenthealgorithmandtheprocedurehasthecloserelationship.Thealgorithmisgrouphasthepoorrule,theyhadstipulatedsolvessomespecifictypequestionaseriesofoperations,istotheproblemsolvingplanaccurateandthecompletedescription.Formulatesanalgorithm,generallymustpassstagesandsoondesign,confirmation,analysis,code,test,debugging,time.Toalgorithmstudyincludingfiveaspectcontents:①Designalgorithm.Thealgorithmdesignworkisimpossiblecompletelytheautomation,shouldstudytheunderstandingalreadybythepracticetoprovethatwastheusefulsomebasicalgorithmdesignmethod,thesebasicdesignmethodwasnotonlysuitableforthecomputerscience,moreoverwassuitablefordomainsandsoonelectricalengineering,operationsresearch;②Expressesthealgorithm.Thedescriptionalgorithm'smethodhaskindsofforms,forexamplethenaturallanguageandthealgorithmiclanguage,havethesuitableenvironmentandthecharacteristicrespectively;③Confirmsthealgorithm.Thealgorithmconfirmedthegoaliscausesthe中英文資料peopletobelievefirmlythatthisalgorithmcanworkunmistakablycorrectly,namelythisalgorithmhasthecircularity.Thecorrectalgorithmdescribeswiththecomputeralgorithmiclanguage,constitutesthecomputerprogram,thecomputerprogrammovesonthecomputer,obtainsthealgorithmoperationresult;④Parsingalgorithm.Thealgorithmicanalysisisrequireshowmanycomputingtimeandthestoragespacetoanalgorithmmakesthequotatheanalysis.Theparsingalgorithmmayforecastthatwhatenvironmentthisalgorithmdoessuitinmoveseffectively,tosolvestheidenticalquestiondifferentalgorithmvaliditytomakethecomparison;⑤Confirmationalgorithm.Withmachinelanguagedescriptionalgorithmwhethercancalculateeffectively,reasonable,mustcarryonthetesttotheprocedure,thetestorderworkandmakesthespaceandtimedistributionbythedebuggingtobecomposed.Butthealgorithmhascertaincharacteristic,itincludes:①Determinism.Algorithmeachkindofoperationmusthavedeterminationsignificance,thiskindofoperationshouldcarryoutwhatofmovementshouldnottohavetheambiguity,thegoalisclear;②Effectiveness.Requeststheoperationwhichinthealgorithmwaitsrealizingisbasic,eachkindofoperationcanatleastcompletesintheprinciplebythehumanwiththepaperandthepeninthelimitedtime;③Input.Analgorithmhas0orthemanyinputs,beforethealgorithmoperationstartsgivesthealgorithmtoneedthedatathestartingvalue,inputsarefromthespecificobjectset;④Output.Doesforthealgorithmoperationresult,analgorithmhasormanyoutputs,theoutputhassomekindofspecificrelationalquantitywiththeinput;⑤Haspoor.Analgorithmalwaysaftercarryingouthadthepoorstepoperationhasterminated,namelythisalgorithmwasmayreach.Satisfiesafirstfourcharacteristicgroupofrulenottobeabletobecalledthealgorithm,canonlybecalledthecomputation
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 太原骨質(zhì)瓷項(xiàng)目可行性研究報(bào)告模板范文
- 初識(shí)大自然 教學(xué)設(shè)計(jì)-2023-2024學(xué)年科學(xué)一年級(jí)上冊(cè)湘科版
- Unit2 My week A (教學(xué)設(shè)計(jì))-2024-2025學(xué)年人教PEP版英語(yǔ)五年級(jí)上冊(cè)
- 2025年渦輪螺槳發(fā)動(dòng)機(jī)項(xiàng)目建議書(shū)
- 二零二五年度企業(yè)年會(huì)表演安全免責(zé)協(xié)議
- 2025年度物業(yè)費(fèi)收取與社區(qū)消防安全管理服務(wù)合同范本
- 二零二五年度電影演員福利聘用協(xié)議
- 5《走近科學(xué)家》教學(xué)設(shè)計(jì)-2024-2025學(xué)年道德與法治三年級(jí)上冊(cè)統(tǒng)編版
- Unit 6 Exploring the Topic-Thinking Skills 教學(xué)設(shè)計(jì) 2024-2025學(xué)年仁愛(ài)科普版英語(yǔ)七年級(jí)上冊(cè)
- 2025年度能源管理合同解約及節(jié)能減排協(xié)議
- 《向量共線定理》同步課件
- 小學(xué)數(shù)學(xué)學(xué)習(xí)經(jīng)驗(yàn)交流課件
- 信永中和在線測(cè)評(píng)85題
- 2024年第二批政府專職消防員招錄報(bào)名表
- DB41-T 2704-2024 森林撫育技術(shù)規(guī)程
- 2020-2021學(xué)年浙江省金華市東陽(yáng)市七年級(jí)(下)期末數(shù)學(xué)試卷(附答案詳解)
- 2024年單招考試題
- 三年級(jí)數(shù)學(xué)下冊(cè)期末測(cè)試卷及答案【可打印】
- 蘇教版小學(xué)語(yǔ)文上冊(cè)教學(xué)研究論文
- 片狀鋅粉行業(yè)分析!中國(guó)片狀鋅粉行業(yè)市場(chǎng)發(fā)展前景研究報(bào)告(2024版)
- 2024至2030年中國(guó)中水回用行業(yè)發(fā)展監(jiān)測(cè)及投資戰(zhàn)略規(guī)劃報(bào)告
評(píng)論
0/150
提交評(píng)論