版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ProgrammingLanguage
Unit7TextA
Contents
NewWords
Abbreviations
Phrases课文讲解NewWordsNewWordsPhrasesPhrasesStudyofKeyNewWordsStudyofKeyPhrases
StudyofKeyPhrases
StudyofKeyPhrases
StudyofKeyPhrases
ListeningtoTextAnalysisofDifficultSentencesAnalysisofDifficultSentencesAnalysisofDifficultSentencesAnalysisofDifficultSentencesProgrammingLanguageProgramminglanguageisthelanguageofcomputers.Throughprogramminglanguage,wecancommunicatewithacomputersystem.Computerscanonlyunderstandbinary,buthumansarenotcomfortablewithbinarynumbersystem.Humanscannotinteractfluentlywithcomputersinthelanguageof0'sand1's.Programminglanguageactasaninterfacebetweencomputersandhumans.英
文编程语言编程语言是计算机的语言。通过编程语言,我们可以与计算机系统进行通信。计算机只能理解二进制,但人类不能适应二进制数字系统。人类无法以0和1的语言流畅地与计算机交互。编程语言充当了计算机与人之间的接口。中
文课文讲解Programminglanguagesareusedtocreateprograms.Acomputerprogramisintendedtoperformsomespecifictaskthroughcomputerortocontrolthebehaviorofcomputer.Usingaprogramminglanguage,wewriteinstructionsthatthecomputershouldperform.Instructionsareusuallywrittenusingcharacters,words,symbolsanddecimal.Theseinstructionsarelaterencodedtothecomputerunderstandablelanguagei.e.binarylanguage,sothatthecomputercanunderstandtheinstructionsgivenbyhumanandcanperformspecifiedtask.英
文编程语言用于创建程序。计算机程序旨在通过计算机执行某些特定任务或控制计算机的行为。我们使用编程语言编写计算机应执行的指令。指令通常使用字符、单词、符号和十进制数来编写。这些指令随后被编码为计算机可理解的语言,即二进制语言,以便计算机可以理解由人给出的指令并可以执行指定的任务。中
文课文讲解Todaythousandsofprogramminglanguagehavebeencreatedandmanyarestillbeingdevelopedeveryyear.Everyprogramminglanguageisdesignedforsomespecificpurpose.SuchasFORTRAN,OCaml,Haskellarebestsuitedforscientificandnumericalcomputations,whereasJava,C++,C#arebestsuitedfordesigningserverapplications,games,desktopapplicationsandmanymore.英
文今天,已经创建了数千种编程语言,并且每年仍在开发中。每种编程语言都是为特定目的而设计的。例如FORTRAN、OCaml、Haskell最适合科学和数值计算,而Java、C++、C#最适合设计服务器应用程序、游戏、桌面应用程序等等。中
文课文讲解Programminglanguagesarebasicallyclassifiedintotwomaincategories–lowlevellanguageandhighlevellanguage.However,therealsoexistsanothercategoryknownasmiddlelevellanguage.Everyprogramminglanguagebelongstooneofthesecategoryandsubcategory.英
文编程语言基本上分为两大类——低级语言和高级语言。但是,也存在另一种称为中级语言的类别。每种编程语言都属于这些类别和子类别之一。中
文课文讲解1.LowLevelLanguagesLowlevellanguagesarelanguagesclosetothemachinelevelinstructionset.Theyprovidelessornoabstractionfromthehardware.Alow-levelprogramminglanguageinteractsdirectlywiththeregistersandmemory.Instructionswritteninlowlevellanguagesaremachinedependent.Programsdevelopedusinglowlevellanguagesaremachinedependentandarenotportable.英
文1.低级语言低级语言是接近机器级指令集的语言。它们提供的硬件抽象很少或没有。低级编程语言直接与寄存器和存储器交互。用低级语言编写的指令依赖机器。使用低级语言开发的程序依赖计算机,并且不可移植。中
文课文讲解Lowlevellanguagedoesnotrequireanycompilerorinterpretertotranslatethesourceintomachinecode.Anassemblermaytranslatethesourcecodewritteninlowlevellanguageintomachinecode.Programswritteninlowlevellanguagesarefastandmemoryefficient.However,itisnightmareforprogrammerstowrite,debugandmaintainlow-levelprograms.Theyaremostlyusedtodevelopoperatingsystems,devicedriversandapplicationsthatrequiredirecthardwareaccess.英
文低级语言不需要任何编译器或解释器就可将源代码转换为机器代码。汇编器可以把用低级语言编写的源代码转换为机器代码。用低级语言编写的程序速度快且存储效率高。但是,编写、调试和维护低级程序是程序员的噩梦。它们主要用于开发需要直接访问硬件的操作系统、设备驱动程序和应用程序。中
文课文讲解Lowlevellanguagesarefurtherclassifiedintotwomorecategories:machinelanguageandassemblylanguage.1.1MachinelanguageMachinelanguageistheclosestlanguagetothehardware.Itconsistsofasetofinstructionsthatareexecuteddirectlybythecomputer.Theseinstructionsareasequenceofbinarybits.Eachinstructionperformsaveryspecificandsmalltask.Instructionswritteninmachinelanguagearemachinedependentandvariesfromcomputertocomputer.英
文低级语言又分为两类:机器语言和汇编语言。1.1机器语言机器语言是最接近硬件的语言。它由计算机直接执行的一组指令组成。这些指令是二进制位的一个序列。每个指令执行一个非常具体的小任务。用机器语言编写的指令从属于机器,并且因计算机而异。中
文课文讲解Aprogrammermusthaveadditionalknowledgeaboutthearchitectureoftheparticularmachinebeforeprogramminginmachinelanguage.Developingprogramsusingmachinelanguageisatediousjob.Itisverydifficulttoremembersequenceofbinariesfordifferentcomputerarchitectures.Therefore,nowadaysitisnotmuchinpractice.英
文在使用机器语言进行编程之前,程序员必须具备特定机器体系结构的相关知识。使用机器语言开发程序是一项繁琐的工作。记住不同计算机体系结构的二进制序列非常困难。因此,如今在实践中机器语言已经不常用了。中
文课文讲解1.2AssemblylanguageAssemblylanguageisanimprovementovermachinelanguage.Similartomachinelanguage,assemblylanguagealsointeractsdirectlywiththehardware.Insteadofusingrawbinarysequencetorepresentaninstructionset,assemblylanguageusesmnemonics.英
文1.2汇编语言汇编语言是对机器语言的改进。与机器语言类似,汇编语言也直接与硬件交互。汇编语言不是使用原始的二进制序列来表示指令集,而是使用助记符。中
文课文讲解MnemonicsareshortabbreviatedEnglishwordsusedtospecifyacomputerinstruction.Eachinstructioninbinaryhasaspecificmnemonic.Theyarearchitecturedependentandthereisalistofseparatemnemonicsfordifferentcomputerarchitectures.Assemblylanguageusesaspecialprogramcalledassembler.Assemblertranslatesmnemonicsintospecificmachinecode.英
文助记符是英文缩写词,用于指定计算机指令。每个二进制指令都有一个特定的助记符。它们依赖于体系结构,并且为不同的计算机体系结构提供了不同的助记符列表。汇编语言使用一种称为汇编程序的特殊程序。汇编程序将助记符转换为特定的机器代码。中
文课文讲解Assemblylanguageisstillinuse.Itisusedfordevelopingoperatingsystems,devicedrivers,compilersandotherprogramsthatrequiresdirecthardwareaccess.英
文汇编语言仍在使用。它用于开发需要直接硬件访问的操作系统、设备驱动程序、编译器和其他程序。中
文课文讲解1.3Advantagesoflowlevellanguages●Programsdevelopedusinglowlevellanguagesarefastandmemoryefficient.●Programmerscanutilizeprocessorandmemoryinbetterway.●Thereisnoneedofanycompilerorinterpreterstotranslatethesourceintomachinecode,thuscuttingthecompilationandinterpretationtime.●Lowlevellanguagesprovidedirectmanipulationofcomputerregistersandstorage.●Itcandirectlycommunicatewithhardwaredevices.英
文1.3低级语言的优势●使用低级语言开发的程序快速且存储效率高。●程序员可以更好地利用处理器和内存。●无需任何编译器或解释器即可将源代码转换为机器代码,从而减少了编译和解释时间。●低级语言可直接操纵计算机寄存器和存储。●它可以直接与硬件设备通信。中
文课文讲解1.4Disadvantagesoflowlevellanguages●Programsdevelopedusinglowlevellanguagesaremachinedependentandarenotportable.●Itisdifficulttodevelop,debugandmaintain.●Lowlevelprogramsaremoreerrorprone.●Lowlevelprogrammingusuallyresultsinpoorprogrammingproductivity.●Programmermusthaveadditionalknowledgeofthecomputerarchitectureofparticularmachine.英
文1.4低级语言的缺点●使用低级语言开发的程序依赖于计算机,并且不可移植。●难以开发、调试和维护。●低级程序更容易出错。●低级编程通常会导致编程效率低下。●程序员必须对特定机器的计算机体系结构有更多的了解。中
文课文讲解2.HighLevelLanguagesHighlevellanguagesaresimilartothehumanlanguage.Unlikelowlevellanguages,highlevellanguagesareprogrammerfriendly,easytocode,debugandmaintain.Highlevellanguageprovideshigherlevelofabstractionfrommachinelanguage.Theydonotinteractdirectlywiththehardware.Rather,theyfocusmoreonthecomplexarithmeticoperations,optimalprogramefficiencyandeasinessincoding.英
文2.高级语言高级语言与人类语言相似。与低级语言不同,高级语言对程序员友好,易于编码、调试和维护。高级语言提供了对机器语言的更高层次的抽象。它们不直接与硬件交互。相反,它们更多地关注复杂的算术运算、优化程序效率和编码简便性。中
文课文讲解Highlevelprogramsrequirecompilers/interpreterstotranslatesourcecodeintomachinelanguage.Wecancompilethesourcecodewritteninhighlevellanguagetomultiplemachinelanguages.Thus,theyaremachineindependentlanguage.Todayalmostallprogramsaredevelopedusingahighlevelprogramminglanguage.Wecandevelopavarietyofapplicationsusinghighlevellanguage.Theyareusedtodevelopdesktopapplications,websites,systemsoftware,utilitysoftwareandmanymore.英
文高级程序要求编译器/解释器将源代码转换为机器语言。我们可以把用高级语言编写的源代码编译为多种机器语言。因此,它们是独立于机器的语言。今天,几乎所有程序都是使用高级编程语言开发的。我们可以使用高级语言开发各种应用程序。它们用于开发桌面应用程序、网站、系统软件、实用程序软件等等。中
文课文讲解Highlevellanguagesaregroupedintwocategoriesbasedonexecutionmodel:compiledorinterpretedlanguages.Onthebasisofprogrammingparadigm,highlevellanguagescanalsobeclassifiedintostructuredprogramminglanguage,proceduralprogramminglanguage,andobject-orientedprogramminglanguage.英
文根据执行模型,高级语言分为两类:编译语言或解释语言。也可以根据编程范例将高级语言分类为:结构化编程语言、过程编程语言和面向对象编程语言。中
文课文讲解2.1Advantagesofhighlevellanguage●Highlevellanguagesareprogrammerfriendly.Theyareeasytowrite,debugandmaintain.●Itprovideshigherlevelofabstractionfrommachinelanguages.●Itisamachineindependentlanguage.●Easytolearn.●Lesserrorprone,easytofindanddebugerrors.●Highlevelprogrammingresultsinbetterprogrammingproductivity.英
文2.1高级语言的优势●高级语言对程序员友好。它们易于编写、调试和维护。●它提供了更高级别的机器语言抽象。●这是一种独立于机器的语言。●易于学习。●不易犯错,易于发现和调试错误。●高级编程可提高编程效率。中
文课文讲解2.2Disadvantagesofhighlevellanguage●Ittakesadditionaltranslationtimestotranslatethesourceintomachinecode.●Highlevelprogramsarecomparativelyslowerthanlowlevelprograms.●Comparedtolowlevelprograms,theyaregenerallylessmemoryefficient.●Itcannotcommunicatedirectlywiththehardware.英
文2.2高级语言的缺点●将源代码转换为机器代码需要花费额外的转换时间。●高级程序比低级程序要慢。●与低级程序相比,它们的内存效率通常较低。●它无法直接与硬件通信。中
文课文讲解3.DifferencesBetweenLowLevelLanguageandHighLevelLanguage3.1ProgramspeedProgramsinlowlevellanguagearewritteneitherinbinaryorassemblylanguage.Theydonotrequireanycompilationorinterpretation.Itinteractdirectlywiththeregistersandmemory.Thus,theyarecomparativelyfasterthanhighlevellanguages.英
文3.低级和高级语言之间的差异3.1程序速度低级语言的程序以二进制或汇编语言编写。它们不需要任何编译或解释。它直接与寄存器和存储器交互。因此,它们比高级语言要快。中
文课文讲解HighlevellanguageusesEnglishstatementstowriteprograms.Hence,theyrequirecompilersorinterpreterstotranslatethesourceintomachinelanguage.Theydonotinteractdirectlywiththehardware.Thus,theyareslowerthanlowlevellanguages.英
文高级语言使用英语语句编写程序。因此,它们需要编译器或解释器将源转换为机器语言。它们不直接与硬件交互。因此,它们比低级语言慢。中
文课文讲解3.2MemoryefficiencyLowlevellanguagesarememoryefficient.Theygenerallyconsumelessmemory.Highlevellanguagesarenotmemoryefficient.Theygenerallyruninsideaspecificruntimeenvironment.Alsothereareseveralotherprogramsrunningconcurrentlytoincreaseoptimalefficiencyoftheprogramwhichconsumesmemory.Thus,theoverallmemoryconsumptionofhighlevellanguageiscomparativelymorethanlowlevellanguage.英
文3.2存储效率低级语言存储效率高。它们通常消耗较少的内存。高级语言存储效率不高。它们通常在特定的运行时环境中运行。另外,还有其他几个程序同时运行以提高程序的最佳效率,但消耗内存。因此,高级语言的总体内存消耗相对比低级语言要多。中
文课文讲解3.3EasinessLowlevellanguagesaremachinefriendlylanguages.Towriteaprograminlowlevellanguagewemustknowbinariesormnemonicsoflowlevelinstructionsets.Rememberingvariousinstructionssetsfordifferentarchitecturesisnearlyimpossible.Thus,lowlevelprogrammingisdifficulttolearn.Learninglowlevellanguagesrequiresadditionalknowledgeandexperienceaboutthespecificmachinearchitecture.英
文3.3简易性低级语言是机器友好的语言。要使用低级语言编写程序,我们必须了解低级指令集的二进制或助记符。记住针对不同体系结构的各种指令集几乎是不可能的。因此,低级编程很难学习。学习低级语言需要有关特定机器体系结构的其他知识和经验。中
文课文讲解Highlevellanguagesareprogrammerfriendlylanguages.ProgramsinhighlevellanguagearewrittenusingEnglishstatements,whichismucheasiertorememberthanlowlevelbinariesormnemonics.Hence,highlevelprogrammingiseasytolearn.英
文高级语言是程序员友好的语言。用高级语言编写的程序是使用英语语句编写的,这比低级二进制或助记符更容易记住。因此,高级编程易于学习。中
文课文讲解3.4PortabilityLowlevellanguagecontainlowlevelcomputerinstructionsset.Theseinstructionsaremachinedependentandaredifferentfordifferentarchitectures.Hence,programsdevelopedarealsomachinedependentandarenotportable.英
文3.4便携性低级语言包含低级计算机指令集。这些指令依赖于机器,并且对于不同的体系结构是不同的。因此,开发的程序也依赖于机器并且不可移植。中
文课文讲解HighlevellanguagesusesEnglishstatementstowriteprograms.Theyarefurthertranslatedintomachinelanguageusingacompilerorinterpreter.Thereexistsaseparatecompilerorinterpreterfordifferentmachinearchitectures.Thattranslatesthesourceintospecificmachinelanguage.Hence,highlevellanguagesaremachineindependentandareportable.英
文高级语言使用英语语句编写程序。使用编译器或解释器将它们进一步翻译为机器语言。不同的机器体系结构有不同的编译器或解释器。这会将源代码转换成特定的机器语言。因此,高级语言是独立于机器的并且是可移植的。中
文课文讲解3.5AbstractionlevelLowlevellanguageprovideslessornoabstractionfromthehardware.Theyaretheclosestlanguagetothehardware.Theyinteractdirectlywiththecomputersregisterandmemory.Highlevellanguageprovidesahighlevelofabstractionfromthehardware.Theyrunontopofthemachinelanguage.Theydonotinteractdirectlywiththecomputersregisterandmemory.Theyinteractwiththehardwarethroughtheoperatingsystem.英
文3.5抽象级别低级语言很少或根本没有提供来自硬件的抽象。它们是最接近硬件的语言。它们直接与计算机的寄存器和内存交互。高级语言提供了硬件的高级抽象。它们在机器语言之上运行。它们不会直接与计算机的寄存器和内存进行交互。它们通过操作系统与硬件交互。中
文课文讲解3.6DebuggingandmaintenanceLowlevellanguagesaremoreerrorprone,fromsmallsyntacticalerrortobigmemoryleaks.Errordetectionandmaintenanceisated
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 制取氢气典型试题与详细答案
- 牙髓炎考试试题及答案
- 考研调剂目标院校筛选核心维度
- 反恐小程序考试题目及参考答案
- 卫生院药品管理与效期总结2026
- 幼儿园大班生活活动教学设计《生活小管家:自我管理与服务能力的进阶实践》
- 聚焦主题意义探究的初中一年级英语单元整体教学设计与实施-以“Lets celebrate!”为例
- 小学科学二年级(下)《磁极间的相互作用》核心知识清单
- 小学三年级数学《有余相生 数理相融》教学设计
- 高中二年级物理《磁现象与磁场》核心概念深度建构教学设计
- 内蒙古森工集团笔试内容题目及答案解析
- 2026芯片设计标杆企业组织效能报告
- 2026年新疆医科大学第四附属医院(新疆维吾尔自治区中医医院)招聘编制外工作人员(125人)笔试备考题库及答案详解
- 2026-2030智能语音行业市场深度调研及发展趋势与投资前景研究报告
- 2026年全国保密教育线上培训考试题库(含标准答案)
- 检修班组长安全职责与管理能力提升培训
- (正式版)T∕CSNAME 195-2025 船舶修理企业危险作业安全监测要求
- GB/T 47551-2026塑料有害物质限量要求多溴联苯和多溴二苯醚
- 南京社区工作者考试题库答案
- 2025年融资担保公司《担保业务知识》真题及答案解析
- 2025年铁路桥隧工(技师)职业技能鉴定考试题库(含答案)
评论
0/150
提交评论