Professional Documents
Culture Documents
INDEX NUMBER:
PS/CSC/17/0064.
1
HOW CAN BUFFERING IMPROVE YOUR COMPUTER SYSTEM
If CPU and I/O devices are nearly same at speeds, the buffering helps in making the CPU and the
I/O devices work at full speed in such a way that CPU and the I/O devices never sit idle at any
moment. Normally the CPU is much faster than an input device. In the case the CPU always
faces an empty input buffer and sits idle waiting for the input device which is to read a record
into the buffer. For output, the CPU continues to work at full speed till the output buffer is full
and then it starts waiting. This buffering proves useful for those jobs that have a balance between
WHAT ARE THE INCONVINIENCES THAT A USER CAN FACE WHILE INTERACTING
First of all, the operating system is required component. Thus, without an operating system
computer hardware is only an inactive electronic machine, which is inconvenient to the user for
execution of programs. As the computer hardware or machine understands only the machine
language. It is difficult to develop each and every program in machine language in order to
execute it. Therefore, we can say that without an operating system execution of user program or
to solve user problems is extremely difficult. Without an operating system, there is no means by
which to load programs, other than writing boot loader programs yourself putting it on your disk
that you can boot from and having it load the program you actually want to run. Without an
operating system, there are no device drivers, so the user has to learn how to program the
machine to control the physical hardware. Finally, without an operating system, there is no
2
standard file system hence, the users have to learn about disk block how to allocate them and so
AND PROCESSES
A thread is a basic unit of CPU utilization consisting of a program counter, a stack, and a set of
registers. In other words, a thread is a single sequential flow of control within a program or path
of execution within a process. A process can contain multiple threads. Below are some major
differences between a thread and a process in terms of definition, termination time, creation time,
communication, context switching time, resources, treatment by OS, memory, sharing and
lightweight.
In terms of definition, a thread can be defined as a segment of a process whilst a process can be
defined as a program in execution. With respect to termination time, the process takes more time
A thread takes less time for creation whilst the process takes more time for creation in terms of
creation time. With regards to communication, communication between threads require less time
In context switching time, processes take more time for context switching while threads on the
other hand, take less time for context switching. In terms of resources, processes consume more
resources whilst threads consume fewer resources. For treatment by OS, different processes are
treated separately by OS, whilst all the peer threads are treated as a single task by OS. With
memory, the process is mostly isolated whilst threads share memory. In data sharing, processes
3
do not share data whilst threads share data with each other. Finally, with respect to lightweight,
SCHEDULER.
The process scheduling is the activity of the process manager that handles the removal of the
running process from the CPU and the selection of another process on the basis of a particular
strategy. The scheduling program which is a system software concerned with scheduling is called
the scheduler (process scheduler) and the algorithm it uses is the scheduling algorithm.
Various criterial or characteristics that help in designing a good scheduling algorithm are:
CPU Utilization − A scheduling algorithm should be designed so that CPU remains busy
time. The scheduling algorithm must look to maximize the number of jobs processed per
time unit.
Response time − Response time is the time taken to start responding to the request. A
Turnaround time − Turnaround time refers to the time between the moment of
submission of a job/ process and the time of its completion. Thus how long it takes to
4
Waiting time − It is the time a job waits for resource allocation when several jobs are
Fairness − A good scheduler should make sure that each process gets its fair share of the
CPU.
5
WHAT ARE THE PRIMARY DIFFERENCES BETWEEN NETWORK OPERATING
Below are the differences of the networking operating systems and distributed operating system.
allow a set of computer network to be used but runs on multiple independent CPUs.
together.
5 Remote resources are accessed by either Users access remote resources in the
logging into the desired remote machine or same manner as they access local
REFERENCES
6
1. Omkalammkar999(2019,February 14). What inconveniences can a user face while
https://brainly.in/question/8178181.
2. OS overview Q&A #4. What inconveniences that a user can face while interacting
https://www.tutorialspoint.com/operating_system/os_overview_qa4.htm.
https://www.tutorialspoint.com/operating_system/os_overview_qa2.htm#:~:text=
Question%3A%20How%20Buffering%20can%20improve,sit%20idle%20at
%20any%20moment.
https://www.guru99.com/difference-between-process-and-
thread.html#:~:text=Process%20means%20a%20program%20is,Lightweight%2C
%20whereas%20Threads%20are%20Lightweight.&text=A%20Process%20is
%20mostly%20isolated,share%20data%20with%20each%20other.
https://www.tutorialspoint.com/operating_system/os_process_scheduling.htm#:~:
text=The%20process%20scheduling%20is%20the,of%20a
%20Multiprogramming%20operating%20systems.