logo

Fundamentals of OS and Linux Programming - PDF

   

Added on  2021-06-16

16 Pages897 Words47 Views
Running head: FUNDAMENTALS OF OS AND LINUX PROGRAMMINGFundamentals of OS and Linux ProgrammingName of the Student:Name of the University:Author note:

FUNDAMENTALS OF OS AND LINUX PROGRAMMINGTable of ContentsSection 1..........................................................................................................................................4Answer I.......................................................................................................................................4Answer II.....................................................................................................................................5Answer III....................................................................................................................................5Answer IV....................................................................................................................................6Section 2..........................................................................................................................................6Question 1....................................................................................................................................6Question 2....................................................................................................................................8Question 3..................................................................................................................................10

FUNDAMENTALS OF OS AND LINUX PROGRAMMINGSection 1Answer IThe five most important services of Operating System are:1.Program Execution: The Operating system provides the users an environment, wherethey can execute programs, efficiently. The user does not have to ever worry about thelow-level works like memory management, resource allocation and so on.2.I/O operation: Each and every program requires input, processing and output operationsto be performed, therefore the management of the I/O devices is crucial for the OperatingSystem. The user-level programs cannot provide I/O facilities and hence, the OS has totake charge [1].3.Communications: It is necessary for processes to communicate with each other for thesake of constant exchange of information, in a multi-tasking environment. The OScommunicates with all these processes and programs through the use of shared memory.4.Error Detection: It is the job of the OS to detect and deal with the hardware problemsfor any system. One of the duties of the OS is constantly monitor the System for thepurpose of detecting errors and fixing them. These errors include memory overflow, I/Orelated errors, hard disk sector errors and so on.5.Resource allocation: In multitasking environments, the running processes may requirecommon resources like CPU, memory and so on, at the same time. It is then the duty ofthe Operating System to run algorithms to decide which process should get hold ofparticular resources and for how long [2].

FUNDAMENTALS OF OS AND LINUX PROGRAMMINGAnswer IIBoth LINUX and Windows provide their users with a Graphical User Interface and also aCommand line interface to perform a variety of tasks. It is also noteworthy that both the OSassist their users with multiprocessing, resource management and many more useful features.However, the differences between them are greater. The command line interface is the primecatch point of the Linux OS. It provides a variety of command line features and is therefore moreversatile than the windows version of it. LINUX is also recommended above Windows, when itcomes to security and robustness [3]. Nevertheless, Windows is more suitable when it comes torun a wide range of software programs.Answer IIIMultiprocessing operating systems state the use of two or more CPUs to perform tasksfor a single computer system. These multiple CPUs remain in constant communication with oneanother via the bus, memory and peripheral sharing. These type of systems helps the computer toachieve higher speed of processing for large data volumes or complex tasks. These kind ofsystems are figuratively used in the satellite, weather or flight stations, where enormous bulk ofdata are required to stored and processed in quick spans of time.In the shared memory cluster category of multiprocessing environments, they have theirown sets of memory and I/O resources. This takes little burden of the system to run the OS aseach processor runs a copy of the OS. Moreover, these processor systems share the disks, I/Oand global memory resources through multithreaded memory configurations, running oneinstance. The scheduling of processes with innovated algorithm, assists the system [4].

End of preview

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

Related Documents
Fundamentals of Operating Systems and Programming - Desklib
|11
|1202
|234

(PDF) Introduction to Operating System
|11
|1246
|34

Introduction to Operating System (PDF)
|14
|1031
|86

Linux Operating System - Desklib
|9
|1202
|459

Operating System Services
|12
|661
|65

Fundamentals of Operating Systems and Programming
|16
|1471
|99