版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机应用基础FundamentalsofComputerandComputingFundamentalsofComputerandComputingChapter#1
ProblemsolvinginCSChapter#2
Datarepresentationincomputers
Chapter#3
HardwareChapter#4
OperatingsystemChapter#5
NetworkandinternetChapter#6
DatabasemanagementsystemChapter#7
ComputingasadisciplineChapter#8
AlgorithmandprogrammingOutlineWhatisoperatingsystem(OS)andwhy?DevelopmentofOSSoftwareCategoriesFunctionsofOSTypesofOSFilesystem3Whatandwhy4AnOSisaprogramwhichactsasaninterfacebetweencomputersystemusersandthecomputerhardware.Itprovidesauser-friendlyenvironmentinwhichausermayeasilydevelopandexecuteprograms.So,itcanbesaidthatanOShidesthecomplexityofhardwarefromuninterestedusers.OperatingsystemtimelineFirstgeneration:1945–1955VacuumtubesPlugboardsSecondgeneration:1955–1965TransistorsBatchsystemsThirdgeneration:1965–1980IntegratedcircuitsMultiprogrammingFourthgeneration:1980–presentLargescaleintegrationPersonalcomputersNextgeneration:???Systemsconnectedbyhigh-speednetworks?Widearearesourcemanagement?Firstgeneration:directinputRunonejobatatimeEnteritintothecomputer(mightrequirerewiring!)RunitRecordtheresultsProblem:lotsofwastedcomputertime!ComputerwasidleduringfirstandlaststepsComputerswereveryexpensive!Goal:makebetteruseofanexpensivecommodity:computertimeFirstgeneration:directinputProgramswereloadedintomemorymanuallyusingswitches,punchedcards,orpapertapes.ENIAC:codingbycableconnectionsFirstgeneration:directinputPapertapeFirstgeneration:directinputSecondgeneration:batchsystemsBringcardsto1401ReadcardsontoinputtapePutinputtapeon7094Performthecomputation,writingresultstooutputtapePutoutputtapeon1401,whichprintsoutput$END$RUN$LOADStructureofatypical2ndgenerationjob$FORTRAN$JOB,10,6610802,ETHANMILLERFORTRAN
programDatafor
programSpoolingOriginalbatchsystemsusedtapedrivesLaterbatchsystemsuseddisksforbufferingOperatorreadcardsontodiskattachedtothecomputerComputerreadjobsfromdiskComputerwrotejobresultstodiskOperatordirectedthatjobresultsbeprintedfromdiskDisksenabledsimultaneousperipheraloperationon-line(spooling)ComputeroverlappedI/OofonejobwithexecutionofanotherBetterutilizationoftheexpensiveCPUStillonlyonejobactiveatanygiventimeOperating
systemThirdgeneration:multiprogrammingMultiplejobsinmemoryProtectedfromoneanotherOperatingsystemprotectedfromeachjobaswellResources(time,hardware)splitbetweenjobsStillnotinteractiveUsersubmitsjobComputerrunsitUsergetsresultsminutes(hours,days)laterJob1Job2Job3Memory
partitionsOperatingsystemtimelineFirstgeneration:1945–1955VacuumtubesPlugboardsSecondgeneration:1955–1965TransistorsBatchsystemsThirdgeneration:1965–1980IntegratedcircuitsMultiprogrammingFourthgeneration:1980–presentLargescaleintegrationPersonalcomputersNextgeneration:???Systemsconnectedbyhigh-speednetworks?Widearearesourcemanagement?OutlineWhatisOSandwhy?DevelopmentofOSSoftwareCategoriesFunctionsofOSTypesofOSFilesystem1516SoftwareCategoriesApplicationsoftwareiswrittentoaddress
ourspecificneeds—tosolveproblemsinthe
realworld.Wordprocessingprograms,games,pictureediting,videoplayerareallapplicationsoftware.Systemsoftwareconsistsoftheprogramsthatcontrolormaintaintheoperationsofthecomputeranditsdevices.Itprovidesthetoolsandanenvironmentinwhichapplicationsoftwarecanbecreatedandrun.SoftwareCategories17SystemSoftwareWithintheclassofsystemsoftwarearetwocategories:Utilitysoftwareprogramsforperformingvariousactivitiesfundamentaltocomputerinstallations,butnotpartoftheOS.(Examplesincludeformattingadisk,networking,copyingfiles,usingamodem,anddatacompression.)OperatingSystemsprogramscontaininginstructionsthatworktogethertocoordinatealltheactivitiesamongcomputerhardwareresources18OperatingSystemAnoperatingsystemalsoconsistsoftwoparts.Thekernelmanagescomputerresources,suchasmemoryandinput/outputdevices.Theshellprovidesaninterfacethroughwhichahumancaninteractwiththecomputer.Anoperatingsystemalsoallowsapplicationprogramstointeractwiththeothersystemresources.19OutlineWhatisOSandwhy?DevelopmentofOSSoftwareCategoriesFunctionsofOSTypesofOSFilesystem20Everyoperatingsystemperformsthreebasicfunctions:managescomputerresourcesmemory,CPU,andprocessesprovidesaninterfacethroughwhichahumancaninteractwiththecomputerallowsanapplicationprogramtointeractwithothersystemresources21OperatingSystemFunctionsOperatingSystemFunctionsResourcemanagementMemorymanagementProcessmanagementCPUschedulingOtherfunctions22MemoryManagementMemorymanagementoptimizestheuseofRAMKeepingtrackofwhichpartsofmemoryarecurrentlyusedandbywhomDecidingwhichprocessesanddatatobemovedintoandoutofmemoryAllocatingandde-allocatingmemoryspaceasneededMultiprogrammingisthetechniqueofkeepingmultipleprogramsinmainmemoryatthesametime.ProtectedfromoneanotherTheseprogramscompeteforaccesstotheCPUtoimproveefficiency.MemoryManagementOperating
systemJob1Job2Job3Memory
partitionsPhysicalmemspace(e.g.,2G)VirtualmemspaceDisk04G04G04GOperatingSystemFunctionsResourcemanagementMemorymanagementProcessmanagementCPUschedulingOtherfunctions25TimesharingMultiprogrammingallowedmultipleprocessestobeactiveatonce,whichgaverisetotheabilityforprogrammerstointeractwiththecomputersystemdirectly,whilestillsharingitsresources.Atimesharingsystemallowsmultipleuserstointeractwithacomputeratthesametime.Inatimesharingsystem,eachuserhashisorherownvirtualmachine,inwhichallsystemresourcesare(ineffect)availableforuse.26ProcessManagementAprocesscanbedefinedasaprograminexecution.Theoperatingsystemperformsprocessmanagement
tocarefullytracktheprogressofeachprocessandallofitsintermediatestates.27ProcessManagementTheProcessStatesTheprocesslifecycle28ProcessManagementHowanoperatingsystemhandlesprogramsdirectlyaffectsyourproductivity29SingleuserandmultiuserSingletaskingandmultitaskingForegroundandbackgroundPreemptivemultitaskingMultiprocessingAsingleuseroperatingsystemallowsonlyoneusertorunoneprogramatatime.Amultiuseroperatingsystemenablestwoormoreuserstorunaprogramsimultaneously.Amultitaskingoperatingsystemallowsasingleusertoworkontwoormoreapplicationsthatresideinmemoryatthesametime.Amultiprocessingoperatingsystemcansupporttwoormoreprocessorsrunningprogramsatthesametime.ProcessManagementProcessManagement31ForgroundandBackgroundOperatingSystemFunctionsResourcemanagementMemorymanagementProcessmanagementCPUschedulingOtherfunctions32CPUSchedulingTheoperatingsystemdetermineswhichprocessinmemoryisexecutedbyCPUNonpreemptiveschedulingoccurswhenthecurrentlyexecutingprocessgivesuptheCPUvoluntarily.Preemptiveschedulingoccurswhentheoperatingsystemdecidestofavouranotherprocess,preemptingthecurrentlyexecutingprocess.33OperatingSystemFunctionsResourcemanagementMemorymanagementProcessmanagementCPUschedulingOtherfunctions34WatchDemoExp#5OtherOSfunctions:35StartandshutdownacomputerProvideauserinterfaceConfiguredevicesEstablishanInternetconnectionMonitorperformanceProvideutilitiesAutomaticallyupdateControlanetworkAdministersecurityOperatingSystemFunctions36OperatingSystemFunctionsSystemBootingTheprocessofstartingorrestartingacomputeriscalledbooting37ColdbootTurningonacomputerthathasbeenpoweredoffcompletelyWarmbootUsingtheoperatingsystemtorestartacomputerSystemShuttingDownAnoperatingsystemincludesvariousshutdownoptions38SleepmodesavesanyopendocumentsandprogramstoRAM,turnsoffallunneededfunctions,andthenplacesthecomputerinalow-powerstateHibernatesavesanyopendocumentsandprogramstoaharddiskbeforeremovingpowerfromthecomputerUserInterface39Auserinterface(UI)controlshowyouenterdataandinstructionsandhowinformationisdisplayedonthescreenWithagraphicaluserinterface(GUI),youinteractwithmenusandvisualimages40Thecomponents:UserInterfaceUserInterfaceWithacommand-lineinterface,auserusesthekeyboardtoenterdataandinstructions41DeviceDriverAdriverisasmallprogramthattellstheoperatingsystemhowtocommunicatewithaspecificdevicePlugandPlayautomaticallyconfiguresnewdevicesasyouinstallthem4243DeviceDriver44DeviceDriverNetworkSupportOperatingsystemstypicallyprovideameanstoestablishInternetconnections45PerformanceMonitorAperformancemonitor
isaprogramthatassessesandreportsinformationaboutvariouscomputerresourcesanddevices46SystemUpdateAutomaticupdate
automaticallyprovidesupdatestotheprogram47UserApplicationsOperatingsystemsoftenprovideuserswiththecapabilityof:48ManagingfilesSearchingforfilesViewingimagesSecuringacomputerUninstallingprogramsCleaningupdisksDefragmentingdisksDiagnosingproblemsBackingupfilesanddisksSettingupscreensaversUtilityProgramsAutilityprogram
isatypeofsystemsoftwarethatallowsausertoperformmaintenance-typetasks49UtilityProgramsAfilemanager
isautilitythatperformsfunctionsrelatedtofilemanagementDisplayingalistoffilesOrganizingfilesinfoldersCopying,renaming,deleting,moving,andsortingfilesandfoldersCreatingshortcuts50UtilityProgramsAsearchutility
isaprogramthatattemptstolocateafileonyourcomputerbasedoncriteriayouspecify51UtilityProgramsAdiskcleanuputilitysearchesforandremovesunnecessaryfilesDownloadedprogramfilesTemporaryInternetfilesDeletedfilesUnusedprogramfiles52UtilityProgramsAdiskdefragmenter
reorganizesthefilesandunusedspaceonacomputer’sharddisksothattheoperatingsystemaccessesdatamorequicklyandprogramsrunfaster53UtilityProgramsAbackuputility
allowsuserstocopyfilestoanotherstoragemediumArestoreutility
reversestheprocessandreturnsbackedupfilestotheiroriginalform54OutlineWhatisOSandwhy?DevelopmentofOSSoftwareCategoriesFunctionsofOSTypesofOSFilesystem55TypesofOperatingSystems56Stand-AloneOperatingSystemsAstand-aloneoperatingsystem
isacompleteoperatingsystemthatworksonadesktopcomputer,notebookcomputer,ormobilecomputingdevice57WindowsXP/Vista/7MacOSXUNIXLinuxStand-AloneOperatingSystemsWindows7isMicrosoft’smatureOSandisavailableinmultipleeditions:58Windows7HomeWindows7ProfessionalWindows7UltimateWindows7BusinessStand-AloneOperatingSystems59Windows7Stand-AloneOperatingSystemsTheMacintoshoperatingsystem
hassetthestandardforoperatingsystemeaseofuse60Stand-AloneOperatingSystemsUNIXisamultitaskingoperatingsystemdevelopedintheearly1970sLinuxisanopen-source,popular,multitaskingUNIX-typeoperatingsystem61ServerOperatingSystemsWindowsServer2008UNIXLinuxSolaris62ServerOSSomeoperatingsystemsaredesignedtoworkwithaserveronanetworkAserveroperatingsystem
organizesandcoordinateshowmultipleusersaccessandshareresourcesonanetworkAnetworkadministratorusestheserveroperatingsystemto:Addandremoveusers,computers,andotherdevicesInstallsoftwareandadministernetworksecurity63ServerOSprovidesprivatestorageforeachuser.Itcheckseachuserrequestwiththeaccesscontrollistanddecidetograntordenypermissiontosystemresources.64ServerOS65ServerOSOncetheuseraccessesthenetwork,additionalrestrictionsareusuallyineffect,suchaswhichfilestheusercanaccessandwhatcanbedonetothesefiles.EmbeddedOperatingSystemsAnembeddedoperatingsystem
residesonaROMchiponamobiledeviceorconsumerelectronicdevice66AndroidWindowsMobilePalmOSiPhoneOSBlackberryEmbeddedLinuxSymbianOSOutlineWhatisOSandwhy?DevelopmentofOSSoftwareCategoriesFunctionsofOSTypesofOSFilesystem6768FilemanagementFileSystemsandDirectoriesDescribethepurposeoffiles,filesystems,anddirectoriesDistinguishbetweentextandbinaryfilesIdentifyvariousfiletypesbytheirextensionsDescribeadirectorytreeIdentifyabsoluteandrelativepathsforadirectorytree69Anamedgroupoffiles.AlsocalledafolderFile
AnamedcollectionofrelateddataFilesystemTheoperatingsystem'slogicalviewofthefilesitmanagesDirectoryFileSystemsFiles70What’sfilepicture
textprogram
datamusicFileisthecollectionofallkindsofinformation,oranamedcollectionofrelateddataFiles71
Fileisstoredin
secondarystorage
Afileisasetofdatathathasbeengivena
name.FileType72
FiletypeProgramfiles-containsinstructionstotellthecomputerwhattodo.MicrosoftWord,Photoshop,AutoCAD
DataFiles
-notexecutableandonlyusedwithaprogram.Worddocument,textfile,Excelfile,PowerPointfileTextfileAfileinwhichthebytesofdataareorganizedascharactersfromtheASCIIorUnicodecharactersetsBinaryfileAfilethatcontainsdatainaspecificformat,requiringinterpretationTextandBinaryFilesThetermstextfileandbinaryfilearesomewhatmisleading…Theyseemtoimplythattheinformationinatextfileisnotstoredasbinarydata.Ultimately,allinformationonacomputerisstoredasbinarydigits.Thesetermsrefertohowthosebitsareformatted:aschunksof8or16bits,interpretedascharacters,orinsomeotherspecialformat.73FileTypesMostfiles,whethertheyareintextorbinaryformat,containaspecifictypeofinformation. Forexample,afilemaycontainaprogram,animage,oranaudioclip.Thekindofinformationcontainedinadocumentiscalledthefiletype. Mostoperatingsystemsrecognizealistofspecificfiletypes.74Filenamesareoftenseparated,usuallybyaperiod,intotwoparts:MainnameFileextensionThefileextensionindicatesthetypeofthefile.SomecommonfiletypesandtheirextensionsFileTypes7576FilesaredistinguishedbytheirnamesFilename=mainname.
extensionname(扩展名)Namingrule:uselettersandnumbers,avoidusingspaceorotherpunctuations(标点符号),startwithaletter.
letters:bothupperandlowercasedigits:0-9
others:-,_FileNamea.txt张三.doc77FileNameInmultiusersystems,fileprotectionisofprimaryimportance.Wedon’twantoneusertobeabletoaccessanotheruser’sfilesunlesstheaccessisspecificallyallowed.Afileprotectionmechanismdetermineswhocanuseafileandforwhatgeneralpurpose.FileProtection78FileProtectionAfile’sprotectionsettingsintheUnixoperatingsystemisdividedintothreecategoriesOwnerGroupWorld79Adirectoryoffilescanbecontainedwithinanotherdirectory. Thedirectorycontaininganotherisusuallycalledtheparentdirectory,andtheoneinsideiscalledasubdirectory.Directorytree:Alogicalviewofafilesystem;astructureshowingthenesteddirectoryorganizationofafilesystem.Rootdirectory:
Thedirectoryatthehighestlevel.DirectoryTrees8081Eachofastoragedevicesisidentifiedbyadeviceletter.Adeviceletterisalwaysfollowedbyacolon(冒号)underwindowsOS.Mainharddisk:CdriveC:AdditionalstoragedevicescanbeassignedlettersfromDthroughZ.DeviceletterandrootdirectoryDARootDirectory82DirectoryTrees83DirectoryTreesPath:
Atextdesignationofthelocationofafileorsubdirectoryinafilesystem,consistingoftheseriesofdirectoriesthroughwhichyoumustgotofindthefile.Absolutepath:Apaththatbeginsattherootandspecifieseachstepdownthetreeuntilitreachesthedesiredfileordirectory.Relativepath:Apathnamethatbeginsatthecurrentworkingdirectory.PathNamesAtanypointintime,youcanbethoughtofasworkinginaparticularlocation(thatis,aparticularsubdirectory).Workingdirectory:Thesubdirectoryinwhichyouareworking.Workingdirectory86D:\Courses\Computer\2011\OS.pptDriveprimarysecondary……filenameextensionLetterfolderfolderrootfoldersubfolderAssumeweareat‘Computer’,then:Absolutepath:D:\Courses\Computer\2011\OS.pptRelativepath:2011\OS.pptPathNames87
Filemanagementhelpsyouorganizeyourfilessothatyoucanfindandusethemmoreefficiently.FilemanagementFilemanagementcanbe……WithinanapplicationprogramUsingaspecialfilemanagementutilitybytheoperatingsystem.MicrosoftwordWindowsExplorer(资源管理器)88FilemanagementFilemanagement8990viewViewsinaWindowIconListDetail……Filemanagement91Clipboard(剪贴板)Fi
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 贫血护理中的疼痛管理
- 2026临沧汇达实业有限责任公司社会招聘4人笔试模拟试题及答案详解
- 2026江西赣州事业单位招聘高层次急需紧缺专业技术人才359人(武汉站)考试模拟试题及答案详解
- 2026浙江丽水缙云县五云生态强村集体经济发展有限公司招聘1人笔试模拟试题及答案详解
- 2026江苏苏州市太仓市上禾置地有限公司派遣人员招聘2人考试参考题库及答案详解
- 2026四川大学华西医院皮肤性病科项目制科研助理招聘1人考试模拟试题及答案详解
- 2026年重庆市万州区中山医院医护人员招聘笔试备考题库及答案详解
- 2026云南中医药大学招聘第二批科研助理岗位工作人员(事业编制外)25人笔试模拟试题及答案详解
- 2026年黑河嫩江铁路公司市场化招聘38人笔试模拟试题及答案详解
- 2026年安徽省卫生健康药具管理中心公开招聘工作人员专业测试笔试模拟试题及答案详解
- 电积铜出装安全操作规程
- GB/T 1835-2023系列1集装箱角件技术要求
- JCT640-2010 顶进施工法用钢筋混凝土排水管
- 陋室铭经典中考试题及标准答案
- 河北省石家庄市新华区2022-2023学年六年级下学期期末数学试卷
- 气管插管术 气管插管术
- 北京科技大学经济与管理考试及答案B
- 客房计划维修(保养)表
- GB/T 6405-2017超硬磨料立方氮化硼品种
- GB/T 31125-2014胶粘带初粘性试验方法环形法
- GB/T 22588-2008闪光法测量热扩散系数或导热系数
评论
0/150
提交评论