OPERATING SYSTEM
BY : Group 7
1.
Ryan
Saputra
2.
Untari
Safitri Hidayati
Dosen Pembimbing : INDRA GRIHA
TOFIK ISA S.T.,M.Kom
POLITEKNIK
NEGERI SRIWIJAYA
D4-MANAJEMEN
INFORMATIKA
2020
Operation
system
The Exercise :
20. Some CPUs provide for more than
two modes of operation. What are two possible uses of these multiple modes?
Answers :
In English :
Two operating system modes:
1.
User à Execution is controlled
by the user.
2.
Monitor / Kernel / System Mode àExecution is controlled by the operating system.
At boot time, the
hardware works on the mode monitor and after the operating system is loaded it
will start to enter user mode. When a trap or intrusion occurs, the hardware
will switch back from user mode to monitor mode (state changes to bit 0) and
will return to user mode if the operating system takes over computer processes
and controls (the state will change to bit 1).
In Indonesia :
Dua mode sistem operasi:
1.
Pengguna
à Eksekusi dikendalikan oleh pengguna.
2.
Mode
Monitor / Kernel / Sistem à Eksekusi dikendalikan oleh sistem
operasi.
Pada saat boot, perangkat keras
bekerja pada monitor mode dan setelah sistem operasi dimuat, perangkat akan
mulai masuk ke mode pengguna. Ketika jebakan atau gangguan terjadi, perangkat
keras akan beralih dari mode pengguna ke mode monitor (status berubah menjadi
bit 0) dan akan kembali ke mode pengguna jika sistem operasi mengambil alih
proses dan kontrol komputer (status akan berubah menjadi bit 1) .
21. Define the essential properties of the following
types of operating systems:
a.
Batch
b.
Interactive
c.
Time sharing
d.
Real time
e.
Network
f.
Parallel
g.
Distributed
h.
Clustered
i.
Handheld
Answers :
In English :
a.
Batch. Jobs with similar needs are batched together and run
through the computer as a group by an
operator or automatic job sequencer. Performance is increased by attempting to
keep CPU and I/O devices busy at all times through buffering, off-line
operation, spooling, and multiprogramming.
Batch is good for executing large jobs that need little interaction; it can be
submitted and picked up later.
b.
Interactive. This system is composed of many short transactions
where the results of the next transaction
may be unpredictable. Response time needs to be short (seconds) since
the user submits and waits for the result.
c.
Time-sharing. This system uses CPU scheduling and multiprogramming
to provide economical interactive use of a system. The CPU switches rapidly
from one user to another. Instead of having a job defined by spooled card
images, each program reads its next control card from the terminal, and output
is normally printed immediately to the screen.
d.
Real-time. Often used in a dedicated application, this system
reads information from sensors and must respond within a fixed amount of time
to ensure correct performance.
e.
Network. It provides
operating system features across a network such as file-sharing.
f.
Parallel (SMP). Used in systems where there are multiple CPU's each
running the same copy of the operating system. Communication takes place across
the system bus.
g.
Distributed. This system distributes computation among several
physical processors. The processors do not share a memory or a clock. Instead,
each processor has its local memory. They communicate with each other through
various communication lines, such as a high-speed bus or local area network.
h.
Clustered. A clustered system combines multiple computers into a
single system to perform computational tasks distributed across the cluster.
i.
Handheld. A small computer system that performs simple tasks
such as calendars, email, and web browsing. Handheld systems differ from
traditional desktop systems with smaller memory and display screens and slower
processors.
In Indonesia :
a.
Batch. Pekerjaan dengan kebutuhan serupa dikumpulkan bersama
dan dijalankan melalui komputer sebagai suatu kelompok oleh operator atau
sequencer pekerjaan otomatis. Performa ditingkatkan dengan mencoba membuat
perangkat CPU dan I / O sibuk setiap saat melalui buffering, operasi off-line,
spooling, dan multiprogramming. Batch baik untuk mengeksekusi pekerjaan besar
yang membutuhkan sedikit interaksi; itu bisa diserahkan dan diambil nanti.
b.
Interactive.
Sistem ini terdiri dari banyak transaksi
singkat di mana hasil transaksi berikutnya mungkin tidak dapat diprediksi.
Waktu respons harus singkat (detik) karena pengguna mengirim dan menunggu
hasilnya.
c.
Time-sharing. Sistem ini menggunakan penjadwalan dan
multiprogramming CPU untuk menyediakan penggunaan interaktif sistem yang
ekonomis. CPU beralih dengan cepat dari satu pengguna ke pengguna lainnya.
Alih-alih memiliki pekerjaan yang ditentukan oleh gambar kartu spool, setiap
program membaca kartu kontrol berikutnya dari terminal, dan output biasanya
dicetak segera ke layar.
d.
Real-time. Sering digunakan dalam aplikasi khusus, sistem ini
membaca informasi dari sensor dan harus merespons dalam waktu yang tetap untuk
memastikan kinerja yang benar.
e.
Network. Ini menyediakan fitur sistem operasi di jaringan
seperti berbagi file.
f.
Parallel (SMP). Digunakan dalam sistem di mana ada beberapa CPU yang
menjalankan salinan sistem operasi yang sama. Komunikasi terjadi di seberang
bus sistem.
g.
Distributed. Sistem ini mendistribusikan komputasi di antara
beberapa prosesor fisik. Prosesor tidak berbagi memori atau jam. Sebagai
gantinya, setiap prosesor memiliki memori lokal. Mereka berkomunikasi satu sama
lain melalui berbagai jalur komunikasi, seperti bus berkecepatan tinggi atau
jaringan area lokal.
h.
Clustered. Sistem berkerumun menggabungkan beberapa komputer menjadi satu sistem
untuk melakukan tugas komputasi yang didistribusikan di seluruh cluster.
i.
Handheld. Sistem komputer kecil yang melakukan tugas-tugas
sederhana seperti kalender, email, dan penelusuran web. Sistem genggam berbeda
dari sistem desktop tradisional dengan memori yang lebih kecil dan layar
tampilan dan prosesor yang lebih lambat.
22. Describe the differences between symmetric and
asymmetric multiprocessing. What are
three advantages and one disadvantage of multiprocessor systems?
Answers :
In
English :
The difference between symmetric and
asymmetric multiprocessing is that in asymmetric multiprocessing the master
processor controls the system. The other processes look to the master for
instruction or have predefined tasks. In asymmetric processing, all processors
are peers; each processor performs all tasks.
The three advantages of multiprocessor
systems are increased throughput, less expensive than multiple single-processor
systems and increased reliability. The is a disadvantage is the multiprocessor
system requires increased I/O control to ensure that data reaches the right
processor.
In Indonesia :
Perbedaan antara
multiprosesor simetris dan asimetris adalah bahwa dalam multiprosesor
asimetris, prosesor master mengendalikan sistem. Proses lain mencari master
untuk instruksi atau memiliki tugas yang telah ditentukan. Dalam pemrosesan
asimetris, semua prosesor adalah rekan; setiap prosesor melakukan semua tugas.
Tiga keuntungan dari
sistem multiprosesor adalah peningkatan throughput, lebih murah daripada
beberapa sistem prosesor tunggal dan peningkatan keandalan. Kerugiannya adalah
sistem multiprosesor membutuhkan peningkatan kontrol I / O untuk memastikan
bahwa data mencapai prosesor yang tepat.