Quiz So Pertemuan 4

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Henilei
H
Henilei
Community Contributor
Quizzes Created: 11 | Total Attempts: 4,565
| Attempts: 294 | Questions: 20
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1. Penjadwalan dengan prioritas dengan preempsi salah satu ketentuannya adalah Prioritas berdasarkan pendeknya sisa proses

Explanation

This statement is true because in priority scheduling with preemption, the priority of a process is determined by the remaining time it needs to complete. The shorter the remaining time, the higher the priority. This means that if a process with a higher priority arrives while a lower priority process is currently executing, the higher priority process will preempt the lower priority process and start executing. Therefore, the statement is correct.

Submit
Please wait...
About This Quiz
Quiz So Pertemuan 4 - Quiz

.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Pada algoritma round robin prosesor akan melayani setiap proses berdasarkan antrian

Explanation

The given statement is true. In the round-robin algorithm, the processor serves each process based on a queue. This means that processes are executed in a cyclic manner, with each process being allocated a fixed time slice or quantum. Once a process's time slice expires, it is moved to the end of the queue and the next process in the queue is given a chance to execute. This ensures that each process gets a fair share of the processor's time and prevents any single process from monopolizing the CPU.

Submit
3. Berikut adalah gambar proses dengan algoritma round robin. Meskipun kuantum waktu 3, tetapi proses C hanya 1 waktu dikerjakan lalu diberhentikan krn pada saat baru 1 waktu proses dikerjakan, proses D tiba dan lama proses D lebih besar dari sisa proses C sehingga proses D bisa mem-preempsi proses C yang sedang berlangsung

Explanation

The explanation for the given correct answer is that in the round-robin algorithm, each process is given a fixed time quantum to execute. In this scenario, even though the time quantum is 3, process C is only able to execute for 1 unit of time before being preempted. This is because process D arrives and its remaining execution time is greater than the remaining execution time of process C. As a result, process D is able to preempt the execution of process C. Therefore, the statement "proses D bisa mem-preempsi proses C yang sedang berlangsung" is true.

Submit
4. Berdasarkan tabel berikut, meskipun lama proses B paling kecil tetapi yang diproses adalah proses A karena proses A tiba paling pertama

Explanation

Based on the given table, even though the processing time of process B is the smallest, process A is actually processed because it arrives first.

Submit
5. "Tiba selama" proses B, C, D diperoleh dari lama proses A dikurangi saat tiba proses masing-masing (B, C, D)

Explanation

The given statement suggests that the arrival time for processes B, C, and D is obtained by subtracting the arrival time of each process (B, C, D) from the arrival time of process A. This means that the arrival time for processes B, C, and D is calculated relative to the arrival time of process A. Therefore, the answer "True" is correct.

Submit
6. Berdasarkan tabel berikut, jika menggunakan algoritma penjadwalan PTDP, pertama-tama proses A dikerjakan, namun karena preempsi maka diberhentikan saat kedua karena saat kedua proses B tiba dan lama proses B lebih kecil dari sisa proses A (pada saat kedua sisa proses A yaitu 5)

Explanation

According to the given table, the PTDP scheduling algorithm first executes process A. However, it is preempted during the second time because process B arrives and the remaining time for process A (which is 5 at the second time) is smaller than the execution time of process B. Therefore, the statement "True" is correct.

Submit
7. Dalam penjadwalan dengan preempsi, jika proses dengan sisa proses yang lebih pendek dari proses yang sedang dikerjakan, maka atas dasar prempsi proses yang sedang dikerjakan akan dikeluarkan dari prosesor

Explanation

In preemption scheduling, if a process with a shorter remaining time than the currently running process arrives, the currently running process will be removed from the processor. This is because preemption allows higher priority processes to interrupt lower priority processes and take control of the processor. Therefore, the statement "True" is correct.

Submit
8. Rerata 9,6 diperoleh dari 47 dibagi 5 buah proses

Explanation

The given statement states that the mean of 9.6 is obtained by dividing 47 by 5 processes. To verify the statement, we can calculate the mean by dividing 47 by 5, which equals 9.4. Since the calculated mean matches the given mean, the statement is true.

Submit
9. Jika menggunakan algoritma penjadwalan PTDP, Berdasarkan tabel bagian atas, pada gambar di bawah setelah proses B selesai yang diproses adalah proses D karena lama proses D sudah tiba saat 5 dan lebih kecil dari sisa proses A

Explanation

The explanation for the given correct answer is that according to the PTDP scheduling algorithm, after process B is completed, the next process to be processed is process D. This is because the remaining time for process A is greater than the arrival time for process D, which is 5. Therefore, process D is chosen to be processed next.

Submit
10. Penjadwalan dengan prioritas dengan prempsi tidak memperhatikan saat proses tiba atau saat proses selesai

Explanation

The given statement is false. Scheduling with priority and preemption does consider the arrival time and completion time of the processes. In this type of scheduling, processes are assigned priorities based on their importance, and the one with the highest priority is executed first. However, if a process with a higher priority arrives while a lower priority process is already running, preemption occurs, and the higher priority process is given the CPU. Therefore, both the arrival time and completion time of processes are taken into account in priority scheduling with preemption.

Submit
11. Pada penjadwalan dengan prioritas dengan prempsi, TIDAK PERLU menghitung lama sisa proses dari semua proses yang ada

Explanation

In scheduling with priority and preemption, it is necessary to calculate the remaining time of all processes in order to determine the priority and make scheduling decisions. Therefore, the statement "TIDAK PERLU menghitung lama sisa proses dari semua proses yang ada" (It is not necessary to calculate the remaining time of all processes) is incorrect. Hence, the correct answer is False.

Submit
12. Berdasarkan proses berikut, lama tanggap proses A yaitu

Explanation

Based on the given process, the time taken for process A to respond is 14.

Submit
13. Algoritma yang menggunakan kuantum waktu yaitu

Explanation

Round Robin adalah algoritma penjadwalan yang menggunakan kuantum waktu. Dalam algoritma ini, setiap proses diberikan waktu eksekusi yang tetap, yang disebut sebagai kuantum waktu. Setelah proses berjalan selama kuantum waktu tersebut, proses tersebut dipindahkan ke belakang antrian dan proses berikutnya diberikan kesempatan untuk dieksekusi. Hal ini memastikan bahwa setiap proses mendapatkan waktu eksekusi yang adil dan mengurangi kemungkinan terjadinya starvation.

Submit
14. Jika menggunakan algoritma penjadwalan PTDP, berdasarkan proses di bawah ini, maka saat mulai proses C yaitu 

Explanation

The given sequence represents the arrival time of processes in a scheduling algorithm. The process C starts at time 14 because it is the next available time slot after the previous process has finished. The algorithm follows a first-come-first-serve approach, where processes are executed in the order they arrive. Therefore, process C starts at time 14.

Submit
15. Berdasarkan tabel berikut, lama tangap proses C yaitu

Explanation

The given table shows the time intervals for different processes. To find the duration of process C, we subtract the starting time of C (14) from the ending time of C (23). This calculation gives us a duration of 9 units of time.

Submit
16. Jika menggunakan algoritma penjadwalan PTDP, berdasarkan tabel berikut, saat rampung proses A yaitu

Explanation

The given table represents the completion times of different processes in the PTDP scheduling algorithm. The completion time of process A is 14, which means that it finishes its execution at time 14.

Submit
17. Algoritma Round Robin BUKAN termasuk penjadwalan tanpa prioritas dengan preempsi

Explanation

The given statement is false. The Round Robin algorithm is a scheduling algorithm that is used in operating systems to manage processes. It is a preemptive scheduling algorithm, which means that it can interrupt a running process and allocate the CPU to another process. Therefore, it does include preemption and is not a non-preemptive scheduling algorithm.

Submit
18. Setelah proses B berikutnya adalah proses (jawab 1 huruf besar)

Explanation

The given question states that after process B, the next process is represented by the letter "A". This implies that the sequential order of the processes is being asked. Therefore, the correct answer is "A" because it is the process that follows after B.

Submit
19. Algoritma Round robin disebut juga

Explanation

The correct answer is "Time slice" and "Putar gelang". The term "Time slice" refers to the amount of time allocated to each process in a round-robin scheduling algorithm. It determines how long each process gets to execute before being preempted. On the other hand, "Putar gelang" is the Indonesian translation for "Round robin", which is a scheduling algorithm that cyclically assigns a time slice to each process in the system. Thus, both terms are related to the concept of round-robin scheduling and explain different aspects of it.

Submit
20. Berdasarkan gambar proses berikut, saat rampung proses C adalah

Explanation

Based on the given process diagram, when process C is completed, the value is 21.

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 05, 2020
    Quiz Created by
    Henilei
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Penjadwalan dengan prioritas dengan preempsi salah satu ketentuannya...
Pada algoritma round robin prosesor akan melayani setiap proses...
Berikut adalah gambar proses dengan algoritma round robin. Meskipun...
Berdasarkan tabel berikut, meskipun lama proses B paling kecil tetapi...
"Tiba selama" proses B, C, D diperoleh dari lama proses A...
Berdasarkan tabel berikut, jika menggunakan algoritma penjadwalan...
Dalam penjadwalan dengan preempsi, jika proses dengan sisa proses yang...
Rerata 9,6 diperoleh dari 47 dibagi 5 buah proses
Jika menggunakan algoritma penjadwalan PTDP, Berdasarkan tabel bagian...
Penjadwalan dengan prioritas dengan prempsi tidak memperhatikan saat...
Pada penjadwalan dengan prioritas dengan prempsi, TIDAK PERLU...
Berdasarkan proses berikut, lama tanggap proses A yaitu
Algoritma yang menggunakan kuantum waktu yaitu
Jika menggunakan algoritma penjadwalan PTDP, berdasarkan proses di...
Berdasarkan tabel berikut, lama tangap proses C yaitu
Jika menggunakan algoritma penjadwalan PTDP, berdasarkan tabel...
Algoritma Round Robin BUKAN termasuk penjadwalan tanpa prioritas...
Setelah proses B berikutnya adalah proses (jawab 1 huruf besar)
Algoritma Round robin disebut juga
Berdasarkan gambar proses berikut, saat rampung proses C adalah
Alert!

Advertisement