logo

Introduction to Operating System (PDF)

   

Added on  2021-05-31

14 Pages1031 Words86 Views
 | 
 | 
 | 
COVER PAGE
Introduction to Operating System (PDF)_1

Section 1: operating systemsI.examples of services provided by an operating system are;Program execution- this service enables the operating system to load contents or sections of a file into memory for the program to begin executionI/o operations- this service enables low-level communication to tapes, disks, serial line and other devicesFile-system manipulation- enables creation, allocation, deletion and naming of filesCommunication- enables communication of messages between systemsError detection- a global program that handles all types of errors at both software and hardware levelsHow the services provide convenience to users.Program execution- Program execution provides convenience to the user because a user level program could not be trusted to allocate CPU time properly thus this is done by the programexecution OS service.I/o operations- this service provides convenience to users because user level programs cannot be trusted to access onlydevices that they are supposed to have access to and only access them when they are unused thus the I/o operations handles this by converting requests into controller or device specific commandsFile-system manipulation- this service provides convenience to the user because user-level programs cannot be trusted to ensure adherence to file protection methods and to allocate free blocks and deallocate free blocks during file deletionCommunication- this service is of convenience to users because passing of messages between systems requires the messages to be converted into packets and then sent to the network controller then transmitted across a communication medium and finally reassembles by the destination system. User level programs cannot be trusted to coordinate access tothe network devices or in some cases user-level programs might receive wrong packets not intended for themError detection- this service is of convenience to users because inspection both at hardware and software level has
Introduction to Operating System (PDF)_2

to be coordinated by the OS to ensure that all data transfers are not corrupted in transit and all data on media has to be checked for consistency.Can some of the OS services be provided by user level programs? YESSome OS services can be provided by user level programs for example memory management but its impossible for some services to be provided by user level programsII.To which extent are the two OS's (Linux/Unix and Windows) essentially the same and importantly different? Linux/unix and windows are essentially the same because they provide memory protection as OS services. They are slightly different in terms of running of computer programs as processes and how they manage concurrency by use of threads.III.Discuss multiprocessing systems and explain how multiprocessing increases the utilisation of resources.Multiprocessing is the ability of a computer to process more than one task simultaneously. This enables the operating system to run more than one program concurrently like listen to music while usinga word processing program.Multiprocessing increases the utilisation of resources by having more than one process running on different cores concurrently whileusing the same main memory and peripherals (Marcraft, 2005).IV.Concept of batch processing operating systemBatch processing in operating systems is the execution of a series of program jobs without any user intervention. This concept involvesexecuting a series of programs each on a batch of inputs in comparison to a single input.Section 2: OS administration using command line interface (CLI)1.Create a new subdirectory called MN404-temp in your home directory.
Introduction to Operating System (PDF)_3

2.Create a new subdirectory called assign1 in MN404-temp.3.Create a new subdirectory called assign2 in MN404-temp.4.Display the contents of the directory MN404-temp.5.Delete the directory assign2.6.Display content of the directory MN404-temp
Introduction to Operating System (PDF)_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents