计算机专业英语12-Interfaces课件.pptx
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《计算机专业英语12-Interfaces课件.pptx》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 英语 12 Interfaces 课件
- 资源描述:
-
1、LessonInterfacesInterfaces121.What is API?2.What is the user interface?Warm-up Exercises Warm-up Exercises application program interface应用程序接口user interface 用户界面keep track of 记录specify 详细说明make file 生成文件random access 随机存取disk drive 磁盘驱动器Word Word PreparationPreparationfree storage 空闲记忆区archive 存档res
2、ponse codes 响应码tape drive 磁带驱动器graphical user interface图形用户界面shell 外壳程序Word PreparationWord PreparationThe interfaces to the world include the application program interface and the user interface.Application Program InterfaceJust as drivers provide a way for applications to make use of hardware subs
3、ystems without having to know every detail of the hardwares operation,application program interfaces(APIs)let application programmers use functions of the computer and operating system without having to directly keep track of all the details in the CPUs operation.Lets look at the example of creating
4、 a hard disk file for holding data to see why this can be important.Text应用程序接口(API)使应用程序编程人员可以利用计算机和操作系统的功能,而不必直接跟踪CPU操作的所有细节A programmer writing an application to record data from a scientific instrument might want to allow the scientist to specify the name of the file created.The operating system
5、might provide an API function named MakeFile for creating files.When writing the program,the programmer would insert a line that looks like this:MakeFileIn this example,the instruction tells the operating system to create a file that will allow random access to its data,will have a name typed in by
6、the user,and will be a size that varies depending on how much data is stored in the file(2).Now,lets look at what the operating system does to turn the instruction into action.TextThe operating system sends a query to the disk drive to get the location of the first available free storage location.1.
7、With that information,the operating system creates an entry in the file system showing the beginning and ending locations of the file,the name of the file,the file type,whether the file has been archived,which users have permission to look at or modify the file,and the date and time of the files cre
8、ation.2.The operating system writes information at the beginning of the file that identifies the file,sets up the type of access possible and includes other information that ties the file to the application.TextIn all of this information,the queries to the disk drive and addresses of the beginning a
9、nd ending point of the file are in formats heavily dependent on the manufacturer and model of the disk drive.Because the programmer has written her program to use the API for disk storage,she doesnt have to keep up with the instruction codes,data types,and response codes for every possible hard disk
10、 and tape drive.The operating system,connected to drivers for the various hardware subsystems,deals with the changing details of the hardware-the programmer must simply write code for the API and trust the operating system to do the rest.Text她不必涉及每个磁盘与磁带驱动器的指令代码、数据类型和响应代码APIs have become one of the
11、most hotly contested areas of the computer industry in recent years.Companies realize that programmers using their API will ultimately translate into the ability to control and profit from a particular part of the industry.This is one of the reasons that so many companies have been willing to provid
12、e applications like readers or viewers to the public at no charge.They know consumers will request that programs take advantage of the free readers,and application companies will be ready to pay royalties to allow their software to provide the functions requested by the consumers.Text他们知道,客户会请求程序利用免
13、费阅读器。应用程序公司要准备支付版税,使其软件提供客户请求的功能User InterfaceJust as the API provides a consistent way for applications to use the resources of the computer system,a user interface(UI)brings structure to the interaction between a user and the computer.In the last decade,almost all development in user interfaces ha
14、s been in the area of the graphical user interface(GUI),with two models,Apples Macintosh and Microsofts Windows,receiving most of the attention and gaining most of the market share.The popular,open-source Linux operating system also supports a graphical user interface.TextThere are other user interf
展开阅读全文