Assignment 1
Assignment 1
Assignment 1
Operating System
Write your answers in this document after each questions and don’t forget to
turn in after completing. Answers copied from fellow students will not be
graded. Deadline matters.
1. Explain why all modern systems have a cache memory in addition to main
memory.
Ans: All modern system have cache memory in addition to main memory because
as it is cheap chip-based computer component that makes retrieving data from
the computer's memory more efficient. It acts as a temporary storage area that
the computer's processor can retrieve data from easily.
This temporary storage area, known as a cache, is more readily available to the
processor than the computer's main memory source, typically some form of
Cache memory is sometimes called CPU (central processing unit) memory
because it is typically integrated directly into the CPU chip or placed on a
separate chip that has a separate bus interconnect with the CPU. Therefore, it is
more accessible to the processor, and able to increase efficiency, because it's
physically close to the processor. In order to be close to the processor, cache
memory needs to be much smaller than main memory. Consequently, it has less
storage space.
It is also more expensive than main memory,as it is a more complex chip that
yields higher performance.
* OS as an Extended Machine
generally, computer users sit in front of computer consisting of monitor,
keyboard, mouse and system unit & use parts of computer system. E.g, I/O
device, system unit, memory etc. The computer system is design so that use of
resource to maximize the user is performing. In this case the operating system is
designed mostly for easy with same attention paid for performance, the
performance is important to the user but it does not matter it most of the system
is sitting idle, waiting for the slow i/o speed of the user. The operating system is
design to maximize resource utilization. The program that hides the truth about
the hardware from the programmer and present and a nice simple view a named
file that can be read & written as “operating system”. Operating system shields
the programmer from the interface, the abstraction offers by the operating
system is slower & easier to use than the underlying hardware. The main function
of operating system is to present the user with the equivalent of an extended
machine or virtual machine that is easier to program than underlying hardware.
* OS as a Resource Manager