Chapter 1 Introduction to Computers, Programs, and C++.ppt
《Chapter 1 Introduction to Computers, Programs, and C++.ppt》由会员分享,可在线阅读,更多相关《Chapter 1 Introduction to Computers, Programs, and C++.ppt(28页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Chapter1IntroductiontoComputers,Programs,andC+1.1Computer,Program,andOperatingSystems1.2ComputerProgramming1.3IntroductiontoC+ObjectiveslToreviewcomputerbasics,programs,andoperatingsystemslToknowtheconceptofcomputerprogramminglToknowthehistoryofC+lTowriteasimpleC+programlTounderstandtheC+programdeve
2、lopmentcycle21.1 Computer,Program,and OSAcomputerisamachinethatmanipulatesdataaccordingtoasetofinstructions.3CPUCentral Processing Unit(CPU),the brain of a computerIt retrieves instructions from memory and executes them The CPU speed is measured in megahertz,MHz The speed of a PC now is about 3 GHz(
3、3000 MHz)4MemoryMemory is to store data and program instructions for CPU to execute.A program and its data must be brought to memory before they can be executed.A memory unit is an ordered sequence of bytes,each holds eight bits.Memory is volatileData is lost when the power is off5Storage DevicesPro
4、grams and data are permanently stored on storage devicesThey are moved to memory when the computer needs them.There are three main types of storage devices:Disk drives(hard disks and floppy disks),CD drives(CD-R/W,DVD-R/W),and Tape drives.6How Data is Stored?lData:numbers,characters,andstringslCompu
5、tersuse“0”and“1”torepresentalldatalEncodinganddecodinglDatabinarycodelautomaticallydonebythecomputerlTheencodingschemevaries.lAbyte,of8bits,istheminimumstorageunit7Number Systems0,10,1,2,3,4,5,6,70,1,2,3,4,5,6,7,8,90,1,2,3,4,5,6,7,8,9,A,B,C,D,E,Fbinaryoctaldecimalhexdecimal8Input DeviceslAnypieceofc
6、omputerhardwareequipmentusedtoprovidedataandcontrolsignalstoacomputerlEarlydevices:punchedcardetc.lKeyboardslPointingdevices:mice,joysticks,pointstickslImagingandVideoinputdeviceslAudioinputdevicesl.9Output Devices:MonitorThe monitor displays information(text and graphics).The resolution and dot pit
7、ch determine the quality of the display.Resolution:specifies the number of pixels per square inch.Pixels(short for“picture elements”)are tiny dots that form an image on the screen.Dot pitch:the amount of space between pixels.The smaller the dot pitch,the better the display.10Communication DevicesDev
8、ices used to communicate with other computers/networks.Modems,devices make use of phone/TV line to connect to networkRegular modem,DSL modem,TV cable modem,mobile phone data modem Network interface card(NIC)is a device to connect a computer to a local area network(LAN)Cable NIC,Wireless NIC,Bluetoot
9、h NIC11Operating SystemslOperating system(OS):aprogramthatmanagesandcontrolsacomputersactivitieslMajorfunctionslProcessmanagementlMemorymanagementlDevicemanagementlFilesystem12Popular OSslMicrosoftWindowslOriginatedasanadd-ontotheMS-DOSlModernversionsarebasedonWindowsNTkernellUnixandUnix-likeOssladi
10、versegroupofoperatingsystems,includingSystemV,BSD,andLinuxlMacOSXlaUNIXoperatingsystembyAppleInc.lReal-timeoperatingsystemslEmbeddedsystems131.2 Computer ProgramminglComputerprograms,knownassoftware,areinstructionstothecomputer.lYoutellacomputerwhattodothroughprograms.lProgramsarewrittenusingprogram
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Chapter Introduction to Computers Programs and C+ Computers Programs
链接地址:https://www.taowenge.com/p-71613458.html
限制150内