Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Give two non-prime numbers between 20 and 40 that are relatively prime to each o

ID: 3837812 • Letter: G

Question


Give two non-prime numbers between 20 and 40 that are relatively prime to each other (fill in the answers): _____ and _____. Preemptive CPU scheduling A. has effect of rapid context switching B. allows equal time to all processes C. lets a process to use as much CPU time as it needs D. has greater context switch overhead than non-preemptive E. is very efficient with very small quantum Pure priority scheduling has the following serious problem: A. some jobs may use more CPU than their need B. bad average turnaround time C. bad average waiting in the ready queue D. some jobs may never get chance to run E. same jobs may exhibit aging What effect will a greater number of cylinders in disk have on rotational latency: A. increase it if the platters are increased B. depends on the radius of the cylinder in the disk C. decrease it if the platters

Explanation / Answer

8. Two integers a and b whose greatest common divisor is equal to one are called relative prime,
that is  gcd(a, b) = 1. So we can take any consecutive non prime numbers between 20 and 40 are

21 and 22 (Two consecutive integers will always be relatively prime.)

9. preemptive CPU sheduling has greater context switch overhead than non-preemptive.

10. Option D

One problem with a pure priority scheduling scheme is that lower-priority processes may suffer starvation. some of the process never get chance o run.

11. Option A

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote