版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机应用基础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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 渔船电机员岗中事故预防考核试卷含答案
- 2025年下半年教师资格证考试真题及答案中学教育知识与能力
- 2025年上半年教师资格证考试《幼儿园保教知识与能力》真题及答案完-整
- 2025年国家网络安全知识竞赛题库含答案
- 2025年地铁消防安全管理考核试题(附答案)
- 2026及未来5年中国有头对虾数据监测研究报告
- 2026及未来5年中国提花装饰带数据监测研究报告
- 2025年4月统考真题答案00160审计学
- 2026浙江全国导游人员资格考试(全国导游基础知识、地方导游基础知识)历年参考题库含答案详解3卷
- 2026河南省机关事业单位工勤技能岗位等级考试(动物检疫员)历年参考题库含答案详解2卷
- 急诊科癫痫发作急救措施培训
- 银行员工消保知识培训课件
- 新加坡概况完整版本
- 消化系统病人健康宣教
- 风电项目档案管理培训
- 事业编制考试题库及答案
- 供热企业资金管理办法
- 工贸企业安全生产标准化定级评分标准(2023版)
- 2025年宁德市高校毕业生服务社区招募题库带答案分析
- 教育部幼儿园入学准备教育指导要点
- 2024-2025学年北京东城区高三(上)期末英语试卷(含答案详解)
评论
0/150
提交评论