Вы находитесь на странице: 1из 2

Nama : Mochammad Valdi Fuadi

NIM : 135150401111078
Kelas : Sistem Informasi E
1. What are the three main purposes of an operating system?
answer :
Operating system functions to regulate and supervise the use of the hardware used
in various application programs and multiple users.
Important function of the operating system is a control program that aims to avoid
errors and unnecessary use of computers.
To provide an environment for a computer user to execute programs on computer
hardware in a convenient and efficient manner.

2. What is the main difficulty that a programmer must overcome in writing an


operating system for a real-time environment?
answer :
The main difficulty is to maintain and provide a good operating system to the
user application to the operating system that has been designed as a truly effective
and can last a long time efisen and the corresponding real-time and is not easy to
error when executed.
designer must carefully and meticulously well in designing an operating
system for real-time systems. So that the designer can predict the time that will be
used to execute a system that has been designed. designer should also stand ready
when he designed the operating system that has suddenly error. that the system is
not experiencing more severe failure

3. Keeping in mind the various definitions of operating system, consider whether the
operating system should include applications such as Web browsers and mail
programs. Argue both that it should and that it should not, and support your
answers. !
answer :
in my opinion, operating systems better include applications like web
browsers and mail programs. because the application is already widely known by
the users of the operating system so it can be easier for users to run the operating

system. for example when you use the internet or when you want to send the data.
the web browser and mail program a much-needed function it.
If an operating system does not have software that allows users such as web
browsers and mail programs that interest the user to use the operating system will
be reduced.

4. How does the distinction between kernel mode and user mode function as a
rudimentary form of protection (security) system?
answer :
differences in kernel mode and user mode from function as the basic
protection of the operating system is an instruction can be executed when the CPU
was in kernel mode. Even hardware can be executed when the program is contained
in the kernel mode. when we want to terminate a control, we can turn it on or off
when the CPU was in kernel mode. thus resulting in limited ability of the CPU when
executing user mode. so as to uphold and protect the critical resources.

5. Give two reasons why caches are useful.What problems do they solve? What
problems do they cause? If a cache can be made as large as the device for which it
is caching (for instance, a cache as large as a disk), why not make it that large and
eliminate the device?
answer :
Cache serves as a temporary storage for data or instructions needed by the
processor. In simple terms, a cache is used to speed up data access on the
computer because the cache stores data / information that has been accessed by a
buffer, so lighten the work of the processor. complete the buffer transfer system
between components. if the processor can find the required data cache faster then
not have to wait long process. the data in the cache must be kept consistent with
the data in the component. cache must also be updated when the component has a
value changes as the data. multi-processor system can access the data of more
than one process. a component can be eliminated by the same large cache with
just:
a. cache and the component have the tube capacity-equivalent states
b. the cache is affordable, because faster storage tends to be more expensive.

Вам также может понравиться