Quiz So Pertemuan 4

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Henilei
H
Henilei
Community Contributor
Quizzes Created: 12 | Total Attempts: 4,719
Questions: 20 | Attempts: 294

SettingsSettingsSettings
Quiz So Pertemuan 4 - Quiz

.


Questions and Answers
  • 1. 

    Penjadwalan dengan prioritas dengan preempsi salah satu ketentuannya adalah Prioritas berdasarkan pendeknya sisa proses

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 2. 

    Penjadwalan dengan prioritas dengan prempsi tidak memperhatikan saat proses tiba atau saat proses selesai

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    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.

    Rate this question:

  • 3. 

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

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    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.

    Rate this question:

  • 4. 

    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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 5. 

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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 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)

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 7. 

    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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 8. 

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

    • A.

      0

    • B.

      2

    • C.

      5

    • D.

      14

    Correct Answer
    D. 14
    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.

    Rate this question:

  • 9. 

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

    • A.

      5

    • B.

      9

    • C.

      14

    • D.

      23

    Correct Answer
    C. 14
    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.

    Rate this question:

  • 10. 

    Berdasarkan proses berikut, lama tanggap proses A yaitu

    • A.

      3

    • B.

      4

    • C.

      14

    • D.

      19

    Correct Answer
    C. 14
    Explanation
    Based on the given process, the time taken for process A to respond is 14.

    Rate this question:

  • 11. 

    Berdasarkan tabel berikut, lama tangap proses C yaitu

    • A.

      9-4=5

    • B.

      14-9=5

    • C.

      23-14=9

    • D.

      23-9=14

    Correct Answer
    C. 23-14=9
    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.

    Rate this question:

  • 12. 

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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 13. 

    Algoritma Round Robin BUKAN termasuk penjadwalan tanpa prioritas dengan preempsi

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    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.

    Rate this question:

  • 14. 

    Algoritma yang menggunakan kuantum waktu yaitu

    • A.

      PTPD

    • B.

      RPTD

    • C.

      Round Robin

    • D.

      Pick Up

    Correct Answer
    C. Round Robin
    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.

    Rate this question:

  • 15. 

    Pada algoritma round robin prosesor akan melayani setiap proses berdasarkan antrian

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 16. 

    Algoritma Round robin disebut juga

    • A.

      Pieces

    • B.

      Time slice

    • C.

      Putar gelang

    • D.

      Quantum leap

    Correct Answer(s)
    B. Time slice
    C. Putar gelang
    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.

    Rate this question:

  • 17. 

    Setelah proses B berikutnya adalah proses (jawab 1 huruf besar)

    Correct Answer(s)
    A
    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.

    Rate this question:

  • 18. 

    Berdasarkan gambar proses berikut, saat rampung proses C adalah

    Correct Answer(s)
    21
    Explanation
    Based on the given process diagram, when process C is completed, the value is 21.

    Rate this question:

  • 19. 

    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

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

  • 20. 

    Rerata 9,6 diperoleh dari 47 dibagi 5 buah proses

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    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.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.