logo

Fundamentals of Operating Systems and Programming - Desklib

This assignment assesses the role of Operating Systems (OS) and its different subsystems in controlling computer hardware, as well as competency in the use of a command line interface to operate and perform simple OS administration.

11 Pages1202 Words234 Views
   

Added on  2023-06-13

About This Document

This article covers the fundamentals of operating systems and programming, including the services provided by operating systems, similarities and differences between Linux and Windows, multiprocessing systems, and batch processing operating systems. Additionally, it provides hands-on experience with directory navigation, file manipulation using wildcards, and using wc, date, and du commands. Course code, course name, and college/university are not mentioned.

Fundamentals of Operating Systems and Programming - Desklib

This assignment assesses the role of Operating Systems (OS) and its different subsystems in controlling computer hardware, as well as competency in the use of a command line interface to operate and perform simple OS administration.

   Added on 2023-06-13

ShareRelated Documents
Running head: FUNDAMENTALS OF OPERATING SYSTEMS AND PROGRAMMING
Fundamentals of Operating Systems and Programming
Name of the Student
Name of the University
Authors note
Fundamentals of Operating Systems and Programming - Desklib_1
1FUNDAMENTALS OF OPERATING SYSTEMS AND PROGRAMMING
Section 1
i. Five Services provided by the Operating system
The operating systems provides the following services;
a) Program execution, scheduling and switching of the program:
b) Memory or file system manipulation: Operating system.
c) I/O operations:
d) Communication between the processes: The OS manages the communication between
the different processes that depends on each other to continue and complete a task.
e) Protection through error detection: OS keeps track of processes and keeps track of
performance and issues that may occur in I/O device operations, memory allocation and
CPU execution [2].
Explanation
operating system loads a program from memory and schedules as well as executes the
program according to the priorities in the execution process. OS is also responsible for the execution
of the applications, thus the monitoring of the allocated resources to the applications is also
managed by the operating system [4]. In addition to that, the permission required for the
applications to write and read from memory. In addition to that, managing the I/O operations from
the users to continue with the application.
OS services be provided by user level programs
No, the services cannot be provided by user level programs as they do not have the memory
allocation and program execution controlling abilities.
ii. Similarities between the Linux and Windows OS and differences
Linux provides multiple run levels where as in case of Windows, it mainly provides graphical
run level. In addition to that, the Linux provides flexibility to its users to alter the look and feel which
is not available in Windows [5]. For differences between the two OS, it can be stated that users have
access to the source code of the Linux and they can alter the kernel as per the requirement which is
not available in case of windows.
The Linux OS is available for free whereas for users need to buy windows licence to use it.
Fundamentals of Operating Systems and Programming - Desklib_2
2FUNDAMENTALS OF OPERATING SYSTEMS AND PROGRAMMING
iii. Multiprocessing systems and explanation of the improved multiprocessing with the
utilisation of resources
Multi-processing system are responsible for execution of the more than one task at a given
instance. The efficiency in multiprocessing is achieved by, allocation of the available resources for
the processes in a controlled environment. The Processors are loosely coupled and interacts with
each other for completing tasks faster [1]. With the access to the mutually exclusive resources in
the multi-processing environment and the it will decrease the blocking overhead in the system to
run the tasks or threads which improves the performance of the system.
iv. Batch processing operating system
In case of operating systems, tasks with similar resource requirements are batched or
grouped together and are executed through the CPU of the system as a group by an automatic task
scheduler [3]. It increases the performance of the system by keeping CPU and I/O devices busy all
times through off-line operation, buffering, multiprogramming and spooling.
In present scenario, the processing time for different threads or program needs to be
reduced so that total program can be executed in minimum time. In case of batch processing
processor consumes good time while processing as it is informed about the job that is to be
executed next [5]. In batch systems the processor knows how long the job is as it is queued while
reducing the idle time for the processor. In this way the batch processing increases the efficiency of
the processor. In addition to that the batch systems are able to manage large number of repeated
tasks or processes easily.
Section 2:
For Q1: Directory Navigation
Create a new subdirectory called MN404-temp in your home directory
Create a new subdirectory called assign1 in MN404-temp
Fundamentals of Operating Systems and Programming - Desklib_3
3FUNDAMENTALS OF OPERATING SYSTEMS AND PROGRAMMING
Create a new subdirectory called assign2 in MN404-temp
Displaying the contents of the directory
Deleting the directory
Fundamentals of Operating Systems and Programming - Desklib_4

End of preview

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

Related Documents
Fundamentals of OS and Linux Programming - PDF
|16
|897
|47

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

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

Fundamentals of Operating System
|20
|1347
|22

Fundamentals of Operating Systems and Programming
|14
|1522
|70

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