版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机应用基础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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 海尔集团内部控制制度
- 武汉工程职业技术学院《绿色建筑设计原理课程设计》2024-2025学年第二学期期末试卷
- 煤矿内部通风管理制度
- 环境内部监督管理制度
- 监理公司内部管控制度
- 监理试验室内部考核制度
- 科创板内部控制制度
- 科技人员内部培训制度
- 秘书处内部规章制度
- 管理部内部培训制度模板
- 2025年农业用肥资源供应分析及可持续发展研究报告
- 全家便利商店店营销策略存在的问题及对策分析
- 循环流化床(CFB)锅炉运行工题库多项选择(140题)
- 2025-2026学年度第一学期四年级班主任工作计划
- 钳形表电工基础知识培训课件
- 平面构成教学课件
- 2024学年金华市金东区七年级语文上学期期中考试卷附答案解析
- DBJT15-190-2020 广东省建筑物移动通信基础设施技术规范
- 肾错构瘤护理查房
- 2025年江苏省职业卫生专业技术人员集中理论考试(职业卫生评价)历年参考题库含答案详解(5套)
- 生态旅游监测体系构建-洞察及研究
评论
0/150
提交评论