programminglanguages(程序设计语言)ppt

programminglanguages(程序设计语言)ppt

ID:19849918

大小:720.50 KB

页数:22页

时间:2018-10-07

programminglanguages(程序设计语言)ppt_第1页
programminglanguages(程序设计语言)ppt_第2页
programminglanguages(程序设计语言)ppt_第3页
programminglanguages(程序设计语言)ppt_第4页
programminglanguages(程序设计语言)ppt_第5页
资源描述:

《programminglanguages(程序设计语言)ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、ProgrammingLanguages (程序设计语言)http://net.pku.edu.cn/~course/cs101/2012HongfeiYanSchoolofEECS,PekingUniversity9/26/20122EvolutionEvolutionofcomputerlanguages3计算机语言的演化机器语言指令由0和1串组成,程序可直接执行符号语言用符号表示不同的机器语言指令,必须被汇编(assembler)为机器语言高级语言从关注计算机转移到关注问题本身.用语句(statement)

2、构造应用逻辑.通常不能直接执行,要编译(compile)或解释(interpret)执行.4ComputerlanguageThetermcomputerlanguageincludesalargevarietyofartificiallanguagesusedtocommunicatewithcomputers.Itisbroaderthanthemorecommonly-usedtermprogramminglanguage.Programminglanguagesareasubsetofcomputerla

3、nguages.Forexample,HTMLisamarkuplanguageandacomputerlanguage,butitisnottraditionallyconsideredaprogramminglanguage.Machinecodeisacomputerlanguage.Itcantechnicallybeusedforprogramming,andhasbeen(e.g.theoriginalbootstrapperforAltairBASIC),thoughmostwouldnotcons

4、ideritaprogramminglanguage.5TypesofComputerLanguagesProgramminglanguagesaretheprimarymeansbywhichdevelopersofcomputingsystemsinstructamachinetoorganizeormanipulateinformationorcontrolphysicaldevices.Mostsoftwareiswrittenusingoneormoreprogramminglanguages.Comm

5、onexamplesincludeC,C++,Java,BASIC,assemblylanguages,andmanyothers.Scriptinglanguagesaredesignedtocontrolothersoftwareortocoordinatetheactionsofmultiplesoftwareapplications.Machinecodeanonhuman-readablebinarycomputerlanguagewhichcorrespondstotheavailableinstru

6、ctionsforamicroprocessor.……6Whatproblemgavebirthtoprogramminglanguages?Beforehighlevelprogramminglanguagesexisted,computerswereprogrammedoneinstructionatatimeusingbinaryorhex.atediousjobandalotoferrors.Obviously,thisjobdidnotattractmanypeople,sotherewasashort

7、ageofprogrammers.Expensivecomputerssatidleforlongperiodsoftimewhilesoftwarewasbeingdeveloped.Softwareoftencosttwotofourtimesasmuchasthecomputer.Thisledtothedevelopmentofassemblersandassemblylanguages.Programmingbecamesomewhateasier,butmanyusersstillwantedfloa

8、tingpointnumbersandarrayindexing.Sincethesecapabilitieswerenotsupportedinhardware,highlevellanguageshadtobedevelopedtosupportthem.7WhatMakesaLanguageHot?EaseofuseLanguageFeaturesPerforman

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。